Fix indentation.
[glibc.git] / ChangeLog
blob4bda9348d3f5422928df41d0a01df2a214d1e5fa
1 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
3         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4         Fix indentation.
6 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15             Jakub Wilk  <jwilk@debian.org>
17         [BZ #19347]
18         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19         to change the group of the device to the tty group.
21 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23         Split large string section; add truncation advice
24         * manual/examples/strncat.c: Remove.
25         This example was misleading, as the code would have undefined
26         behavior if "hello" was longer than SIZE.  Anyway, the manual
27         shouldn't encourage strncpy+strncat for this sort of thing.
28         * manual/string.texi (Copying Strings and Arrays): Split into
29         three sections Copying Strings and Arrays, Concatenating Strings,
30         and Truncating Strings, as this section was way too long.  All
31         cross-referenced changed.  Add advice about string-truncation
32         functions.  Remove misleading strncat example.
34 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
36         * manual/nss.texi (NSS Modules Interface): Document
37         NSS_STATUS_NOTFOUND and SUCCESS.
39 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
41         [BZ 18568]
42         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
43         201505L, for Unicode 8.
45 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
47         * locale/C-translit.h: Regenerate.
49 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
51         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
52         and U+0153.
54 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
56         [BZ #19351]
57         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
58         expanding log(1+z), compare z rather than its square with epsilon
59         to determine when to avoid evaluating the expansion.
61         [BZ #19350]
62         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
63         Increase overflow threshold.
65         [BZ #19349]
66         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
67         when small.
69         * sysdeps/unix/sysv/linux/i386/kernel-features.h
70         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
71         New macro.
72         [__LINUX_KERNEL_VERSION >= 0x040300]
73         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
74         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
75         Likewise.
76         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
77         Likewise.
78         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
79         Likewise.
80         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
81         Likewise.
82         [__LINUX_KERNEL_VERSION >= 0x040300]
83         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
84         [__LINUX_KERNEL_VERSION >= 0x040300]
85         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
86         [__LINUX_KERNEL_VERSION >= 0x040300]
87         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
88         [__LINUX_KERNEL_VERSION >= 0x040300]
89         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
90         [__LINUX_KERNEL_VERSION >= 0x040300]
91         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
92         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
93         Likewise.
94         [__LINUX_KERNEL_VERSION >= 0x040300]
95         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
96         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
97         Likewise.
98         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
99         Likewise.
100         [__LINUX_KERNEL_VERSION >= 0x040300]
101         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
102         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
103         Likewise.
104         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
105         Likewise.
106         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
108         Likewise.
109         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
110         Likewise.
111         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
112         Likewise.
113         [__LINUX_KERNEL_VERSION >= 0x040300]
114         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
116         Likewise.
117         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
118         Likewise.
119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
120         Likewise.
121         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
122         Likewise.
123         [__LINUX_KERNEL_VERSION >= 0x040300]
124         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
125         [__LINUX_KERNEL_VERSION >= 0x040300]
126         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
127         [__LINUX_KERNEL_VERSION >= 0x040300]
128         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
129         [__LINUX_KERNEL_VERSION >= 0x040300]
130         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
131         [__LINUX_KERNEL_VERSION >= 0x040300]
132         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
134         Likewise.
135         [__LINUX_KERNEL_VERSION >= 0x040300]
136         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
138         Likewise.
139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
140         Likewise.
141         [__LINUX_KERNEL_VERSION >= 0x040300]
142         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
143         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
144         Likewise.
145         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
146         Likewise.
147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
148         (__ASSUME_SOCKET_SYSCALL): Likewise.
149         (__ASSUME_BIND_SYSCALL): Likewise.
150         (__ASSUME_CONNECT_SYSCALL): Likewise.
151         (__ASSUME_LISTEN_SYSCALL): Likewise.
152         (__ASSUME_ACCEPT_SYSCALL): Likewise.
153         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
154         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
155         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
156         (__ASSUME_SEND_SYSCALL): Likewise.
157         (__ASSUME_SENDTO_SYSCALL): Likewise.
158         (__ASSUME_RECV_SYSCALL): Likewise.
159         (__ASSUME_RECVFROM_SYSCALL): Likewise.
160         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
161         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
162         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
163         (__ASSUME_SENDMSG_SYSCALL): Likewise.
164         (__ASSUME_RECVMSG_SYSCALL): Likewise.
165         * sysdeps/unix/sysv/linux/sh/kernel-features.h
166         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
167         Likewise.
168         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
169         Likewise.
170         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
171         Likewise.
172         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
173         Likewise.
174         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
175         Likewise.
176         [__LINUX_KERNEL_VERSION >= 0x020625]
177         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
178         [__LINUX_KERNEL_VERSION >= 0x020625]
179         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
180         [__LINUX_KERNEL_VERSION >= 0x020625]
181         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
182         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
183         Likewise.
184         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
185         Likewise.
186         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
187         Likewise.
188         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
189         Likewise.
190         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
191         Likewise.
192         [__LINUX_KERNEL_VERSION >= 0x020625]
193         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
194         [__LINUX_KERNEL_VERSION >= 0x020625]
195         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
196         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
197         Likewise.
198         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
199         Likewise.
201 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
203         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
204         record the current if the current ABI and CPU support the FP64
205         extension.
206         (has-modd-spreg): Define to record the current if the current ABI and
207         CPU support 32-bit floating point values in odd FPU registers.
208         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
209         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
210         $(has-modd-spreg) equals yes.
211         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
212         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
213         $(has-modd-spreg) equal yes.
215 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
217         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
218         basename.
220 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
222         * benchtests/Makefile (bench-math): Move ffs and ffsll...
223         (bench-string): ... here.
224         (bench): Add bench-string.
225         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
226         to *-benchset to reflect what they are.
227         (benchset): Adjust.
229         * benchtests/sincos-inputs: Add inputs from sin-inputs and
230         cos-inputs.
232 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
234         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
235         __attribute__ ((__simd__)) for vector math function declarations.
237 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
239         Fix typo in strncat, wcsncat manual entries
240         * manual/string.texi (Copying and Concatenation): Fix typos in
241         sample implementations of strncat and wcsncat, by having them use
242         the old value of the destination length, not the new one.
244 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
246         [BZ #16961]
247         [BZ #16962]
248         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
249         string on the stack for strtod.
250         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
251         a string on the stack for strtof.
252         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
253         constructing a string on the stack for strtold.
254         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
255         __strtold_nan to GLIBC_PRIVATE.
256         * math/test-nan-overflow.c: New file.
257         * math/test-nan-payload.c: Likewise.
258         * math/Makefile (tests): Add test-nan-overflow and
259         test-nan-payload.
261 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
263         Consistency about byte vs character in string.texi
264         * manual/string.texi (String and Array Utilities):
265         Distinguish more carefully among bytes, multibyte characters,
266         and wide characters.  Use "byte" when talking about C 'char',
267         to distinguish it more clearly from multibyte characters.
268         Say "wide character" or "multibyte character" instead of
269         "character", when a wide or multibyte character is intended.
270         Similarly for "multibyte string" versus "string".
271         Define these terms more carefully.
273 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
275         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
276         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
277         Likewise.
278         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
279         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
280         * sysdeps/sh/math_private.h: New file.
281         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
282         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
283         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
284         long double function name.
285         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
286         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
287         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
289         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
291         Remove __finitel, __isinfl, and __isnanl.
292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
293         Likewise.
294         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
296         Remove __finitel.
297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
298         Likewise.
299         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
301 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
303         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
304         installed libmvec_nonshared.a.
306 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
308         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
309         (sysdep_routines): Likewise.
310         (sysdep-rtld-routines): Likewise.
311         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
312         [$(subdir) = nptl](tests-static): test-get_hwcap-static
313         * sysdeps/powerpc/Versions: Added new
314         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
315         * sysdeps/powerpc/hwcapinfo.c: New file.
316         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
317         and parse hwcap, hwcap2 and platform number information.
318         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
319         to store HWCAP+HWCAP2 and platform number.
320         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
321         for HWCAP+HWCAP2 and platform number in the TCB.
322         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
323         the HWCAP, HWCAP2 and platform number in the TCB.
324         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
325         (TLS_INIT_TP): Included calls to add the hwcap and
326         at_platform values in the TCB in TP initialization.
327         (TLS_DEFINE_INIT_TP): Likewise.
328         (THREAD_GET_HWCAP): New macro.
329         (THREAD_SET_HWCAP): Likewise.
330         (THREAD_GET_AT_PLATFORM): Likewise.
331         (THREAD_SET_AT_PLATFORM): Likewise.
332         * sysdeps/powerpc/powerpc32/dl-machine.h:
333         (dl_platform_init): New function that calls
334         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
335         powerpc32.
336         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
337         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
338         this functionality, static linking case.
339         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
340         linking case.
341         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
342         __parse_hwcap_and_convert_at_platform for the static linking case.
343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
344         Included the new __parse_hwcap_and_convert_at_platform symbol in the
345         ABI list for GLIBC 2.23.
346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
347         Likewise.
348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
349         Likewise.
351 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
353         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
354         * configure: Regenerate.
355         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
356         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
358 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
360         * iconvdata/ibm930.c: Add comment explaining encoding uses.
361         * iconvdata/ibm933.c: Likewise.
362         * iconvdata/ibm935.c: Likewise.
363         * iconvdata/ibm937.c: Likewise.
364         * iconvdata/ibm939.c: Likewise.
366 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
368         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
369         pthread_join.
370         * nptl/tst-cancel21.c (tf): Likewise.
372 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
374         [BZ #19313]
375         * bits/typesizes.h (__CPU_MASK_TYPE): New.
376         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
377         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
378         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
379         Likewise.
380         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
381         Likewise.
382         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
383         Likewise.
384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
385         Likewise.
386         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
387         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
388         unsigned long int with __CPU_MASK_TYPE.
390 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
392         * sysdeps/aarch64/libm-test-ulps: Regenerated.
394 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
396         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
397         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
398         t512.x.
399         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
401 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
403         [BZ #19214]
404         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
405         argument to return extended model.  Update family and model
406         with extended family and model when family == 0x0f.
407         (init_cpu_features): Updated.
409 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
411         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
412         signed off_t, so 32bit bigger than 2GiB values are fine actually.
414         * sysdeps/mach/hurd/mmap64.c: New file.
416 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
418         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
419         rights for its main user thread in NEWTASK.
421 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
423         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
424         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
426 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
428         [BZ #14259]
429         * Makeconfig: Rename localedir to complocaledir.
430         Rename inst_localedir to inst_complocaledir.
431         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
432         * config.make.in: Use complocaledir and libc_cv_complocaledir.
433         * configure.ac: Use libc_cv_complocaledir.
434         * configure: Regenerate.
435         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
436         -DCOMPLOCALEDIR.
437         * locale/findlocale.c: Use COMPLOCALEDIR.
438         * locale/loadarchive.c: Likewise.
439         * locale/programs/locale.c: Likewise.
440         * locale/programs/localedef.c: Likewise.
441         * locale/programs/locarchive.c: Likewise.
442         * localedata/Makefile: Use inst_complocaledir.
443         * sysdeps/gnu/configure: Regenerate.
444         * sysdeps/hppa/configure: Regenerate.
445         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
446         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
448         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
449         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
450         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
451         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
453 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
455         [BZ #19058]
456         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
457         AS_NEEDED.
458         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
459         workaround.
460         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
461         libmvec-static-only-routines): Added new file.
462         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
464 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
466         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
467         of interrupted RPC instead of restoring it.
469         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
470         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
471         libc_hidden_def.
472         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
473         into initialized data instead of common. Define rtld_hidden_data_def.
474         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
475         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
476         libc_hidden_def.
477         (if_freenameindex): Add libc_hidden_weak.
478         (if_nameindex): Add libc_hidden_weak.
479         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
480         __open64.
481         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
482         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
483         * sysdeps/mach/nanosleep.c: Include <time.h>
484         (__nanosleep): Rename to __libc_nanosleep.
485         (__nanosleep): Add weak_alias.
486         (nanosleep): Update alias.
488 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
490         * stdlib/strtod_nan.c: New file.
491         * stdlib/strtod_nan_double.h: Likewise.
492         * stdlib/strtod_nan_float.h: Likewise.
493         * stdlib/strtod_nan_main.c: Likewise.
494         * stdlib/strtod_nan_narrow.h: Likewise.
495         * stdlib/strtod_nan_wide.h: Likewise.
496         * stdlib/strtof_nan.c: Likewise.
497         * stdlib/strtold_nan.c: Likewise.
498         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
499         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
500         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
501         * wcsmbs/wcstod_nan.c: Likewise.
502         * wcsmbs/wcstof_nan.c: Likewise.
503         * wcsmbs/wcstold_nan.c: Likewise.
504         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
505         strtold_nan.
506         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
507         wcstof_nan.
508         * include/stdlib.h (__strtof_nan): Declare and use
509         libc_hidden_proto.
510         (__strtod_nan): Likewise.
511         (__strtold_nan): Likewise.
512         (__wcstof_nan): Likewise.
513         (__wcstod_nan): Likewise.
514         (__wcstold_nan): Likewise.
515         * include/wchar.h (____wcstoull_l_internal): Declare.
516         * stdlib/strtod_l.c: Do not include <ieee754.h>.
517         (____strtoull_l_internal): Remove declaration.
518         (STRTOF_NAN): Define macro.
519         (SET_MANTISSA): Remove macro.
520         (STRTOULL): Likewise.
521         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
522         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
523         (STRTOF_NAN): Define macro.
524         (SET_MANTISSA): Remove macro.
525         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
526         (SET_MANTISSA): Remove macro.
527         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
528         macro.
529         (SET_MANTISSA): Remove macro.
530         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
531         macro.
532         (SET_MANTISSA): Remove macro.
533         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
534         (SET_MANTISSA): Remove macro.
535         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
536         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
537         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
539         [BZ #19266]
540         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
541         upper case and lower case letters inside NAN(), not using TOLOWER.
542         * stdlib/tst-strtod-nan-locale-main.c: New file.
543         * stdlib/tst-strtod-nan-locale.c: Likewise.
544         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
545         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
546         Depend on $(gen-locales).
547         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
548         * wcsmbs/tst-wcstod-nan-locale.c: New file.
549         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
550         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
551         Depend on $(gen-locales).
552         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
554 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
556         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
558         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
560         __finitel, __isinfl, and __isnanl.
561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
562         Likewise.
563         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
565         __finitel.
566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
567         Likewise.
568         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
570 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
572         * malloc/memusage.c (me): Remove redundant getenv call.
574 2015-10-24  Florian Weimer  <fweimer@redhat.com>
576         [BZ #19143]
577         [BZ #19164]
578         * nptl/check-cpuset.h: Remove.
579         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
580         Remove CPU set size check.
581         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
582         Likewise.
583         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
584         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
585         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
586         (__pthread_setaffinity_new): Remove CPU set size check.
587         * sysdeps/unix/sysv/linux/sched_setaffinity.c
588         (__kernel_cpumask_size): Remove.
589         (__sched_setaffinity_new): Remove CPU set size check.
590         * manual/threads.texi (Default Thread Attributes): Remove stale
591         reference to check_cpuset_attr, determine_cpumask_size in comment.
592         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
593         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
594         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
595         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
596         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
597         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
598         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
599         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
600         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
601         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
602         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
603         skeleton test file.
604         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
605         tst-affinity-pid.
607 2015-11-24  Florian Weimer  <fweimer@redhat.com>
609         * scripts/update-abilist.sh: New file.
610         * Makefile (+subdir_targets): Add subdir_update-all-abi.
611         * Makerules (update-all-abi-%, update-all-abi)
612         (subdir_update-all-abi): New targets.
613         * elf/Makefile (update-all-abi): New target.
615 2015-11-24  Florian Weimer  <fweimer@redhat.com>
617         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
618         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
619         (__libc_lock_define_initialized): Use it.
620         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
621         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
622         * malloc/malloc.c (main_arena): Likewise.
623         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
624         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
626 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
629         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
630         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
631         (PTRACE_O_MASK): Update value.
632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
633         New value in enum __ptrace_setoptions.
634         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
635         (PTRACE_O_MASK): Update value.
636         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
637         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
638         (PTRACE_O_MASK): Update value.
639         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
640         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
641         (PTRACE_O_MASK): Update value.
642         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
643         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
644         (PTRACE_O_MASK): Update value.
645         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
646         New value in enum __ptrace_setoptions.
647         (PTRACE_O_MASK): Update value.
648         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
649         New value in enum __ptrace_setoptions.
650         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
651         (PTRACE_O_MASK): Update value.
653         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
654         New macro.
655         (PACKET_AUXDATA): Likewise.
656         (PACKET_ORIGDEV): Likewise.
657         (PACKET_VERSION): Likewise.
658         (PACKET_HDRLEN): Likewise.
659         (PACKET_RESERVE): Likewise.
660         (PACKET_TX_RING): Likewise.
661         (PACKET_LOSS): Likewise.
662         (PACKET_VNET_HDR): Likewise.
663         (PACKET_TX_TIMESTAMP): Likewise.
664         (PACKET_TIMESTAMP): Likewise.
665         (PACKET_FANOUT): Likewise.
666         (PACKET_TX_HAS_OFF): Likewise.
667         (PACKET_QDISC_BYPASS): Likewise.
668         (PACKET_ROLLOVER_STATS): Likewise.
669         (PACKET_FANOUT_DATA): Likewise.
670         (PACKET_MR_UNICAST): Likewise.
672         [BZ #19242]
673         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
674         (TOUPPER): Likewise.
675         * stdlib/tst-strtol-locale-main.c: New file.
676         * stdlib/tst-strtol-locale.c: Likewise.
677         * stdlib/Makefile (tests): Add tst-strtol-locale.
678         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
679         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
680         Depend on $(gen-locales).
681         * wcsmbs/tst-wcstol-locale.c: New file.
682         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
683         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
684         tr_TR.ISO-8859-9.
685         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
686         Depend on $(gen-locales).
688 2015-11-20  Roland McGrath  <roland@hack.frob.com>
690         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
691         __glibc_likely instead of __builtin_expect.  After falling back to
692         dyncode_create in a non-ET_DYN case, use the allocate_code_data
693         system interface to register the code pages as occupied.
695 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
697         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
698         [!ARM_MATH_PRIVATE_H].
699         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
700         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
701         [!HPPA_MATH_PRIVATE_H].
702         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
703         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
704         to [!I386_MATH_PRIVATE_H].
705         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
706         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
707         Change guard to [!M68K_MATH_PRIVATE_H].
708         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
709         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
710         guard to [!MICROBLAZE_MATH_PRIVATE_H].
711         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
712         macro.
713         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
714         [!MIPS_MATH_PRIVATE_H].
715         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
716         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
717         [!NIO2_MATH_PRIVATE_H].
718         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
719         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
720         [!TILE_MATH_PRIVATE_H].
721         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
723         [BZ #15421]
724         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
725         initialize with 0 and define as weak alias of __signgam.
726         * include/math.h [!_ISOMAC] (__signgam): Declare.
727         * math/Makefile (libm-calls): Add w_lgamma_compat.
728         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
729         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
730         test-signgam-ullong-init.
731         (tests-static): Add test-signgam-uchar-static,
732         test-signgam-uchar-init-static, test-signgam-uint-static,
733         test-signgam-uint-init-static, test-signgam-ullong-static and
734         test-signgam-ullong-init-static.
735         (CFLAGS-test-signgam-uchar.c): New variable.
736         (CFLAGS-test-signgam-uchar-init.c): Likewise.
737         (CFLAGS-test-signgam-uchar-static.c): Likewise.
738         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
739         (CFLAGS-test-signgam-uint.c): Likewise.
740         (CFLAGS-test-signgam-uint-init.c): Likewise.
741         (CFLAGS-test-signgam-uint-static.c): Likewise.
742         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
743         (CFLAGS-test-signgam-ullong.c): Likewise.
744         (CFLAGS-test-signgam-ullong-init.c): Likewise.
745         (CFLAGS-test-signgam-ullong-static.c): Likewise.
746         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
747         * math/Versions (libm): Add GLIBC_2.23.
748         * math/lgamma-compat.h: New file.
749         * math/test-signgam-main.c: Likewise.
750         * math/test-signgam-uchar-init-static.c: Likewise.
751         * math/test-signgam-uchar-init.c: Likewise.
752         * math/test-signgam-uchar-static.c: Likewise.
753         * math/test-signgam-uchar.c: Likewise.
754         * math/test-signgam-uint-init-static.c: Likewise.
755         * math/test-signgam-uint-init.c: Likewise.
756         * math/test-signgam-uint-static.c: Likewise.
757         * math/test-signgam-uint.c: Likewise.
758         * math/test-signgam-ullong-init-static.c: Likewise.
759         * math/test-signgam-ullong-init.c: Likewise.
760         * math/test-signgam-ullong-static.c: Likewise.
761         * math/test-signgam-ullong.c: Likewise.
762         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
763         wrapper of w_lgamma_main.c.
764         * math/w_lgamma_compat.c: New file.
765         * math/w_lgamma_compatf.c: Likewise.
766         * math/w_lgamma_compatl.c: Likewise.
767         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
768         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
769         defining compatibility symbols.
770         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
771         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
772         wrapper of w_lgammaf_main.c.
773         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
774         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
775         defining compatibility symbols.
776         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
777         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
778         wrapper of w_lgammal_main.c.
779         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
780         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
781         defining compatibility symbols.
782         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
783         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
784         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
785         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
786         <lgamma-compat.h>.
787         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
788         (__ieee754_gamma): Define as alias.
789         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
790         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
791         <lgamma-compat.h>.
792         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
793         (__ieee754_gammaf): Define as alias.
794         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
795         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
796         <lgamma-compat.h>.
797         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
798         (__ieee754_gammal): Define as alias.
799         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
800         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
801         <math/w_lgamma_compat.c>.
802         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
803         Define as alias of __lgamma_compat and use in defining lgammal.
804         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
805         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
806         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
807         (USE_AS_COMPAT): New macro.
808         (LGAMMA_OLD_VER): Undefine and redefine.
809         (lgammal): Do not define here.
810         (gammal): Only define here if [GAMMA_ALIAS].
811         * conform/linknamespace.pl (@whitelist): Remove signgam.
812         * sysdeps/nacl/libm.abilist: Update.
813         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
814         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
815         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
816         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
817         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
818         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
819         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
820         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
821         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
822         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
823         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
824         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
826         Likewise.
827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
828         Likewise.
829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
830         Likewise.
831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
832         Likewise.
833         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
839         Likewise.
840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
841         Likewise.
842         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
843         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
846 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
848         [BZ #16364]
849         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
850         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
852 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
854         * sysdeps/s390/fpu/bits/mathinline.h:
855         Use __asm__ [__volatile__] instead of asm [volatile].
856         * sysdeps/s390/abort-instr.h: Likewise.
857         * sysdeps/s390/atomic-machine.h: Likewise.
858         * sysdeps/s390/bits/string.h: Likewise.
859         * sysdeps/s390/dl-tls.h: Likewise.
860         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
861         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
862         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
863         * sysdeps/s390/fpu/fesetround.c: Likewise.
864         * sysdeps/s390/fpu/fpu_control.h: Likewise.
865         * sysdeps/s390/fpu/s_fma.c: Likewise.
866         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
867         * sysdeps/s390/memusage.h: Likewise.
868         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
869         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
870         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
871         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
872         * sysdeps/s390/nptl/tls.h: Likewise.
873         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
874         * sysdeps/s390/s390-32/backtrace.c: Likewise.
875         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
876         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
877         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
878         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
879         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
880         * sysdeps/s390/s390-64/backtrace.c: Likewise.
881         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
882         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
883         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
884         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
885         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
886         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
887         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
888         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
889         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
890         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
891         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
893         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
895         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
897 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
898             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
900         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
901         Add lwarx hint, and use macro for acquire instruction.
902         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
903         Likewise.
904         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
905         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
906         update to use new atomic macros.
908 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
910         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
911         (__lll_trylock_elision): Fix setting of adapt_count.
912         * sysdeps/unix/sysv/linux/powerpc/htm.h
913         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
914         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
915         (_ABORT_SYSCALL): Renumber, and clarify definition.
916         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
918 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
920         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
921         after system headers to prevent MIN/MAX redefinition.  Define
922         HAVE_ALLOCA to preserve builtin alloca usage.
924 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
926         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
927         static and don't set or restore rounding.
928         (__cos)[IN_SINCOS]: Likewise.
929         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
930         (__sincos): Set and restore rounding mode.  Remove check for infinite
931         or NaN input.
933         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
935         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
936         as used.
938 2015-11-16  Florian Weimer  <fweimer@redhat.com>
940         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
942 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
944         * config.make.in (have-glob-dat-reloc): New.
945         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
946         target supports GLOB_DAT relocaton. AC_SUBST.
947         * configure: Regenerated.
948         * elf/Makefile (tests): Add tst-prelink.
949         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
950         (tst-prelink-ENV): New.
951         ($(objpfx)tst-prelink-conflict.out): Likewise.
952         ($(objpfx)tst-prelink-cmp.out): Likewise.
953         * sysdeps/x86/tst-prelink.c: Moved to ...
954         * elf/tst-prelink.c: Here.
955         * sysdeps/x86/tst-prelink.exp: Moved to ...
956         * elf/tst-prelink.exp: Here.
957         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
958         (tst-prelink-ENV): Removed.
959         ($(objpfx)tst-prelink-conflict.out): Likewise.
960         ($(objpfx)tst-prelink-cmp.out): Likewise.
961         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
963 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
965         [BZ #14551]
966         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
967         (__mpn_construct_long_double): If high part overflows to infinity,
968         set errno and recompute overflowed result of the correct sign.
969         * sysdeps/ieee754/ldbl-128ibm/Makefile
970         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
971         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
972         $(libm).
973         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
975 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
977         [BZ #15479]
978         [BZ #19238]
979         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
980         floating-point state after first operation on input.  Restore full
981         state rather than just rounding mode.
982         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
983         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
984         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
986         [BZ #19235]
987         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
988         add 0.5 to integer arguments.
989         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
990         Likewise.
991         (.LC2): New object.
993 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
995         * scripts/pylintrc (reports): Set to no.
997 2015-11-10  Roland McGrath  <roland@hack.frob.com>
999         * elf/dl-load.c (open_verify): Take new argument FD.
1000         Skip __open call if passed FD is not -1.
1001         (_dl_map_object, open_path): Update callers.
1002         * elf/dl-sysdep-open.h: New file.
1003         * elf/dl-load.c: Include it.
1004         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1005         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1006         * sysdeps/nacl/dl-sysdep-open.h: New file.
1007         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1008         from libc to rtld.
1010 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1012         [BZ #19228]
1013         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1014         and restore full floating-point state.
1015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1016         Likewise.
1017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1018         Likewise.
1019         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1020         Likewise.
1021         * math/test-nearbyint-except-2.c: New file.
1022         * math/Makefile (tests): Add test-nearbyint-except-2.
1024 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1026         [BZ #19178]
1027         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1028         (tst-prelink-ENV): New.
1029         ($(objpfx)tst-prelink-conflict.out): Likewise.
1030         ($(objpfx)tst-prelink-cmp.out): Likewise.
1031         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1032         * sysdeps/x86/tst-prelink.c: New file.
1033         * sysdeps/x86/tst-prelink.exp: Likewise.
1035 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1037         * math/auto-libm-test-in: Add another test of pow.
1038         * math/auto-libm-test-out: Regenerated.
1039         * math/libm-test.inc (pow_test_data): Add another test.
1041 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1043         [BZ #19219]
1044         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1045         weak_alias to nearbyintl.
1047 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1049         * sysdeps/aarch64/bits/string.h: New file.
1050         (_STRING_ARCH_unaligned): Define.
1052 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1054         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1055         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1056         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1057         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1060 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1062         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1063         for original name of the DSO.  Add it to the name list of the DSO
1064         if it is actually given.
1065         (_dl_map_object): Keep track of whether an audit module rewrote
1066         the file name.  If yes, pass the original name to
1067         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1068         debugging is enabled, log the change of the file name.
1069         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1070         _dl_map_object_from_fd.
1071         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1072         * elf/tst-audit11.c: New file
1073         * elf/tst-auditmod11.c: New file.
1074         * elf/tst-audit11mod1.c: New file.
1075         * elf/tst-audit11mod2.c: New file.
1076         * elf/tst-audit11mod2.map: New file.
1077         * elf/tst-audit12.c: New file
1078         * elf/tst-auditmod12.c: New file.
1079         * elf/tst-audit12mod1.c: New file.
1080         * elf/tst-audit12mod2.c: New file.
1081         * elf/tst-audit12mod2.map: New file.
1082         * elf/tst-audit12mod3.c: New file.
1084 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1086         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1087         Don't create weak aliases,
1088         because versioned symbols are created later.
1089         * sysdeps/s390/s390-32/setjmp.S
1090         (setjmp, _setjmp): Remove weak and rename to an unique name
1091         in SHARED case due to existing versioned symbols.
1092         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1093         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1094         (getcontext): Create weak alias only in non SHARED case.
1095         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1097 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1099         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1100         (__ASSUME_*_SYSCALL) Define new macros.
1101         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1102         Remove socketcall syscalls.
1103         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1104         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1105         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1106         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1107         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1108         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1110 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1112         [BZ #12926]
1113         Terminate process on invalid netlink response.
1114         * sysdeps/unix/sysv/linux/netlinkaccess.h
1115         (__netlink_assert_response): Declare.
1116         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1117         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1118         (sysdep_routines): Add netlink_assert_response.
1119         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1120         __netlink_assert_response.
1121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1122         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1123         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1124         __netlink_assert_response.
1126 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1128         [BZ #19178]
1129         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1130         (RTYPE_CLASS_PLT): Likewise.
1131         (RTYPE_CLASS_COPY): Likewise.
1132         (RTYPE_CLASS_TLS): Likewise.
1133         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1134         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1135         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1136         DL_DEBUG_PRELINK.
1138 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1140         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1141         calls with argument -0.5.
1142         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1144         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1145         (libc_cv_z_nodlopen): Likewise.
1146         (libc_cv_z_initfirst): Likewise.
1147         * configure: Regenerated.
1149 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1151         Simplify abilist format to be line-based.
1152         * scripts/abilist.awk: Collect descriptors in the descs variable.
1153         (emit): Write descs variable and sort it
1154         externally, with sort.
1155         * sysdeps/**/*.abilist: Convert to new format.
1157 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1159         [BZ #11460]
1160         * io/Makefile (routines): Add fts64.
1161         (tests): Add tst-fts and tst-fts-lfs.
1162         (CFLAGS-fts64.c): New.
1163         * io/Versions (GLIBC_2.23): New.
1164         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1165         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1166         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1167         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1168         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1169         (FTSENT64): Likewise.
1170         (fts64_children): Likewise.
1171         (fts64_close): Likewise.
1172         (fts64_open): Likewise.
1173         (fts64_read): Likewise.
1174         (fts64_set): Likewise.
1175         * io/fts64.c: New file.
1176         * io/tst-fts.c: New test.
1177         * io/tst-fts-lfs.c: Likewise.
1178         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1179         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1180         fts64_set.
1181         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1182         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1183         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1188         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1191         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1193         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1195         Likewise.
1196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1197         Likewise.
1198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1200         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1201         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1202         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1203         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1204         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1207         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1208         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1209         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1210         * sysdeps/wordsize-64/fts.c: New file.
1211         * sysdeps/wordsize-64/fts64.c: Likewise.
1212         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1213         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1214         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1215         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1217 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1219         * math/libm-test.inc (NON_FINITE): New macro.
1220         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1221         * math/gen-libm-test.pl (show_exceptions): Add argument
1222         $non_finite.
1223         (parse_args): Update call to show_exceptions.
1224         * math/test-math-finite.h: New file.
1225         * math/test-math-no-finite.h: Likewise.
1226         * math/test-double-finite.c: Likewise.
1227         * math/test-float-finite.c: Likewise.
1228         * math/test-ldouble-finite.c: Likewise.
1229         * math/test-double.c: Include "test-math-no-finite.h".
1230         * math/test-float.c: Include "test-math-no-finite.h".
1231         * math/test-ldouble.c: Include "test-math-no-finite.h".
1232         * math/test-math-inline.h (TEST_FINITE): New macro.
1233         * math/test-math-vector.h (TEST_FINITE): Likewise.
1234         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1235         (libm-tests): Add test-float-finite and test-double-finite.
1236         ($(objpfx)test-float-finite.o): New dependency on
1237         $(objpfx)libm-test.stmp.
1238         ($(objpfx)test-double-finite.o): Likewise.
1239         ($(objpfx)test-ldouble-finite.o): Likewise.
1240         (libm-test-no-inline-cflags): New variable.
1241         (libm-test-finite-cflags): Likewise.
1242         (CFLAGS-test-float-finite.c): Likewise.
1243         (CFLAGS-test-double-finite.c): Likewise.
1244         (CFLAGS-test-ldouble-finite.c): Likewise.
1245         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1246         (CFLAGS-test-double.c): Likewise.
1247         (CFLAGS-test-ldouble.c): Likewise.
1249 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1251         * io/fcntl.c (__fcntl): Add ... to prototype.
1252         * misc/ioctl.c (__ioctl): Likewise.
1253         * misc/syscall.c (syscall): Likewise.
1255 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1257         * scripts/list-fixed-bugs.py: New file.
1259         [BZ #19213]
1260         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1261         returned for argument 1.
1262         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1263         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1264         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1265         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1266         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1267         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1269         [BZ #19211]
1270         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1271         __USE_XOPEN], not if [!__USE_ISOC99].
1272         (lgammaf): Likewise.
1273         (lgammal): Likewise.
1274         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1275         (gammaf): Likewise.
1276         (gammal): Likewise.
1277         * math/test-signgam-finite-c11.c: New file.
1278         * math/test-signgam-finite-c99.c: Likewise.
1279         * math/test-signgam-finite.c: Likewise.
1280         * math/Makefile (tests): Add test-signgam-finite,
1281         test-signgam-finite-c99 and test-signgam-finite-c11.
1282         (CFLAGS-test-signgam-finite.c): New variable.
1283         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1284         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1286         [BZ #19212]
1287         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1288         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1289         500].
1290         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1291         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1292         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1293         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1294         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1295         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1296         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1297         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1298         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1299         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1301         [BZ #19209]
1302         * math/bits/math-finite.h (ldexp): Remove declaration.
1303         (ldexpf): Likewise.
1304         (ldexpl): Likewise.
1306         [BZ #19205]
1307         * math/bits/math-finite.h (acosf): Condition declaration on
1308         [__USE_ISOC99].
1309         (acosl): Likewise.
1310         (acoshf): Likewise.
1311         (acoshl): Likewise.
1312         (asinf): Likewise.
1313         (asinl): Likewise.
1314         (atan2f): Likewise.
1315         (atan2l): Likewise.
1316         (atanhf): Likewise.
1317         (atanhl): Likewise.
1318         (coshf): Likewise.
1319         (coshl): Likewise.
1320         (expf): Likewise.
1321         (expl): Likewise.
1322         (fmodf): Likewise.
1323         (fmodl): Likewise.
1324         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1325         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1326         (j0l): Likewise.
1327         (y0f): Likewise.
1328         (y0l): Likewise.
1329         (j1f): Likewise.
1330         (j1l): Likewise.
1331         (y1f): Likewise.
1332         (y1l): Likewise.
1333         (jnf): Likewise.
1334         (jnl): Likewise.
1335         (ynf): Likewise.
1336         (ynl): Likewise.
1337         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1338         (lgammal_r): Likewise.
1339         (__lgamma_r_finite): New declaration.
1340         (__lgammaf_r_finite): Likewise.
1341         (__lgammal_r_finite): Likewise.
1342         (lgamma): Use __lgamma_r_finite.
1343         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1344         __lgammaf_r_finite.
1345         (lgammal): Condition definition on [__USE_ISOC99].  Use
1346         __lgammal_r_finite.
1347         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1348         __lgamma_r_finite.
1349         (gammaf): Condition definition on [__USE_ISOC99].  Use
1350         __lgammaf_r_finite.
1351         (gammal): Condition definition on [__USE_ISOC99].  Use
1352         __lgammal_r_finite.
1353         (logf): Condition declaration on [__USE_ISOC99].
1354         (logl): Likewise.
1355         (log10f): Likewise.
1356         (log10l): Likewise.
1357         (ldexpf): Likewise.
1358         (ldexpl): Likewise.
1359         (powf): Likewise.
1360         (powl): Likewise.
1361         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1362         __USE_ISOC99].
1363         (remainderf): Condition declaration on [__USE_ISOC99].
1364         (remainderl): Likewise.
1365         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1366         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1367         (scalbl): Likewise.
1368         (sinhf): Condition declaration on [__USE_ISOC99].
1369         (sinhl): Likewise.
1370         (sqrtf): Likewise.
1371         (sqrtl): Likewise.
1373 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1375         * sysdeps/arm/atomic-machine.h
1376         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1377         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1378         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1379         Remove conditional code.
1380         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1381         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1382         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1383         Change conditional to [__ASSEMBLER__].
1384         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1385         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1386         [!__ASSEMBLER__].
1387         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1388         code.
1389         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1390         conditional macro definitions.
1391         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1392         (__arch_compare_and_exchange_val_16_acq): Likewise.
1393         (__arch_compare_and_exchange_val_32_acq): Likewise.
1394         (atomic_exchange_and_add): Likewise.
1395         (atomic_add): Likewise.
1396         (atomic_add_negative): Likewise.
1397         (atomic_add_zero): Likewise.
1398         (atomic_bit_set): Likewise.
1399         (atomic_bit_test_set): Likewise.
1400         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1401         code unconditional.
1402         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1404         * math/test-math-errno.h: New file.
1405         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1406         empty.
1407         (TEST_ERRNO): New macro.
1408         (TEST_EXCEPTIONS): Likewise.
1409         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1410         (TEST_EXCEPTIONS): Likewise.
1411         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1412         * math/test-double.c: Include "test-math-errno.h".
1413         * math/test-float.c: Likewise.
1414         * math/test-ldouble.c: Likewise.
1415         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1416         code unconditional.
1417         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1418         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1419         unconditional.
1420         (test_errno): Only run code if TEST_ERRNO.
1421         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1423 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1425         * nptl/tst-once5.cc: Remove attribution.
1427 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1429         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1430         sqrt, tan, tanh, y0, y1 and yn.
1431         * math/auto-libm-test-out: Regenerated.
1432         * math/libm-test.inc (scalb_test_data): Add more tests.
1433         (scalbn_test_data): Likewise.
1434         (scalbln_test_data): Likewise.
1435         (signbit_test_data): Likewise.
1436         (sin_test_data): Likewise.
1437         (sincos_test_data): Likewise.
1438         (sinh_test_data): Likewise.
1439         (sqrt_test_data): Likewise.
1440         (tan_test_data): Likewise.
1441         (tanh_test_data): Likewise.
1442         (tgamma_test_data): Likewise.
1443         (y0_test_data): Likewise.
1444         (y1_test_data): Likewise.
1445         (yn_test_data): Likewise.
1446         (significand_test_data): Likewise.
1447         * sysdeps/i386/fpu/libm-test-ulps: Update.
1449 2015-11-03  David Kastrup  <dak@gnu.org>
1451         [BZ #18604]
1452         * assert/assert.h (assert): Don't macro-expand failed assertion
1453         expression in error message.
1454         * malloc/malloc.c (assert): Likewise.
1456 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1458         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1459         test.
1460         * configure: Regenerated.
1462 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1464         * math/libm-test.inc (modf_test_data): Add more tests.
1465         (nearbyint_test_data): Likewise.
1466         (nextafter_test_data): Likewise.
1467         (nexttoward_test_data): Likewise.
1468         (pow_test_data): Likewise.
1469         (remainder_test_data): Likewise.
1470         (remquo_test_data): Likewise.
1471         (rint_test_data): Likewise.
1473         [BZ #19201]
1474         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1475         Check for zero remainder in case of large exponents and ensure
1476         correct sign of result in that case.
1477         * math/libm-test.inc (remainder_test_data): Add more tests.
1479         [BZ #6799]
1480         * math/s_nextafter.c: Include <errno.h>.
1481         (__nextafter): Set errno on overflow and underflow.
1482         * math/s_nexttowardf.c: Include <errno.h>.
1483         (__nexttowardf): Set errno on overflow and underflow.
1484         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1485         (__nextafterl): Set errno on overflow and underflow.
1486         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1487         (__nexttoward): Set errno on overflow and underflow.
1488         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1489         (__nexttowardf): Set errno on overflow and underflow.
1490         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1491         (__nextafterf): Set errno on overflow and underflow.
1492         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1493         (__nextafterl): Set errno on overflow and underflow.
1494         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1495         (__nexttoward): Set errno on overflow and underflow.
1496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1497         (__nexttowardf): Set errno on overflow and underflow.
1498         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1499         (__nextafterl): Set errno on overflow and underflow.
1500         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1501         (__nexttoward): Set errno on overflow and underflow.
1502         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
1503         (__nexttowardf): Set errno on overflow and underflow.
1504         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
1505         (__nexttoward): Set errno on overflow and underflow.
1506         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
1507         (__nexttowardf): Set errno on overflow and underflow.
1508         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
1509         (__nldbl_nexttowardf): Set errno on overflow and underflow.
1510         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
1511         (__nextafterl): Set errno on overflow and underflow.
1512         * math/libm-test.inc (nextafter_test_data): Do not allow errno
1513         setting to be missing on overflow.  Add more tests.
1514         (nexttoward_test_data): Likewise.
1516         * configure.ac (libc_cv_initfini_array): Remove configure test.
1517         * configure: Regenerated.
1519 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
1521         [BZ #19189]
1522         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
1523         non-finite argument handle arguments with negative sign.
1525         * math/libm-test.inc (j0_test_data): Do not test sign of zero
1526         result from infinite argument.
1527         (j1_test_data): Likewise.
1528         (jn_test_data): Likewise.
1529         (y0_test_data): Likewise.
1530         (y1_test_data): Likewise.
1531         (yn_test_data): Likewise.
1533         [BZ #16171]
1534         * math/w_remainder.c (drem): Define as weak alias of __remainder.
1535         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
1536         * math/w_remainderf.c (dremf): Define as weak alias of
1537         __remainderf.
1538         * math/w_remainderl.c (dreml): Define as weak alias of
1539         __remainderl.
1540         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
1541         __remainder.
1542         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
1543         __remainderf.
1544         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
1545         __remainderl.
1546         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
1547         weak alias of remainderl.
1548         * sysdeps/ieee754/ldbl-opt/w_remainder.c
1549         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
1550         alias of __remainder.
1551         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
1552         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
1553         strong alias of __remainderl.
1554         (dreml): Use long_double_symbol.
1555         * math/Makefile (libm-calls): Remove w_drem.
1556         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
1557         (CFLAGS-nldbl-drem.c): Remove variable.
1558         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
1559         * math/w_drem.c: Remove file.
1560         * math/w_dremf.c: Likewise.
1561         * math/w_dreml.c: Likewise.
1562         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
1563         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
1564         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
1566         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
1567         * sysdeps/i386/configure: Regenerated.
1568         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
1569         * sysdeps/x86_64/configure: Regenerated.
1571         * configure.ac (libc_cv_asm_protected_directive): Remove configure
1572         test.
1573         (libc_cv_visibility_attribute): Likewise.
1574         (libc_cv_protected_data): Test unconditionally.
1575         (libc_cv_broken_visibility_attribute): Remove configure test.
1576         (libc_cv_have_sdata_section): Test unconditionally.
1577         * configure: Regenerated.
1579         * include/libc-internal.h (libc_max_align_t): Remove typedef.
1580         * include/scratch_buffer.h: Include <stddef.h> instead of
1581         <libc-internal.h>.
1582         (struct scratch_buffer): Use max_align_t instead of
1583         libc_max_align_t.
1585 2015-10-29  Florian Weimer  <fweimer@redhat.com>
1587         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
1588         instead of extend_alloca.  Change control flow to avoid a goto.
1589         Remove assert which is trivially always true.
1591 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1593         [BZ #16068]
1594         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
1595         (FE_ALL_EXCEPT_X86): New macro.
1596         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1597         FE_ALL_EXCEPT.  Ensure precision control is included in
1598         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1599         handle "denormal operand exception" and clear FZ and DAZ bits.
1600         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
1601         (FE_ALL_EXCEPT_X86): New macro.
1602         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
1603         FE_ALL_EXCEPT.  Ensure precision control is included in
1604         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
1605         handle "denormal operand exception" and clear FZ and DAZ bits.
1606         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
1607         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
1608         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1609         test-fenv-x87 and test-fenv-sse-2.
1610         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
1612         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
1613         * math/test-double.h (BUILD_COMPLEX): New macro.
1614         * math/test-float.h (BUILD_COMPLEX): Likewise.
1615         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
1617         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
1618         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
1619         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
1620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
1621         instead of DBL_DENORM_MIN in comment.
1622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
1623         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
1625         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
1626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
1627         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
1629 2015-10-28  Florian Weimer  <fweimer@redhat.com>
1631         [BZ# 19048]
1632         * malloc/malloc.c (struct malloc_state): Update comment.  Add
1633         attached_threads member.
1634         (main_arena): Initialize attached_threads.
1635         * malloc/arena.c (list_lock): Update comment.
1636         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
1637         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
1638         (deattach_arena): New function.
1639         (_int_new_arena): Initialize arena reference count and deattach
1640         replaced arena.
1641         (get_free_list, reused_arena): Update reference count and deattach
1642         replaced arena.
1643         (arena_thread_freeres): Update arena reference count and only put
1644         unreferenced arenas on the free list.
1646 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1648         [BZ #19181]
1649         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
1650         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
1651         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
1652         * math/test-fenv-clear-main.c: New file.
1653         * math/test-fenv-clear.c: Likewise.
1654         * math/Makefile (tests): Add test-fenv-clear.
1655         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
1656         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1657         test-fenv-clear-sse.
1658         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
1660         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
1661         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
1662         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
1664 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1666         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
1667         static libc.
1669 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
1671         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
1672         test.
1673         * sysdeps/i386/configure: Regenerated.
1674         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
1675         test.
1676         * sysdeps/x86_64/configure: Regenerated.
1677         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
1678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1679         memset-avx2 unconditionally instead of conditionally on
1680         [$(config-cflags-avx2) = yes].
1681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1682         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
1683         unconditional.
1684         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
1685         * sysdeps/x86_64/multiarch/memset_chk.S
1686         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
1687         to [IS_IN (libc) && SHARED].
1689 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1691         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
1692         configure test.
1693         * sysdeps/arm/configure: Regenerated.
1694         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
1695         Define variable if not already defined.
1697         [BZ #17404]
1698         * sysdeps/mips/atomic-machine.h
1699         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
1700         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
1701         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1703         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
1704         unconditional.
1705         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
1706         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1707         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
1708         unconditional.
1709         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1710         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
1711         unconditional.
1712         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1713         * stdlib/setenv.c
1714         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
1715         code unconditional.
1716         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
1717         Remove conditional code.
1718         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1719         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
1720         unconditional.
1721         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1722         code.
1723         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1724         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
1725         unconditional.
1726         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1727         code.
1728         * sysdeps/ieee754/ldbl-128/k_tanl.c
1729         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1730         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1731         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1732         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1733         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1734         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1735         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
1736         unconditional.
1737         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
1738         code.
1739         * sysdeps/ieee754/ldbl-96/k_tanl.c
1740         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
1741         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1743         * nptl/tst-initializers1-c11.c: New file.
1744         * nptl/tst-initializers1-gnu11.c: Likewise.
1745         * nptl/Makefile (tests): Add these new tests.
1746         (CFLAGS-tst-initializers1-c11.c): New variable.
1747         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
1749         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
1750         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
1751         instead of -std=gnu99.
1752         * configure.ac (systemtap): Test with -std=gnu11 instead of
1753         -std=gnu99.
1754         * configure: Regenerated.
1755         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
1756         in compilation command in comment.
1758         * sysdeps/nptl/configure.ac: Remove file.
1759         * sysdeps/nptl/configure: Remove generated file.
1760         * configure.ac (libc_cv_forced_unwind): Do not substitute.
1761         * configure: Regenerated.
1762         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
1763         * config.make.in (have-forced-unwind): Remove variable.
1764         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1765         unconditional.
1766         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
1767         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
1768         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
1769         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
1770         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
1771         unconditional.
1773 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1775         [BZ #19174]
1776         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
1777         .skip_lock_out_of_tbegin_retries.
1778         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1779         (__lll_lock_elision): Likewise, and respect a value of
1780         try_tbegin <= 0.
1782 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1784         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
1785         statement.
1787 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1789         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
1790         variable.
1791         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1792         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1794         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
1795         of -std=c1x -D_ISOC11_SOURCE.
1797         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
1798         * configure: Regenerated.
1799         * manual/install.texi (Tools for Compilation): Document
1800         requirement for GCC 4.7 or later.
1801         * INSTALL: Regenerated.
1803 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
1805         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
1806         on CNT to a conditional jump to 'puntdata'.
1808 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
1810         * configure.ac (libc_cv_gcc___thread): Remove configure test.
1811         (libc_cv_gcc_tls_model_attr): Likewise.
1812         * configure: Regenerated.
1814         * configure.ac (libc_cv_need_minus_P): Remove configure test.
1815         * configure: Regenerated.
1816         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
1818 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
1820         * configure.ac (old_glibc_headers): Remove configure test.
1821         * configure: Regenerated.
1822         * config.make.in (old-glibc-headers): Remove variable.
1823         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
1824         (install): Remove dependency on remove-old-headers.
1825         (headers2_0): Remove variable.
1826         (remove-old-headers): Remove rule.
1828         * configure.ac (libc_cv_dot_text): Remove configure test.
1829         (libc_cv_asm_set_directive): Use .text instead of
1830         ${libc_cv_dot_text} in configure test.
1831         * configure: Regenerated.
1833 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1835         [BZ #19168]
1836         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1838 2015-10-26  Florian Weimer  <fweimer@redhat.com>
1840         * configure.ac (CXX): Clear the variable if the C++ toolchain does
1841         not support static linking.
1842         * configure: Regenerate.
1844 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
1846         * math/libm-test.inc (check_float_internal): Do not special-case
1847         errors up to 0.5 ulp.
1849         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1850         log2.
1851         * math/auto-libm-test-out: Regenerated.
1852         * math/libm-test.inc (MAX_EXP): New macro.
1853         (ilogb_test_data): Add more tests.
1854         (isfinite_test_data): Likewise.
1855         (isgreater_test_data): Likewise.
1856         (isgreaterequal_test_data): Likewise.
1857         (isinf_test_data): Likewise.
1858         (isless_test_data): Likewise.
1859         (islessequal_test_data): Likewise.
1860         (islessgreater_test_data): Likewise.
1861         (isnan_test_data): Likewise.
1862         (isnormal_test_data): Likewise.
1863         (issignaling_test_data): Likewise.
1864         (isunordered_test_data): Likewise.
1865         (j0_test_data): Likewise.
1866         (j1_test_data): Likewise.
1867         (jn_test_data): Likewise.
1868         (lgamma_test_data): Likewise.
1869         (log_test_data): Likewise.
1870         (log10_test_data): Likewise.
1871         (log1p_test_data): Likewise.
1872         (log2_test_data): Likewise.
1873         (logb_test_data): Likewise.
1874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1876         [BZ #18611]
1877         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
1878         avoid excess range and precision on underflow.
1879         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1880         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
1881         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1882         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
1883         underflow.
1884         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1885         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1886         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1887         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1888         * math/auto-libm-test-in: Do not allow missing errno setting for
1889         tests of j1 and jn.
1890         * math/auto-libm-test-out: Regenerated.
1892 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
1894         [BZ #15491]
1895         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
1896         floating-point environment instead of clearing all exceptions.
1897         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1898         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
1899         merging in "invalid" exceptions from frndint.
1900         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1901         * math/test-nearbyint-except.c: New file.
1902         * math/Makefile (tests): Add test-nearbyint-except.
1904 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
1906         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
1908         * sysdeps/tile/libm-test-ulps: Regenerated.
1910 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
1913         (__NR_sync_file_range2): Assume it is always defined.
1914         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1915         (__NR_sync_file_range): Assume it is always defined.
1917 2015-10-22  Andreas Schwab  <schwab@suse.de>
1919         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
1920         INTERNAL_SYSCALL_ERRNO.
1921         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1922         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
1923         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1924         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
1925         Likewise.
1926         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1928 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1930         * io/tst-fcntl.c (fd): New static variable.
1931         (do_prepare): Open temporary file here....
1932         (do_test): ...not here.
1934         * io/ftwtest-sh: Also trap on exit to remove temporary files.
1936 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1938         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1939         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1940         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1941         Moved before "#ifdef __ASSEMBLER__".
1943 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1945         [BZ #19156]
1946         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1947         arguments very close to 0.
1949 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1951         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1952         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1954 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1956         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1957         New.  Defined for GCC 5 and above when not compiling for
1958         profiling.
1959         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1961         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1962         Renamed to ...
1963         (CFLAGS-epoll_pwait.o): This.
1964         (CFLAGS-mmap.c): Renamed to ...
1965         (CFLAGS-mmap.o): This.
1966         (CFLAGS-mmap64.c): Renamed to ...
1967         (CFLAGS-mmap64.o): This.
1968         (CFLAGS-epoll_pwait.os): New.
1969         (CFLAGS-mmap.os): Likewise.
1970         (CFLAGS-mmap64.os): Likewise.
1971         (CFLAGS-semtimedop.os): Likewise.
1972         (CFLAGS-semtimedop.c): Renamed to ...
1973         (CFLAGS-semtimedop.o): This.
1975 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1977         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1978         warning message.
1980 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1982         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1983         * Makefile ($(objpfx)c++-types-check.out): Filter out
1984         $(+gccwarn-c) instead of -Wstrict-prototypes.
1986         * io/fts.c (fts_open): Convert to prototype-style function
1987         definition.
1988         * malloc/mcheck.c (mcheck): Likewise.
1989         (mcheck_pedantic): Likewise.
1990         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1991         internal_function.
1992         (re_search_internal): Likewise.
1993         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1994         prototype-style function definition.
1995         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1996         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1997         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1998         (xdr_utmpptr): Likewise.
1999         (xdr_utmparr): Likewise.
2000         (xdr_utmpidle): Likewise.
2001         (xdr_utmpidleptr): Likewise.
2002         (xdr_utmpidlearr): Likewise.
2004         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2005         log, log10 and log2.
2006         * math/auto-libm-test-out: Regenerated.
2007         * math/libm-test.inc (fmod_test_data): Add more tests.
2008         (fpclassify_test_data): Likewise.
2009         (frexp_test_data): Likewise.
2010         (hypot_test_data): Likewise.
2011         (ilogb_test_data): Likewise.
2013 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2015         * debug/fortify_fail.c (__fortify_fail): Convert to
2016         prototype-style function definition.  Use internal_function.
2017         * libio/genops.c (save_for_backup): Convert to prototype-style
2018         function definition.
2019         * libio/wgenops.c (save_for_wbackup): Likewise.
2020         * login/grantpt.c (grantpt): Likewise.
2021         * login/ptsname.c (ptsname): Likewise.
2022         (__ptsname_r): Likewise.
2023         * login/unlockpt.c (unlockpt): Likewise.
2024         * mach/msgserver.c (__mach_msg_server): Likewise.
2025         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2026         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2027         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2028         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2029         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2030         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2031         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2032         Likewise.
2033         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2034         internal_function.
2035         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2036         prototype-style function definition.
2037         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2038         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2039         (__pthread_create_2_0): Likewise.
2040         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2041         * nptl/register-atfork.c (__register_atfork): Likewise.
2042         * posix/glob.c (glob): Likewise.
2043         * posix/regcomp.c (re_comp): Likewise.
2044         * posix/regexec.c (re_exec): Likewise.
2045         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2046         [!__STDC__]: Remove conditional code.
2047         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2048         [!__STDC__]: Remove conditional code.
2049         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2050         [!__STDC__]: Remove conditional code.
2051         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2052         [!__STDC__]: Remove conditional code.
2053         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2054         [!__STDC__]: Remove conditional code.
2055         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2056         [!__STDC__]: Remove conditional code.
2057         * stdlib/mul.c [__STDC__]: Make code unconditional.
2058         [!__STDC__]: Remove conditional code.
2059         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2060         [!__STDC__]: Remove conditional code.
2061         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2062         [!__STDC__]: Remove conditional code.
2063         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2064         function definition.
2065         (STRTOF): Likewise.
2066         * stdlib/strtod_l.c (__STRTOF): Likewise.
2067         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2068         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2069         (__strtol_l): Likewise.
2070         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2071         [!__STDC__]: Remove conditional code.
2072         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2073         definition.
2074         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2075         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2076         type.
2077         (__strcasecmp): Convert to prototype-style function definition.
2078         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2079         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2080         type.
2081         (__strncasecmp): Convert to prototype-style function definition.
2082         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2083         * sunrpc/xdr.c (xdr_union): Likewise.
2084         * sunrpc/xdr_array.c (xdr_array): Likewise.
2085         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2086         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2087         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2088         Likewise.
2089         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2090         Likewise.
2091         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2092         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2093         Likewise.
2094         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2095         (LOCALE_PARAM_PROTO): Likewise.
2096         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2097         argument type.
2098         (ut_argument_spec): Remove macro.
2099         (ut_argument_spec_iso): Rename to ut_argument_spec.
2100         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2101         prototype-style function definition.
2102         (memcpy_uppcase): Likewise.
2103         (__strftime_internal): Likewise.
2104         (my_strftime): Likewise.
2105         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2106         (LOCALE_PARAM_DECL): Likewise.
2107         [_LIBC] (LOCALE_PARAM): Include argument type.
2108         (__strptime_internal): Convert to prototype-style function
2109         definition.
2110         (strptime): Likewise.
2111         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2112         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2113         type.
2114         (__wcscasecmp): Convert to prototype-style function definition.
2115         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2116         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2117         type.
2118         (__wcsncasecmp): Convert to prototype-style function definition.
2120         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2121         function definition.
2122         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2123         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2124         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2125         * elf/dl-minimal.c (_itoa): Likewise.
2126         * hurd/hurdmalloc.c (malloc): Likewise.
2127         (free): Likewise.
2128         (realloc): Likewise.
2129         * inet/inet6_option.c (inet6_option_space): Likewise.
2130         (inet6_option_init): Likewise.
2131         (inet6_option_append): Likewise.
2132         (inet6_option_alloc): Likewise.
2133         (inet6_option_next): Likewise.
2134         (inet6_option_find): Likewise.
2135         * io/ftw.c (FTW_NAME): Likewise.
2136         (NFTW_NAME): Likewise.
2137         (NFTW_NEW_NAME): Likewise.
2138         (NFTW_OLD_NAME): Likewise.
2139         * libio/iofwide.c (_IO_fwide): Likewise.
2140         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2141         (_IO_str_init_static): Likewise.
2142         (_IO_str_init_readonly): Likewise.
2143         (_IO_str_overflow): Likewise.
2144         (_IO_str_underflow): Likewise.
2145         (_IO_str_count): Likewise.
2146         (_IO_str_seekoff): Likewise.
2147         (_IO_str_pbackfail): Likewise.
2148         (_IO_str_finish): Likewise.
2149         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2150         (_IO_wstr_overflow): Likewise.
2151         (_IO_wstr_underflow): Likewise.
2152         (_IO_wstr_count): Likewise.
2153         (_IO_wstr_seekoff): Likewise.
2154         (_IO_wstr_pbackfail): Likewise.
2155         (_IO_wstr_finish): Likewise.
2156         * locale/programs/localedef.c (normalize_codeset): Likewise.
2157         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2158         (add_locales_to_archive): Likewise.
2159         (delete_locales_from_archive): Likewise.
2160         * malloc/malloc.c (__libc_mallinfo): Likewise.
2161         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2162         * misc/tsearch.c (__tfind): Likewise.
2163         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2164         * nptl/pthread_attr_getdetachstate.c
2165         (__pthread_attr_getdetachstate): Likewise.
2166         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2167         Likewise.
2168         * nptl/pthread_attr_getinheritsched.c
2169         (__pthread_attr_getinheritsched): Likewise.
2170         * nptl/pthread_attr_getschedparam.c
2171         (__pthread_attr_getschedparam): Likewise.
2172         * nptl/pthread_attr_getschedpolicy.c
2173         (__pthread_attr_getschedpolicy): Likewise.
2174         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2175         Likewise.
2176         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2177         Likewise.
2178         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2179         Likewise.
2180         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2181         Likewise.
2182         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2183         (__pthread_attr_init_2_0): Likewise.
2184         * nptl/pthread_attr_setdetachstate.c
2185         (__pthread_attr_setdetachstate): Likewise.
2186         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2187         Likewise.
2188         * nptl/pthread_attr_setinheritsched.c
2189         (__pthread_attr_setinheritsched): Likewise.
2190         * nptl/pthread_attr_setschedparam.c
2191         (__pthread_attr_setschedparam): Likewise.
2192         * nptl/pthread_attr_setschedpolicy.c
2193         (__pthread_attr_setschedpolicy): Likewise.
2194         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2195         Likewise.
2196         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2197         Likewise.
2198         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2199         Likewise.
2200         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2201         Likewise.
2202         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2203         Likewise.
2204         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2205         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2206         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2207         use internal_function.
2208         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2209         prototype-style function definition.
2210         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2211         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2212         internal_function.
2213         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2214         Convert to prototype-style function definition.
2215         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2216         Likewise.
2217         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2218         Likewise.
2219         (__pthread_mutex_unlock): Likewise.
2220         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2221         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2222         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2223         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2224         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2225         * nss/makedb.c (process_input): Likewise.
2226         * posix/fnmatch.c (__strchrnul): Likewise.
2227         (__wcschrnul): Likewise.
2228         (fnmatch): Likewise.
2229         * posix/fnmatch_loop.c (FCT): Likewise.
2230         * posix/glob.c (globfree): Likewise.
2231         (__glob_pattern_type): Likewise.
2232         (__glob_pattern_p): Likewise.
2233         * posix/regcomp.c (re_compile_pattern): Likewise.
2234         (re_set_syntax): Likewise.
2235         (re_compile_fastmap): Likewise.
2236         (regcomp): Likewise.
2237         (regerror): Likewise.
2238         (regfree): Likewise.
2239         * posix/regexec.c (regexec): Likewise.
2240         (re_match): Likewise.
2241         (re_search): Likewise.
2242         (re_match_2): Likewise.
2243         (re_search_2): Likewise.
2244         (re_search_stub): Likewise.  Use internal_function
2245         (re_copy_regs): Likewise.
2246         (re_set_registers): Convert to prototype-style function
2247         definition.
2248         (prune_impossible_nodes): Likewise.  Use internal_function.
2249         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2250         prototype-style function definition.
2251         (inet_net_pton_ipv4): Likewise.
2252         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2253         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2254         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2255         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2256         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2257         Make variadic.
2258         * time/strptime_l.c (localtime_r): Convert to prototype-style
2259         function definition.
2260         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2261         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2262         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2263         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2265         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2266         definition.
2267         (_ufc_doit_r): Likewise.
2268         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2269         (_ufc_output_conversion_r): Likewise.
2270         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2271         * inet/rcmd.c (rcmd_af): Likewise.
2272         (rcmd): Likewise.
2273         (ruserok_af): Likewise.
2274         (ruserok): Likewise.
2275         (ruserok2_sa): Likewise.
2276         (ruserok_sa): Likewise.
2277         (iruserok_af): Likewise.
2278         (iruserok): Likewise.
2279         (__ivaliduser): Likewise.
2280         (__validuser2_sa): Likewise.
2281         * inet/rexec.c (rexec_af): Likewise.
2282         (rexec): Likewise.
2283         * inet/ruserpass.c (ruserpass): Likewise.
2284         * locale/programs/xmalloc.c (xcalloc): Likewise.
2285         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2286         * math/w_drem.c (__drem): Likewise.
2287         * math/w_dremf.c (__dremf): Likewise.
2288         * math/w_dreml.c (__dreml): Likewise.
2289         * misc/daemon.c (daemon): Likewise.
2290         * resolv/res_debug.c (p_fqnname): Likewise.
2291         * stdlib/div.c (div): Likewise.
2292         * string/memcmp.c (memcmp_bytes): Likewise.
2293         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2294         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2296         * crypt/cert.c (main): Convert to prototype-style function
2297         definition.
2298         * io/pipe.c (__pipe): Likewise.
2299         * io/pipe2.c (__pipe2): Likewise.
2300         * misc/futimesat.c (futimesat): Likewise.
2301         * misc/utimes.c (__utimes): Likewise.
2302         * posix/execve.c (__execve): Likewise.
2303         * posix/execvp.c (execvp): Likewise.
2304         * posix/execvpe.c (__execvpe): Likewise.
2305         * posix/fexecve.c (fexecve): Likewise.
2306         * socket/socketpair.c (socketpair): Likewise.
2307         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2308         * stdlib/erand48.c (erand48): Likewise.
2309         * stdlib/erand48_r.c (__erand48_r): Likewise.
2310         * stdlib/jrand48.c (jrand48): Likewise.
2311         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2312         * stdlib/lcong48.c (lcong48): Likewise.
2313         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2314         * stdlib/nrand48.c (nrand48): Likewise.
2315         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2316         * stdlib/seed48.c (seed48): Likewise.
2317         * stdlib/seed48_r.c (__seed48_r): Likewise.
2318         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2319         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2320         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2322 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2324         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2325         * configure: Regenerated.
2326         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2327         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2328         unconditional.
2329         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2330         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2331         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2332         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2333         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2334         unconditional.
2335         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2337         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2338         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2340         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2341         function definition.
2342         * crypt/crypt_util.c (__encrypt_r): Likewise.
2343         * libio/genops.c (_IO_no_init): Likewise.
2344         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2345         (_IO_old_fopencookie): Likewise.
2346         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2347         * libio/iogetline.c (_IO_getline): Likewise.
2348         (_IO_getline_info): Likewise.
2349         * libio/iogetwline.c (_IO_getwline): Likewise.
2350         (_IO_getwline_info): Likewise.
2351         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2352         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2353         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2354         (find_entry): Likewise.
2355         (iterate_table): Likewise.
2356         (lookup): Likewise.
2357         * login/forkpty.c (forkpty): Likewise.
2358         * misc/hsearch_r.c (__hsearch_r): Likewise.
2359         * misc/select.c (__select): Likewise.
2360         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2361         Likewise.
2362         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2363         Likewise.
2364         * nptl/old_pthread_cond_timedwait.c
2365         (__pthread_cond_timedwait_2_0): Likewise.
2366         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2367         * nptl/pthread_barrierattr_getpshared.c
2368         (pthread_barrierattr_getpshared): Likewise.
2369         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2370         Likewise.
2371         * nptl/pthread_mutex_setprioceiling.c
2372         (pthread_mutex_setprioceiling): Likewise.
2373         * nptl/pthread_mutexattr_getprioceiling.c
2374         (pthread_mutexattr_getprioceiling): Likewise.
2375         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2376         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2377         Likewise.
2378         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2379         Likewise.
2380         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2381         Likewise.
2382         * socket/recvfrom.c (__recvfrom): Likewise.
2383         * socket/sendto.c (__sendto): Likewise.
2384         * socket/setsockopt.c (__setsockopt): Likewise.
2385         * stdio-common/_itoa.c (_itoa): Likewise.
2386         * stdio-common/_itowa.c (_itowa): Likewise.
2387         * stdio-common/reg-printf.c (__register_printf_specifier):
2388         Likewise.
2389         (__register_printf_function): Likewise.
2390         * stdio-common/tempname.c (__path_search): Likewise.
2391         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2392         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2393         * stdlib/random_r.c (__initstate_r): Likewise.
2394         * stdlib/setenv.c (__add_to_environ): Likewise.
2395         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2396         * streams/getpmsg.c (getpmsg): Likewise.
2397         * streams/putmsg.c (putmsg): Likewise.
2398         * streams/putpmsg.c (putpmsg): Likewise.
2399         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2400         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2401         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2402         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2403         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2404         * sunrpc/svc_udp.c (cache_get): Likewise.
2405         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2406         * sysdeps/mach/hurd/getcwd.c
2407         (__canonicalize_directory_name_internal): Likewise.
2408         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2409         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2410         * sysdeps/mach/hurd/select.c (__select): Likewise.
2411         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2412         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2413         * sysdeps/sparc/nptl/pthread_barrier_init.c
2414         (__pthread_barrier_init): Likewise.
2415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2416         (__pthread_cond_timedwait): Likewise.
2417         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2418         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2419         Likewise.
2420         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2421         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2422         Likewise.
2423         * sysvipc/semtimedop.c (semtimedop): Likewise.
2424         * time/setitimer.c (__setitimer): Likewise.
2425         * time/strftime_l.c (emacs_strftime): Likewise.
2427 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2429         * config.make.in (have-ssp): Delete.
2430         (stack-protector): New variable.
2431         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2432         cache test for -fstack-protector-strong.  Export stack_protector to
2433         the best ssp flag.
2434         * configure: Regenerated.
2435         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2436         * nscd/Makefile (CFLAGS-nscd): Likewise.
2437         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2439 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2441         [BZ #19122]
2442         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2443         attribute_hidden.
2445 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2447         [BZ #18743]
2448         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2449         code to...
2450         (ELIDE_LOCK): ...here.
2451         (__get_new_count): New function with part of the code from
2452         __elide_lock that updates the value of adapt_count after a
2453         transaction abort.
2454         (__elided_trylock): Moved this code to...
2455         (ELIDE_TRYLOCK): ...here.
2457 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2459         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2460         * configure: Regenerate.
2461         * INSTALL: Regenerate.
2462         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2463         and tweak grammar.
2465 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2467         * login/programs/pt_chown.c: Include signal.h
2468         (main): Clear any signal mask from the parent process.
2470 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2472         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2473         * configure: Regenerated.
2474         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2475         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2476         $(gnu89-inline-CFLAGS).
2478         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2479         test.
2480         (libc_cv_asm_weakext_directive): Likewise.
2481         * configure: Regenerated.
2482         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2483         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2484         * include/libc-symbols.h
2485         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2486         #error.
2487         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2488         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2490         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2491         prototype-style function definition.
2492         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2493         * sysdeps/i386/ffs.c (__ffs): Likewise.
2494         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2495         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2496         Likewise.
2497         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2498         Likewise.
2499         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2500         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2501         Likewise.
2502         * sysdeps/m68k/ffs.c (__ffs): Likewise.
2503         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
2504         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
2505         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
2506         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
2507         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
2508         * sysdeps/mach/hurd/access.c (__access): Likewise.
2509         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
2510         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
2511         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
2512         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
2513         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
2514         (cthread_getspecific): Likewise.
2515         (cthread_setspecific): Likewise.
2516         (__libc_getspecific): Likewise.
2517         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
2518         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
2519         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
2520         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
2521         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
2522         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
2523         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
2524         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
2525         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
2526         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
2527         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
2528         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
2529         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
2530         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
2531         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
2532         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
2533         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
2534         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
2535         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
2536         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
2537         * sysdeps/mach/hurd/link.c (__link): Likewise.
2538         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
2539         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
2540         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
2541         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
2542         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2543         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
2544         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
2545         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
2546         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
2547         * sysdeps/mach/hurd/rename.c (rename): Likewise.
2548         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
2549         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
2550         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
2551         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
2552         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
2553         * sysdeps/mach/hurd/send.c (__send): Likewise.
2554         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
2555         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
2556         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
2557         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
2558         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
2559         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
2560         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
2561         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
2562         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
2563         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
2564         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
2565         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2566         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
2567         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
2568         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2569         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2570         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
2571         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
2572         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
2573         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
2574         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
2575         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
2576         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
2577         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
2578         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
2579         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
2580         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
2581         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
2582         * sysdeps/posix/alarm.c (alarm): Likewise.
2583         * sysdeps/posix/cuserid.c (cuserid): Likewise.
2584         * sysdeps/posix/dirfd.c (dirfd): Likewise.
2585         * sysdeps/posix/dup.c (__dup): Likewise.
2586         * sysdeps/posix/dup2.c (__dup2): Likewise.
2587         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
2588         (main): Likewise.
2589         * sysdeps/posix/flock.c (__flock): Likewise.
2590         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2591         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
2592         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
2593         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
2594         * sysdeps/posix/isatty.c (__isatty): Likewise.
2595         * sysdeps/posix/killpg.c (killpg): Likewise.
2596         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
2597         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
2598         * sysdeps/posix/raise.c (raise): Likewise.
2599         * sysdeps/posix/remove.c (remove): Likewise.
2600         * sysdeps/posix/rename.c (rename): Likewise.
2601         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
2602         * sysdeps/posix/seekdir.c (seekdir): Likewise.
2603         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
2604         * sysdeps/posix/sigignore.c (sigignore): Likewise.
2605         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
2606         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
2607         * sysdeps/posix/sigset.c (sigset): Likewise.
2608         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
2609         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2610         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
2611         * sysdeps/posix/time.c (time): Likewise.
2612         * sysdeps/posix/ttyname.c (getttyname): Likewise.
2613         (ttyname): Likewise.
2614         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
2615         * sysdeps/posix/utime.c (utime): Likewise.
2616         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
2617         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
2618         Likewise.
2619         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
2620         (pthread_spin_trylock): Likewise.
2621         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
2622         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
2623         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
2624         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
2625         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
2626         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
2627         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
2628         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
2629         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
2630         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
2631         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
2632         * sysdeps/s390/ffs.c (__ffs): Likewise.
2633         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
2634         Likewise.
2635         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2636         Likewise.
2637         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
2638         Likewise.
2639         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
2640         (pthread_barrier_destroy): Likewise.
2641         * sysdeps/sparc/nptl/pthread_barrier_wait.c
2642         (__pthread_barrier_wait): Likewise.
2643         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
2644         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
2645         (__pthread_barrier_wait): Likewise.
2646         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
2647         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
2648         (memcmp_not_common_alignment): Likewise.
2649         (MEMCMP): Likewise.
2650         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
2651         (_wordcopy_fwd_dest_aligned): Likewise.
2652         (_wordcopy_bwd_aligned): Likewise.
2653         (_wordcopy_bwd_dest_aligned): Likewise.
2654         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
2655         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
2656         * sysdeps/unix/bsd/stty.c (stty): Likewise.
2657         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
2658         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
2659         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
2660         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
2661         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
2662         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
2663         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
2664         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
2665         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2666         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
2667         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
2668         * sysdeps/unix/stime.c (stime): Likewise.
2669         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
2670         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
2671         Likewise.  Use internal_function.
2672         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
2673         Convert to prototype-style function definition.
2674         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2675         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2676         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
2677         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2678         Likewise.  Use internal_function.
2679         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
2680         prototype-style function definition
2681         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
2682         Likewise.
2683         (__getlogin_r): Likewise.
2684         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
2685         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
2686         (__pthread_cond_broadcast): Likewise.
2687         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
2688         (__pthread_cond_destroy): Likewise.
2689         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
2690         (__pthread_cond_init): Likewise.
2691         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
2692         (__pthread_cond_signal): Likewise.
2693         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
2694         (__pthread_cond_wait): Likewise.
2695         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
2696         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2697         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
2698         Likewise.
2699         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
2702         Likewise.
2703         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
2707         (__ftruncate64): Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
2709         (truncate64): Likewise.
2710         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
2711         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
2712         (pthread_getcpuclockid): Likewise.
2713         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
2714         Likewise.
2715         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
2716         Likewise.
2717         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
2718         Likewise.
2719         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
2722         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
2723         (__libc_sigaction): Likewise.
2724         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
2725         Likewise.
2726         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
2727         (__sigprocmask): Likewise.
2728         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
2729         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
2730         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
2731         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2732         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2733         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
2734         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
2737         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
2738         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2739         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
2741         Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
2743         (__sigprocmask): Likewise.
2744         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
2745         (cfgetispeed): Likewise.
2746         (cfsetospeed): Likewise.
2747         (cfsetispeed): Likewise.
2748         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
2749         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
2750         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
2751         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2752         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
2753         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
2754         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
2755         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
2756         Likewise.
2757         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
2758         Likewise.
2759         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
2760         Likewise.
2761         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
2762         Likewise.
2763         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2765 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2767         sunrpc: Rewrite with explicit TLS access using __thread.
2768         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
2769         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
2770         directly.
2771         (__rpc_thread_variables): Access thread_rpc_vars directly.
2772         Eliminate redundant assignment of the tvp variable.
2774 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2776         malloc: Rewrite with explicit TLS access using __thread.
2777         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
2778         (tsd_setspecific, tsd_getspecific): Remove.
2779         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
2780         (tsd_setspecific, tsd_getspecific): Likewise.
2781         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
2782         (tsd_setspecific, tsd_getspecific): Likewise.
2783         * malloc/arena.c (thread_arena): New TLS variable.
2784         (arena_key): Remove variable.
2785         (arena_get): Use thread_arena.
2786         (arena_lookup): Remove macro.
2787         (malloc_atfork, free_atfork, ptmalloc_lock_all)
2788         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
2789         (_int_new_arena, get_free_list, reused_arena)
2790         (arena_thread_freeres): Use thread_arena.
2791         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
2792         tsd_getspecific, tsd_setspecific from safety annotations.
2793         (Allocating Cleared Space): Remove arena_lookup from safety
2794         annotations.
2796 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2798         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
2799         struct scratch_buffer instead of extend_alloca.
2801 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2803         * sysdeps/unix/sysv/linux/kernel-features.h
2804         (__ASSUME_SOCK_CLOEXEC): Remove.
2805         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
2806         (__have_paccept): Remove unused macro.
2807         * include/unistd.h (__have_sock_cloexec): Remove declaration.
2808         * misc/syslog.c (openlog_internal): Remove fallback code for
2809         !__ASSUME_SOCK_CLOEXEC.
2810         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
2811         missing SOCK_CLOEXEC.
2812         * nscd/connections.c (have_sock_cloexec): Remove definition.
2813         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2814         * nscd/nscd_helper.c (open_socket): Remove fallback code for
2815         !__ASSUME_SOCK_CLOEXEC.
2816         * resolv/res_send.c (__have_o_nonblock): Remove definition.
2817         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
2818         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
2819         definition.
2820         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
2821         code for !__ASSUME_SOCK_CLOEXEC.
2823 2015-10-17  Florian Weimer  <fweimer@redhat.com>
2825         [BZ #18982]
2826         * manual/stdio.texi (Variable Arguments Output): Add portability
2827         note, explaining that vfprintf clobbers the va_list pointer.
2829 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2831         * math/libm-test.inc (fabs_test_data): Add more tests.
2832         (fdim_test_data): Likewise.
2833         (fma_test_data): Likewise.
2834         (fmax_test_data): Likewise.
2835         (fmin_test_data): Likewise.
2836         (fmod_test_data): Likewise.
2838 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
2840         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
2841         data.
2843 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
2845         * math/libm-test.inc (ceil_test_data): Add more tests and more
2846         expectations for "inexact".
2847         (floor_test_data): Add more tests.
2848         (round_test_data): Likewise.
2849         (trunc_test_data): Likewise.
2851         * crypt/cert.c (good_bye): Convert to prototype-style function
2852         definition.
2853         (get8): Likewise.
2854         (put8): Likewise.
2855         * crypt/crypt-entry.c (crypt): Likewise.
2856         (__fcrypt): Likewise.
2857         * crypt/crypt_util.c (_ufc_prbits): Likewise.
2858         (_ufc_set_bits): Likewise.
2859         (_ufc_clearmem): Likewise.
2860         (__init_des_r): Likewise.
2861         (shuffle_sb): Likewise.
2862         (shuffle_sb): Likewise.
2863         (_ufc_setup_salt_r): Likewise.
2864         (_ufc_mk_keytab_r): Likewise.
2865         (_ufc_dofinalperm_r): Likewise.
2866         (encrypt): Likewise.
2867         (__setkey_r): Likewise.
2868         (setkey): Likewise.
2869         * crypt/md5.c (md5_init_ctx): Likewise.
2870         (md5_read_ctx): Likewise.
2871         (md5_finish_ctx): Likewise.
2872         (md5_stream): Likewise.
2873         (md5_buffer): Likewise.
2874         (md5_process_bytes): Likewise.
2875         * crypt/sha256.c (__sha256_init_ctx): Likewise.
2876         (__sha256_finish_ctx): Likewise.
2877         (__sha256_process_bytes): Likewise.
2878         * crypt/sha512.c (__sha512_init_ctx): Likewise.
2879         (__sha512_finish_ctx): Likewise.
2880         (__sha512_process_bytes): Likewise.
2881         * ctype/isctype.c (__isctype): Likewise.
2882         * debug/backtrace.c (__backtrace): Likewise.
2883         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
2884         * debug/fgets_chk.c (__fgets_chk): Likewise.
2885         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
2886         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
2887         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2888         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2889         * debug/memset_chk.c (__memset_chk): Likewise.
2890         * debug/strcat_chk.c (__strcat_chk): Likewise.
2891         * debug/strncat_chk.c (__strncat_chk): Likewise.
2892         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
2893         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
2894         * dirent/dirfd.c (dirfd): Likewise.
2895         * dirent/getdents.c (__getdirentries): Likewise.
2896         * dirent/getdents64.c (getdirentries64): Likewise.
2897         * dirent/rewinddir.c (__rewinddir): Likewise.
2898         * dirent/seekdir.c (seekdir): Likewise.
2899         * dirent/telldir.c (telldir): Likewise.
2900         * elf/sln.c (makesymlinks): Likewise.
2901         (makesymlink): Likewise.
2902         * gmon/gmon.c (__moncontrol): Likewise.
2903         (__monstartup): Likewise.
2904         (write_hist): Likewise.
2905         (write_call_graph): Likewise.
2906         (write_bb_counts): Likewise.
2907         * grp/setgroups.c (setgroups): Likewise.
2908         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2909         * inet/inet_net.c (inet_network): Likewise.
2910         * inet/inet_netof.c (inet_netof): Likewise.
2911         * inet/rcmd.c (rresvport_af): Likewise.
2912         (rresvport): Likewise.
2913         * io/access.c (__access): Likewise.
2914         * io/chdir.c (__chdir): Likewise.
2915         * io/chmod.c (__chmod): Likewise.
2916         * io/chown.c (__chown): Likewise.
2917         * io/close.c (__close): Likewise.
2918         * io/creat.c (creat): Likewise.
2919         * io/creat64.c (creat64): Likewise.
2920         * io/dup.c (__dup): Likewise.
2921         * io/dup2.c (__dup2): Likewise.
2922         * io/dup3.c (__dup3): Likewise.
2923         * io/euidaccess.c (__euidaccess): Likewise.
2924         * io/faccessat.c (faccessat): Likewise.
2925         * io/fchmod.c (__fchmod): Likewise.
2926         * io/fchmodat.c (fchmodat): Likewise.
2927         * io/fchown.c (__fchown): Likewise.
2928         * io/fchownat.c (fchownat): Likewise.
2929         * io/fcntl.c (__fcntl): Likewise.
2930         * io/flock.c (__flock): Likewise.
2931         * io/fts.c (fts_load): Likewise.
2932         (fts_close): Likewise.
2933         (fts_read): Likewise.
2934         (fts_set): Likewise.
2935         (fts_children): Likewise.
2936         (fts_build): Likewise.
2937         (fts_stat): Likewise.
2938         (fts_sort): Likewise.
2939         (fts_alloc): Likewise.
2940         (fts_lfree): Likewise.
2941         (fts_palloc): Likewise.
2942         (fts_padjust): Likewise.
2943         (fts_maxarglen): Likewise.
2944         (fts_safe_changedir): Likewise.
2945         * io/getwd.c (getwd): Likewise.
2946         * io/isatty.c (__isatty): Likewise.
2947         * io/lchown.c (__lchown): Likewise.
2948         * io/link.c (__link): Likewise.
2949         * io/linkat.c (linkat): Likewise.
2950         * io/lseek.c (__libc_lseek): Likewise.
2951         * io/mkdir.c (__mkdir): Likewise.
2952         * io/mkdirat.c (mkdirat): Likewise.
2953         * io/mkfifo.c (mkfifo): Likewise.
2954         * io/mkfifoat.c (mkfifoat): Likewise.
2955         * io/open.c (__libc_open): Likewise.
2956         * io/open64.c (__libc_open64): Likewise.
2957         * io/readlink.c (__readlink): Likewise.
2958         * io/readlinkat.c (readlinkat): Likewise.
2959         * io/rmdir.c (__rmdir): Likewise.
2960         * io/symlink.c (__symlink): Likewise.
2961         * io/symlinkat.c (symlinkat): Likewise.
2962         * io/ttyname.c (ttyname): Likewise.
2963         * io/ttyname_r.c (__ttyname_r): Likewise.
2964         * io/umask.c (__umask): Likewise.
2965         * io/unlink.c (__unlink): Likewise.
2966         * io/unlinkat.c (unlinkat): Likewise.
2967         * io/utime.c (utime): Likewise.
2968         * libio/clearerr.c (clearerr): Likewise.
2969         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2970         * libio/feof.c (_IO_feof): Likewise.
2971         * libio/feof_u.c (feof_unlocked): Likewise.
2972         * libio/ferror.c (_IO_ferror): Likewise.
2973         * libio/ferror_u.c (ferror_unlocked): Likewise.
2974         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2975         * libio/fileno.c (__fileno): Likewise.
2976         * libio/fputc.c (fputc): Likewise.
2977         * libio/fputc_u.c (fputc_unlocked): Likewise.
2978         * libio/fputwc.c (fputwc): Likewise.
2979         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2980         * libio/freopen.c (freopen): Likewise.
2981         * libio/freopen64.c (freopen64): Likewise.
2982         * libio/fseek.c (fseek): Likewise.
2983         * libio/fseeko.c (fseeko): Likewise.
2984         * libio/fseeko64.c (fseeko64): Likewise.
2985         * libio/ftello.c (__ftello): Likewise.
2986         * libio/ftello64.c (ftello64): Likewise.
2987         * libio/fwide.c (fwide): Likewise.
2988         * libio/genops.c (_IO_un_link): Likewise.
2989         (_IO_link_in): Likewise.
2990         (_IO_least_marker): Likewise.
2991         (_IO_switch_to_main_get_area): Likewise.
2992         (_IO_switch_to_backup_area): Likewise.
2993         (_IO_switch_to_get_mode): Likewise.
2994         (_IO_free_backup_area): Likewise.
2995         (_IO_switch_to_put_mode): Likewise.
2996         (__overflow): Likewise.
2997         (__underflow): Likewise.
2998         (__uflow): Likewise.
2999         (_IO_setb): Likewise.
3000         (_IO_doallocbuf): Likewise.
3001         (_IO_default_underflow): Likewise.
3002         (_IO_default_uflow): Likewise.
3003         (_IO_default_xsputn): Likewise.
3004         (_IO_sgetn): Likewise.
3005         (_IO_default_xsgetn): Likewise.
3006         (_IO_sync): Likewise.
3007         (_IO_default_setbuf): Likewise.
3008         (_IO_default_seekpos): Likewise.
3009         (_IO_default_doallocate): Likewise.
3010         (_IO_init): Likewise.
3011         (_IO_old_init): Likewise.
3012         (_IO_default_sync): Likewise.
3013         (_IO_default_finish): Likewise.
3014         (_IO_default_seekoff): Likewise.
3015         (_IO_sputbackc): Likewise.
3016         (_IO_sungetc): Likewise.
3017         (_IO_set_column): Likewise.
3018         (_IO_set_column): Likewise.
3019         (_IO_adjust_column): Likewise.
3020         (_IO_get_column): Likewise.
3021         (_IO_init_marker): Likewise.
3022         (_IO_remove_marker): Likewise.
3023         (_IO_marker_difference): Likewise.
3024         (_IO_marker_delta): Likewise.
3025         (_IO_seekmark): Likewise.
3026         (_IO_unsave_markers): Likewise.
3027         (_IO_nobackup_pbackfail): Likewise.
3028         (_IO_default_pbackfail): Likewise.
3029         (_IO_default_seek): Likewise.
3030         (_IO_default_stat): Likewise.
3031         (_IO_default_read): Likewise.
3032         (_IO_default_write): Likewise.
3033         (_IO_default_showmanyc): Likewise.
3034         (_IO_default_imbue): Likewise.
3035         (_IO_iter_next): Likewise.
3036         (_IO_iter_file): Likewise.
3037         * libio/getc.c (_IO_getc): Likewise.
3038         * libio/getwc.c (_IO_getwc): Likewise.
3039         * libio/iofclose.c (_IO_new_fclose): Likewise.
3040         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3041         * libio/iofflush.c (_IO_fflush): Likewise.
3042         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3043         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3044         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3045         * libio/iofgets.c (_IO_fgets): Likewise.
3046         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3047         * libio/iofgetws.c (fgetws): Likewise.
3048         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3049         * libio/iofopen64.c (_IO_fopen64): Likewise.
3050         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3051         (_IO_cookie_write): Likewise.
3052         (_IO_cookie_seek): Likewise.
3053         (_IO_cookie_close): Likewise.
3054         (_IO_cookie_seekoff): Likewise.
3055         (_IO_old_cookie_seek): Likewise.
3056         * libio/iofputs.c (_IO_fputs): Likewise.
3057         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3058         * libio/iofputws.c (fputws): Likewise.
3059         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3060         * libio/iofread.c (_IO_fread): Likewise.
3061         * libio/iofread_u.c (__fread_unlocked): Likewise.
3062         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3063         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3064         * libio/ioftell.c (_IO_ftell): Likewise.
3065         * libio/iofwrite.c (_IO_fwrite): Likewise.
3066         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3067         * libio/iogets.c (_IO_gets): Likewise.
3068         * libio/iopadn.c (_IO_padn): Likewise.
3069         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3070         (_IO_new_popen): Likewise.
3071         (_IO_new_proc_close): Likewise.
3072         * libio/ioputs.c (_IO_puts): Likewise.
3073         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3074         (_IO_seekoff): Likewise.
3075         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3076         (_IO_seekpos): Likewise.
3077         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3078         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3079         * libio/ioungetc.c (_IO_ungetc): Likewise.
3080         * libio/ioungetwc.c (ungetwc): Likewise.
3081         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3082         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3083         * libio/iowpadn.c (_IO_wpadn): Likewise.
3084         * libio/libc_fatal.c (__libc_fatal): Likewise.
3085         * libio/memstream.c (__open_memstream): Likewise.
3086         (_IO_mem_sync): Likewise.
3087         (_IO_mem_finish): Likewise.
3088         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3089         (_IO_old_file_close_it): Likewise.
3090         (_IO_old_file_finish): Likewise.
3091         (_IO_old_file_fopen): Likewise.
3092         (_IO_old_file_attach): Likewise.
3093         (_IO_old_file_setbuf): Likewise.
3094         (_IO_old_do_write): Likewise.
3095         (old_do_write): Likewise.
3096         (_IO_old_file_underflow): Likewise.
3097         (_IO_old_file_overflow): Likewise.
3098         (_IO_old_file_sync): Likewise.
3099         (_IO_old_file_seekoff): Likewise.
3100         (_IO_old_file_write): Likewise.
3101         (_IO_old_file_xsputn): Likewise.
3102         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3103         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3104         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3105         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3106         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3107         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3108         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3109         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3110         (_IO_old_popen): Likewise.
3111         (_IO_old_proc_close): Likewise.
3112         * libio/oldpclose.c (__old_pclose): Likewise.
3113         * libio/pclose.c (__new_pclose): Likewise.
3114         * libio/peekc.c (_IO_peekc_locked): Likewise.
3115         * libio/putc.c (_IO_putc): Likewise.
3116         * libio/putc_u.c (putc_unlocked): Likewise.
3117         * libio/putchar.c (putchar): Likewise.
3118         * libio/putchar_u.c (putchar_unlocked): Likewise.
3119         * libio/putwc.c (putwc): Likewise.
3120         * libio/putwc_u.c (putwc_unlocked): Likewise.
3121         * libio/putwchar.c (putwchar): Likewise.
3122         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3123         * libio/rewind.c (rewind): Likewise.
3124         * libio/setbuf.c (setbuf): Likewise.
3125         * libio/setlinebuf.c (setlinebuf): Likewise.
3126         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3127         * libio/vscanf.c (_IO_vscanf): Likewise.
3128         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3129         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3130         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3131         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3132         (_IO_switch_to_main_wget_area): Likewise.
3133         (_IO_switch_to_wbackup_area): Likewise.
3134         (_IO_wsetb): Likewise.
3135         (_IO_wdefault_pbackfail): Likewise.
3136         (_IO_wdefault_finish): Likewise.
3137         (_IO_wdefault_uflow): Likewise.
3138         (__woverflow): Likewise.
3139         (__wuflow): Likewise.
3140         (__wunderflow): Likewise.
3141         (_IO_wdefault_xsputn): Likewise.
3142         (_IO_wdefault_xsgetn): Likewise.
3143         (_IO_wdoallocbuf): Likewise.
3144         (_IO_wdefault_doallocate): Likewise.
3145         (_IO_switch_to_wget_mode): Likewise.
3146         (_IO_free_wbackup_area): Likewise.
3147         (_IO_switch_to_wput_mode): Likewise.
3148         (_IO_sputbackwc): Likewise.
3149         (_IO_sungetwc): Likewise.
3150         (_IO_adjust_wcolumn): Likewise.
3151         (_IO_init_wmarker): Likewise.
3152         (_IO_wmarker_delta): Likewise.
3153         (_IO_seekwmark): Likewise.
3154         (_IO_unsave_wmarkers): Likewise.
3155         * libio/wmemstream.c (open_wmemstream): Likewise.
3156         (_IO_wmem_sync): Likewise.
3157         (_IO_wmem_finish): Likewise.
3158         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3159         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3160         * locale/programs/simple-hash.c (init_hash): Likewise.
3161         (delete_hash): Likewise.
3162         (insert_entry): Likewise.
3163         (set_entry): Likewise.
3164         (next_prime): Likewise.
3165         (is_prime): Likewise.
3166         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3167         (xmalloc): Likewise.
3168         (xrealloc): Likewise.
3169         * locale/programs/xstrdup.c (xstrdup): Likewise.
3170         * localedata/collate-test.c (xstrcoll): Likewise.
3171         * localedata/xfrm-test.c (xstrcmp): Likewise.
3172         * login/getlogin_r.c (__getlogin_r): Likewise.
3173         * login/getpt.c (__posix_openpt): Likewise.
3174         * login/login_tty.c (login_tty): Likewise.
3175         * login/setlogin.c (setlogin): Likewise.
3176         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3177         (mach_msg_destroy_port): Likewise.
3178         (mach_msg_destroy_memory): Likewise.
3179         * malloc/mcheck.c (flood): Likewise.
3180         * misc/acct.c (acct): Likewise.
3181         * misc/brk.c (__brk): Likewise.
3182         * misc/chflags.c (chflags): Likewise.
3183         * misc/chroot.c (chroot): Likewise.
3184         * misc/fchflags.c (fchflags): Likewise.
3185         * misc/fstab.c (getfsspec): Likewise.
3186         (getfsfile): Likewise.
3187         * misc/fsync.c (fsync): Likewise.
3188         * misc/ftruncate.c (__ftruncate): Likewise.
3189         * misc/ftruncate64.c (__ftruncate64): Likewise.
3190         * misc/getdomain.c (getdomainname): Likewise.
3191         (getdomainname): Likewise.
3192         * misc/gethostname.c (__gethostname): Likewise.
3193         * misc/getpass.c (getpass): Likewise.
3194         * misc/getttyent.c (skip): Likewise.
3195         (value): Likewise.
3196         * misc/gtty.c (gtty): Likewise.
3197         * misc/hsearch.c (hsearch): Likewise.
3198         (hcreate): Likewise.
3199         * misc/hsearch_r.c (__hcreate_r): Likewise.
3200         (__hdestroy_r): Likewise.
3201         * misc/ioctl.c (__ioctl): Likewise.
3202         * misc/mkdtemp.c (mkdtemp): Likewise.
3203         * misc/mkostemp.c (mkostemp): Likewise.
3204         * misc/mkostemp64.c (mkostemp64): Likewise.
3205         * misc/mkostemps.c (mkostemps): Likewise.
3206         * misc/mkostemps64.c (mkostemps64): Likewise.
3207         * misc/mkstemp.c (mkstemp): Likewise.
3208         * misc/mkstemp64.c (mkstemp64): Likewise.
3209         * misc/mkstemps.c (mkstemps): Likewise.
3210         * misc/mkstemps64.c (mkstemps64): Likewise.
3211         * misc/mktemp.c (__mktemp): Likewise.
3212         * misc/preadv.c (preadv): Likewise.
3213         * misc/preadv64.c (preadv64): Likewise.
3214         * misc/pwritev.c (pwritev): Likewise.
3215         * misc/pwritev64.c (pwritev64): Likewise.
3216         * misc/readv.c (__readv): Likewise.
3217         * misc/revoke.c (revoke): Likewise.
3218         * misc/setdomain.c (setdomainname): Likewise.
3219         * misc/setegid.c (setegid): Likewise.
3220         * misc/seteuid.c (seteuid): Likewise.
3221         * misc/sethostid.c (sethostid): Likewise.
3222         * misc/sethostname.c (sethostname): Likewise.
3223         * misc/setregid.c (__setregid): Likewise.
3224         * misc/setreuid.c (__setreuid): Likewise.
3225         * misc/sstk.c (sstk): Likewise.
3226         * misc/stty.c (stty): Likewise.
3227         * misc/syscall.c (syscall): Likewise.
3228         * misc/syslog.c (setlogmask): Likewise.
3229         * misc/truncate.c (__truncate): Likewise.
3230         * misc/truncate64.c (truncate64): Likewise.
3231         * misc/ualarm.c (ualarm): Likewise.
3232         * misc/usleep.c (usleep): Likewise.
3233         * misc/ustat.c (ustat): Likewise.
3234         * misc/writev.c (__writev): Likewise.
3235         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3236         * nptl/old_pthread_cond_broadcast.c
3237         (__pthread_cond_broadcast_2_0): Likewise.
3238         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3239         Likewise.
3240         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3241         Likewise.
3242         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3243         Likewise.
3244         * nptl/pt-raise.c (raise): Likewise.
3245         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3246         Likewise.
3247         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3248         * nptl/pthread_barrierattr_destroy.c
3249         (pthread_barrierattr_destroy): Likewise.
3250         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3251         Likewise.
3252         * nptl/pthread_barrierattr_setpshared.c
3253         (pthread_barrierattr_setpshared): Likewise.
3254         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3255         Likewise.
3256         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3257         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3258         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3259         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3260         Likewise.
3261         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3262         Likewise.
3263         * nptl/pthread_condattr_getpshared.c
3264         (pthread_condattr_getpshared): Likewise.
3265         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3266         Likewise.
3267         * nptl/pthread_condattr_setpshared.c
3268         (pthread_condattr_setpshared): Likewise.
3269         * nptl/pthread_detach.c (pthread_detach): Likewise.
3270         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3271         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3272         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3273         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3274         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3275         Likewise.
3276         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3277         Likewise.
3278         * nptl/pthread_mutex_getprioceiling.c
3279         (pthread_mutex_getprioceiling): Likewise.
3280         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3281         Likewise.
3282         * nptl/pthread_mutexattr_getprotocol.c
3283         (pthread_mutexattr_getprotocol): Likewise.
3284         * nptl/pthread_mutexattr_getpshared.c
3285         (pthread_mutexattr_getpshared): Likewise.
3286         * nptl/pthread_mutexattr_getrobust.c
3287         (pthread_mutexattr_getrobust): Likewise.
3288         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3289         Likewise.
3290         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3291         Likewise.
3292         * nptl/pthread_mutexattr_setprioceiling.c
3293         (pthread_mutexattr_setprioceiling): Likewise.
3294         * nptl/pthread_mutexattr_setprotocol.c
3295         (pthread_mutexattr_setprotocol): Likewise.
3296         * nptl/pthread_mutexattr_setpshared.c
3297         (pthread_mutexattr_setpshared): Likewise.
3298         * nptl/pthread_mutexattr_setrobust.c
3299         (pthread_mutexattr_setrobust): Likewise.
3300         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3301         Likewise.
3302         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3303         Likewise.
3304         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3305         Likewise.
3306         * nptl/pthread_rwlockattr_getkind_np.c
3307         (pthread_rwlockattr_getkind_np): Likewise.
3308         * nptl/pthread_rwlockattr_getpshared.c
3309         (pthread_rwlockattr_getpshared): Likewise.
3310         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3311         Likewise.
3312         * nptl/pthread_rwlockattr_setkind_np.c
3313         (pthread_rwlockattr_setkind_np): Likewise.
3314         * nptl/pthread_rwlockattr_setpshared.c
3315         (pthread_rwlockattr_setpshared): Likewise.
3316         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3317         Likewise.
3318         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3319         Likewise.
3320         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3321         Likewise.
3322         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3323         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3324         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3325         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3326         * nptl/sem_close.c (sem_close): Likewise.
3327         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3328         * nptl/sem_init.c (__old_sem_init): Likewise.
3329         * nptl/sigaction.c (__sigaction): Likewise.
3330         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3331         * posix/_exit.c (_exit): Likewise.
3332         * posix/alarm.c (alarm): Likewise.
3333         * posix/confstr.c (confstr): Likewise.
3334         * posix/fpathconf.c (__fpathconf): Likewise.
3335         * posix/getgroups.c (__getgroups): Likewise.
3336         * posix/getpgid.c (__getpgid): Likewise.
3337         * posix/group_member.c (__group_member): Likewise.
3338         * posix/pathconf.c (__pathconf): Likewise.
3339         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3340         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3341         * posix/setgid.c (__setgid): Likewise.
3342         * posix/setpgid.c (__setpgid): Likewise.
3343         * posix/setuid.c (__setuid): Likewise.
3344         * posix/sleep.c (__sleep): Likewise.
3345         * posix/sysconf.c (__sysconf): Likewise.
3346         * posix/times.c (__times): Likewise.
3347         * posix/uname.c (__uname): Likewise.
3348         * posix/waitid.c (__waitid): Likewise.
3349         * pwd/getpw.c (__getpw): Likewise.
3350         * resolv/base64.c (b64_pton): Likewise.
3351         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3352         * resolv/gethnamaddr.c (Dprintf): Likewise.
3353         (gethostbyname): Likewise.
3354         (gethostbyname2): Likewise.
3355         (gethostbyaddr): Likewise.
3356         (_sethtent): Likewise.
3357         (_gethtbyname): Likewise.
3358         (_gethtbyname2): Likewise.
3359         (_gethtbyaddr): Likewise.
3360         (map_v4v6_address): Likewise.
3361         (map_v4v6_hostent): Likewise.
3362         (addrsort): Likewise.
3363         (ht_sethostent): Likewise.
3364         (ht_gethostbyname): Likewise.
3365         (ht_gethostbyaddr): Likewise.
3366         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3367         (inet_net_ntop_ipv4): Likewise.
3368         * resolv/inet_neta.c (inet_neta): Likewise.
3369         * resolv/inet_ntop.c (inet_ntop): Likewise.
3370         (inet_ntop4): Likewise.
3371         (inet_ntop6): Likewise.
3372         * resolv/inet_pton.c (__inet_pton): Likewise.
3373         (inet_pton4): Likewise.
3374         (inet_pton6): Likewise.
3375         * resolv/res_debug.c (loc_aton): Likewise.
3376         (loc_ntoa): Likewise.
3377         * resource/getpriority.c (__getpriority): Likewise.
3378         * resource/getrusage.c (__getrusage): Likewise.
3379         * resource/nice.c (nice): Likewise.
3380         * resource/setpriority.c (__setpriority): Likewise.
3381         * resource/setrlimit64.c (setrlimit64): Likewise.
3382         * resource/vlimit.c (vlimit): Likewise.
3383         * resource/vtimes.c (vtimes): Likewise.
3384         * rt/aio_error.c (aio_error): Likewise.
3385         * rt/aio_return.c (aio_return): Likewise.
3386         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3387         * signal/kill.c (__kill): Likewise.
3388         * signal/killpg.c (killpg): Likewise.
3389         * signal/raise.c (raise): Likewise.
3390         * signal/sigaction.c (__sigaction): Likewise.
3391         * signal/sigaddset.c (sigaddset): Likewise.
3392         * signal/sigaltstack.c (sigaltstack): Likewise.
3393         * signal/sigandset.c (sigandset): Likewise.
3394         * signal/sigblock.c (__sigblock): Likewise.
3395         * signal/sigdelset.c (sigdelset): Likewise.
3396         * signal/sigempty.c (sigemptyset): Likewise.
3397         * signal/sigfillset.c (sigfillset): Likewise.
3398         * signal/sighold.c (sighold): Likewise.
3399         * signal/sigignore.c (sigignore): Likewise.
3400         * signal/sigintr.c (siginterrupt): Likewise.
3401         * signal/sigisempty.c (sigisemptyset): Likewise.
3402         * signal/sigismem.c (sigismember): Likewise.
3403         * signal/signal.c (signal): Likewise.
3404         * signal/sigorset.c (sigorset): Likewise.
3405         * signal/sigpause.c (__sigpause): Likewise.
3406         * signal/sigpending.c (sigpending): Likewise.
3407         * signal/sigprocmask.c (__sigprocmask): Likewise.
3408         * signal/sigrelse.c (sigrelse): Likewise.
3409         * signal/sigreturn.c (__sigreturn): Likewise.
3410         * signal/sigset.c (sigset): Likewise.
3411         * signal/sigsetmask.c (__sigsetmask): Likewise.
3412         * signal/sigstack.c (sigstack): Likewise.
3413         * signal/sigsuspend.c (__sigsuspend): Likewise.
3414         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3415         * signal/sysv_signal.c (__sysv_signal): Likewise.
3416         * socket/accept.c (accept): Likewise.
3417         * socket/accept4.c (__libc_accept4): Likewise.
3418         * socket/bind.c (__bind): Likewise.
3419         * socket/connect.c (__connect): Likewise.
3420         * socket/getpeername.c (getpeername): Likewise.
3421         * socket/getsockname.c (__getsockname): Likewise.
3422         * socket/getsockopt.c (getsockopt): Likewise.
3423         * socket/listen.c (__listen): Likewise.
3424         * socket/recv.c (__recv): Likewise.
3425         * socket/recvmsg.c (__recvmsg): Likewise.
3426         * socket/send.c (__send): Likewise.
3427         * socket/sendmsg.c (__sendmsg): Likewise.
3428         * socket/shutdown.c (shutdown): Likewise.
3429         * socket/sockatmark.c (sockatmark): Likewise.
3430         * socket/socket.c (__socket): Likewise.
3431         * stdio-common/ctermid.c (ctermid): Likewise.
3432         * stdio-common/cuserid.c (cuserid): Likewise.
3433         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3434         * stdio-common/remove.c (remove): Likewise.
3435         * stdio-common/rename.c (rename): Likewise.
3436         * stdio-common/renameat.c (renameat): Likewise.
3437         * stdio-common/tempname.c (__gen_tempname): Likewise.
3438         * stdio-common/xbug.c (InitBuffer): Likewise.
3439         (AppendToBuffer): Likewise.
3440         (ReadFile): Likewise.
3441         * stdlib/a64l.c (a64l): Likewise.
3442         * stdlib/drand48_r.c (drand48_r): Likewise.
3443         * stdlib/getcontext.c (getcontext): Likewise.
3444         * stdlib/getenv.c (getenv): Likewise.
3445         * stdlib/l64a.c (l64a): Likewise.
3446         * stdlib/llabs.c (llabs): Likewise.
3447         * stdlib/lldiv.c (lldiv): Likewise.
3448         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3449         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3450         * stdlib/putenv.c (putenv): Likewise.
3451         * stdlib/random.c (__srandom): Likewise.
3452         (__initstate): Likewise.
3453         (__setstate): Likewise.
3454         * stdlib/random_r.c (__srandom_r): Likewise.
3455         (__setstate_r): Likewise.
3456         (__random_r): Likewise.
3457         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3458         * stdlib/setcontext.c (setcontext): Likewise.
3459         * stdlib/setenv.c (setenv): Likewise.
3460         (unsetenv): Likewise.
3461         * stdlib/srand48.c (srand48): Likewise.
3462         * stdlib/srand48_r.c (__srand48_r): Likewise.
3463         * stdlib/swapcontext.c (swapcontext): Likewise.
3464         * stdlib/system.c (__libc_system): Likewise.
3465         * stdlib/tst-strtod.c (expand): Likewise.
3466         * stdlib/tst-strtol.c (expand): Likewise.
3467         * stdlib/tst-strtoll.c (expand): Likewise.
3468         * streams/fattach.c (fattach): Likewise.
3469         * streams/fdetach.c (fdetach): Likewise.
3470         * streams/getmsg.c (getmsg): Likewise.
3471         * streams/isastream.c (isastream): Likewise.
3472         * string/ffs.c (__ffs): Likewise.
3473         * string/ffsll.c (ffsll): Likewise.
3474         * string/memcmp.c (memcmp_common_alignment): Likewise.
3475         (memcmp_not_common_alignment): Likewise.
3476         (MEMCMP): Likewise.
3477         * string/memcpy.c (memcpy): Likewise.
3478         * string/memmove.c (MEMMOVE): Likewise.
3479         * string/memset.c (memset): Likewise.
3480         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3481         * string/strchrnul.c (STRCHRNUL): Likewise.
3482         * string/strerror.c (strerror): Likewise.
3483         * string/strndup.c (__strndup): Likewise.
3484         * string/strverscmp.c (__strverscmp): Likewise.
3485         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3486         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3487         (clnttcp_freeres): Likewise.
3488         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3489         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3490         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3491         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3492         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3493         (xdr_callhdr): Likewise.
3494         * sunrpc/rpcinfo.c (udpping): Likewise.
3495         (tcpping): Likewise.
3496         (pstatus): Likewise.
3497         (pmapdump): Likewise.
3498         (brdcst): Likewise.
3499         (deletereg): Likewise.
3500         (getprognum): Likewise.
3501         (getvers): Likewise.
3502         (get_inet_address): Likewise.
3503         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
3504         * sunrpc/svc_udp.c (svcudp_create): Likewise.
3505         (svcudp_stat): Likewise.
3506         (svcudp_recv): Likewise.
3507         (svcudp_reply): Likewise.
3508         (svcudp_getargs): Likewise.
3509         (svcudp_freeargs): Likewise.
3510         (svcudp_destroy): Likewise.
3511         * sunrpc/xdr.c (xdr_bytes): Likewise.
3512         (xdr_netobj): Likewise.
3513         (xdr_string): Likewise.
3514         (xdr_wrapstring): Likewise.
3515         * sunrpc/xdr_float.c (xdr_float): Likewise.
3516         (xdr_double): Likewise.
3517         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
3518         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
3519         * sysvipc/ftok.c (ftok): Likewise.
3520         * sysvipc/msgctl.c (msgctl): Likewise.
3521         * sysvipc/msgget.c (msgget): Likewise.
3522         * sysvipc/msgrcv.c (msgrcv): Likewise.
3523         * sysvipc/msgsnd.c (msgsnd): Likewise.
3524         * sysvipc/semget.c (semget): Likewise.
3525         * sysvipc/semop.c (semop): Likewise.
3526         * sysvipc/shmat.c (shmat): Likewise.
3527         * sysvipc/shmctl.c (shmctl): Likewise.
3528         * sysvipc/shmdt.c (shmdt): Likewise.
3529         * sysvipc/shmget.c (shmget): Likewise.
3530         * termios/cfmakeraw.c (cfmakeraw): Likewise.
3531         * termios/speed.c (cfgetospeed): Likewise.
3532         (cfgetispeed): Likewise.
3533         (cfsetospeed): Likewise.
3534         (cfsetispeed): Likewise.
3535         * termios/tcflow.c (tcflow): Likewise.
3536         * termios/tcflush.c (tcflush): Likewise.
3537         * termios/tcgetattr.c (__tcgetattr): Likewise.
3538         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
3539         * termios/tcgetsid.c (tcgetsid): Likewise.
3540         * termios/tcsendbrk.c (tcsendbreak): Likewise.
3541         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
3542         * time/adjtime.c (__adjtime): Likewise.
3543         * time/dysize.c (dysize): Likewise.
3544         * time/ftime.c (ftime): Likewise.
3545         * time/getitimer.c (__getitimer): Likewise.
3546         * time/gettimeofday.c (__gettimeofday): Likewise.
3547         * time/gmtime.c (__gmtime_r): Likewise.
3548         (gmtime): Likewise.
3549         * time/localtime.c (__localtime_r): Likewise.
3550         (localtime): Likewise.
3551         * time/offtime.c (__offtime): Likewise.
3552         * time/settimeofday.c (__settimeofday): Likewise.
3553         * time/stime.c (stime): Likewise.
3554         * time/strftime_l.c (tm_diff): Likewise.
3555         (iso_week_days): Likewise.
3556         * time/strptime.c (strptime): Likewise.
3557         * time/time.c (time): Likewise.
3558         * time/timespec_get.c (timespec_get): Likewise.
3559         * time/tzset.c (tzset_internal): Likewise.
3560         (compute_change): Likewise.
3561         (__tz_compute): Likewise.
3562         * wcsmbs/btowc.c (__btowc): Likewise.
3563         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
3564         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
3565         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
3566         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
3567         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
3568         * wcsmbs/wcscat.c (__wcscat): Likewise.
3569         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3570         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
3571         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
3572         * wcsmbs/wcscspn.c (wcscspn): Likewise.
3573         * wcsmbs/wcsdup.c (wcsdup): Likewise.
3574         * wcsmbs/wcslen.c (__wcslen): Likewise.
3575         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
3576         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
3577         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
3578         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
3579         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3580         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
3581         * wcsmbs/wcsspn.c (wcsspn): Likewise.
3582         * wcsmbs/wcsstr.c (wcsstr): Likewise.
3583         * wcsmbs/wcstok.c (wcstok): Likewise.
3584         * wcsmbs/wctob.c (wctob): Likewise.
3585         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
3586         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3587         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
3588         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
3589         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
3590         * wcsmbs/wmemset.c (__wmemset): Likewise.
3591         * wctype/wcfuncs.c (__towlower): Likewise.
3592         (__towupper): Likewise.
3594         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
3595         (lll_unlock_elision): Add adapt_count parameter.
3597 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3599         * sysdeps/nptl/configure.ac: Do not give errors based on the
3600         results of top-level configure tests.
3601         * sysdeps/nptl/configure: Regenerated.
3603         * configure.ac (libc_cv_Bgroup): Remove configure test.
3604         * configure: Regenerated.
3605         * config.make.in (have-Bgroup): Remove variable.
3607         * configure.ac (sizeof_long_double): Remove configure test.
3608         * configure: Regenerated.
3609         * config.make.in (sizeof-long-double): Remove variable.
3611         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
3612         * configure: Regenerated.
3613         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
3614         variable.
3615         (exceptions): Likewise.
3616         * sysdeps/arm/configure: Regenerated.
3617         * config.make.in (exceptions): Remove variable.
3618         * Makeconfig (uses-callbacks): Use -fexceptions instead of
3619         $(exceptions).
3620         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
3621         (CFLAGS-vdprintf_chk.c): Likewise.
3622         (CFLAGS-printf_chk.c): Likewise.
3623         (CFLAGS-fprintf_chk.c): Likewise.
3624         (CFLAGS-vprintf_chk.c): Likewise.
3625         (CFLAGS-vfprintf_chk.c): Likewise.
3626         (CFLAGS-gets_chk.c): Likewise.
3627         (CFLAGS-fgets_chk.c): Likewise.
3628         (CFLAGS-fgets_u_chk.c): Likewise.
3629         (CFLAGS-fread_chk.c): Likewise.
3630         (CFLAGS-fread_u_chk.c): Likewise.
3631         (CFLAGS-wprintf_chk.c): Likewise.
3632         (CFLAGS-fwprintf_chk.c): Likewise.
3633         (CFLAGS-vwprintf_chk.c): Likewise.
3634         (CFLAGS-vfwprintf_chk.c): Likewise.
3635         (CFLAGS-fgetws_chk.c): Likewise.
3636         (CFLAGS-fgetws_u_chk.c): Likewise.
3637         * libio/Makefile (CFLAGS-fileops.c): Likewise.
3638         (CFLAGS-fputc.c): Likewise.
3639         (CFLAGS-fputwc.c): Likewise.
3640         (CFLAGS-freopen64.c): Likewise.
3641         (CFLAGS-freopen.c): Likewise.
3642         (CFLAGS-fseek.c): Likewise.
3643         (CFLAGS-fseeko64.c): Likewise.
3644         (CFLAGS-fseeko.c): Likewise.
3645         (CFLAGS-ftello64.c): Likewise.
3646         (CFLAGS-ftello.c): Likewise.
3647         (CFLAGS-fwide.c): Likewise.
3648         (CFLAGS-genops.c): Likewise.
3649         (CFLAGS-getc.c): Likewise.
3650         (CFLAGS-getchar.c): Likewise.
3651         (CFLAGS-getwc.c): Likewise.
3652         (CFLAGS-getwchar.c): Likewise.
3653         (CFLAGS-iofclose.c): Likewise.
3654         (CFLAGS-iofflush.c): Likewise.
3655         (CFLAGS-iofgetpos64.c): Likewise.
3656         (CFLAGS-iofgetpos.c): Likewise.
3657         (CFLAGS-iofgets.c): Likewise.
3658         (CFLAGS-iofgetws.c): Likewise.
3659         (CFLAGS-iofputs.c): Likewise.
3660         (CFLAGS-iofputws.c): Likewise.
3661         (CFLAGS-iofread.c): Likewise.
3662         (CFLAGS-iofsetpos64.c): Likewise.
3663         (CFLAGS-iofsetpos.c): Likewise.
3664         (CFLAGS-ioftell.c): Likewise.
3665         (CFLAGS-iofwrite.c): Likewise.
3666         (CFLAGS-iogetdelim.c): Likewise.
3667         (CFLAGS-iogetline.c): Likewise.
3668         (CFLAGS-iogets.c): Likewise.
3669         (CFLAGS-iogetwline.c): Likewise.
3670         (CFLAGS-ioputs.c): Likewise.
3671         (CFLAGS-ioseekoff.c): Likewise.
3672         (CFLAGS-ioseekpos.c): Likewise.
3673         (CFLAGS-iosetbuffer.c): Likewise.
3674         (CFLAGS-iosetvbuf.c): Likewise.
3675         (CFLAGS-ioungetc.c): Likewise.
3676         (CFLAGS-ioungetwc.c): Likewise.
3677         (CFLAGS-oldfileops.c): Likewise.
3678         (CFLAGS-oldiofclose.c): Likewise.
3679         (CFLAGS-oldiofgetpos64.c): Likewise.
3680         (CFLAGS-oldiofgetpos.c): Likewise.
3681         (CFLAGS-oldiofsetpos64.c): Likewise.
3682         (CFLAGS-oldiofsetpos.c): Likewise.
3683         (CFLAGS-peekc.c): Likewise.
3684         (CFLAGS-putc.c): Likewise.
3685         (CFLAGS-putchar.c): Likewise.
3686         (CFLAGS-putwc.c): Likewise.
3687         (CFLAGS-putwchar.c): Likewise.
3688         (CFLAGS-rewind.c): Likewise.
3689         (CFLAGS-wfileops.c): Likewise.
3690         (CFLAGS-wgenops.c): Likewise.
3691         (CFLAGS-oldiofopen.c): Likewise.
3692         (CFLAGS-iofopen.c): Likewise.
3693         (CFLAGS-iofopen64.c): Likewise.
3694         (CFLAGS-oldtmpfile.c): Likewise.
3695         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
3696         (CFLAGS-fprintf.c): Likewise.
3697         (CFLAGS-printf.c): Likewise.
3698         (CFLAGS-vfwprintf.c): Likewise.
3699         (CFLAGS-vfscanf.c): Likewise.
3700         (CFLAGS-vfwscanf.c): Likewise.
3701         (CFLAGS-fscanf.c): Likewise.
3702         (CFLAGS-scanf.c): Likewise.
3703         (CFLAGS-isoc99_vfscanf.c): Likewise.
3704         (CFLAGS-isoc99_vscanf.c): Likewise.
3705         (CFLAGS-isoc99_fscanf.c): Likewise.
3706         (CFLAGS-isoc99_scanf.c): Likewise.
3707         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
3708         (CFLAGS-isoc99_fwscanf.c): Likewise.
3709         (CFLAGS-isoc99_vwscanf.c): Likewise.
3710         (CFLAGS-isoc99_vfwscanf.c): Likewise.
3712         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
3713         after mkstemp64.
3714         * login/tst-utmp.c (do_prepare): Likewise.
3715         * rt/tst-aio.c (do_prepare): Likewise.
3716         * rt/tst-aio64.c (do_prepare): Likewise.
3718 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3720         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3721         (__lll_lock_elision): Remove adapt_count decrement...
3722         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3723         (__lll_trylock_elision): Likewise.
3724         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3725         (__lll_unlock_elision): ... to here. And utilize
3726         new adapt_count parameter.
3727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3728         (__lll_unlock_elision): Update to include adapt_count
3729         parameter.
3730         (lll_unlock_elision): Pass pointer to adapt_count
3731         variable.
3733 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3735         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
3736         Add elision adapt_count parameter to list of arguments.
3737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
3738         (lll_unlock_elision): Update with new parameter list
3739         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
3740         (lll_unlock_elision): Likewise
3741         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
3742         (lll_unlock_elision): Likewise
3744 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3746         [BZ #19122]
3747         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
3748         attribute_hidden.
3750         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
3751         attribute_hidden.
3752         [IS_IN (rtld)] (__strdup): Likewise.
3753         [IS_IN (rtld)] (__strerror_r): Likewise.
3754         [IS_IN (rtld)] (__strsep_g): Likewise.
3755         [IS_IN (rtld)] (memchr): Likewise.
3756         [IS_IN (rtld)] (memcmp): Likewise.
3757         [IS_IN (rtld)] (memcpy): Likewise.
3758         [IS_IN (rtld)] (memmove): Likewise.
3759         [IS_IN (rtld)] (memset): Likewise.
3760         [IS_IN (rtld)] (rawmemchr): Likewise.
3761         [IS_IN (rtld)] (stpcpy): Likewise.
3762         [IS_IN (rtld)] (strchr): Likewise.
3763         [IS_IN (rtld)] (strcmp): Likewise.
3764         [IS_IN (rtld)] (strlen): Likewise.
3765         [IS_IN (rtld)] (strnlen): Likewise.
3766         [IS_IN (rtld)] (strsep): Likewise.
3768         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
3769         attribute_hidden.
3770         [IS_IN (rtld)] (__strtoul_internal): Likewise.
3772         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
3773         attribute_hidden.
3774         [IS_IN (rtld)] (__libc_sigaction): Likewise.
3776         * include/setjmp.h (__longjmp): Add attribute_hidden.
3777         [IS_IN (rtld)] (__sigsetjmp): Likewise.
3779         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
3780         Add attribute_hidden.
3782         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
3783         [IS_IN (rtld)] (__open): Likewise.
3784         [IS_IN (rtld)] (__fcntl): Likewise.
3786         * include/dirent.h (__opendirat): Add attribute_hidden.
3787         (__getdents): Likewise.
3788         (__getdents64): Likewise.
3789         (__alloc_dir): Likewise.
3790         [IS_IN (rtld)] (__closedir): Likewise.
3791         [IS_IN (rtld)] (__fdopendir): Likewise.
3792         [IS_IN (rtld)] (__readdir): Likewise.
3793         [IS_IN (rtld)] (__readdir64): Likewise.
3794         [IS_IN (rtld)] (__rewinddir): Likewise.
3796         * include/dlfcn.h (_dl_catch_error): Moved to ...
3797         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
3798         attribute_hidden.
3800         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
3801         (_itoa_word): Likewise.
3803         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
3804         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
3805         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
3806         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
3807         (_dl_higher_prime_number): Likewise.
3808         (_dl_debug_printf_c): Likewise.
3809         (_dl_signal_cerror): Likewise.
3810         (_dl_receive_error): Likewise.
3811         (_dl_reloc_bad_type): Likewise.
3812         (_dl_resolve_conflicts): Likewise.
3813         (_dl_check_all_versions): Likewise.
3814         (_dl_check_map_versions): Likewise.
3815         (_dl_sort_fini): Likewise.
3816         (_dl_debug_initialize): Likewise.
3817         (_dl_init_paths): Likewise.
3818         (_dl_show_auxv): Likewise.
3819         (_dl_next_ld_env_entry): Likewise.
3820         (_dl_important_hwcaps): Likewise.
3821         (_dl_load_cache_lookup): Likewise.
3822         (_dl_update_slotinfo): Likewise.
3823         (_dl_show_scope): Likewise.
3825         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
3826         attribute_hidden.
3827         (_wordcopy_fwd_dest_aligned): Likewise.
3828         (_wordcopy_bwd_aligned): Likewise.
3829         (_wordcopy_bwd_dest_aligned): Likewise.
3831         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3832         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3833         Likewise.
3834         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
3835         Likewise.
3836         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
3838 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3840         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
3841         GCC 5 requirement.
3843 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
3845         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
3846         test.
3847         * sysdeps/i386/configure: Regenerated.
3848         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
3849         code unconditional.
3851         * configure.ac (libc_cv_asm_previous_directive): Remove configure
3852         test.
3853         (libc_cv_asm_popsection_directive): Likewise.
3854         * configure: Regenerated.
3855         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
3856         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
3857         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
3858         (__make_section_unallocated): Make definition unconditional.
3859         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
3860         Remove conditional definition.
3861         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
3862         (__make_section_unallocated): Likewise.
3864         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
3865         * configure: Regenerated.
3866         * config.make.in (static-libgcc): Remove variable.
3867         * Makerules (build-shlib-helper): Use -static-libgcc instead of
3868         $(static-libgcc).
3869         (build-module-helper): Likewise.
3871         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
3872         * configure: Regenerated.
3874 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3876         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
3877         (struct char_buffer): New type.
3878         (char_buffer_start, char_buffer_size, char_buffer_error)
3879         (char_buffer_rewind, char_buffer_add): New functions.
3880         (ADDW): Remove macro, replaced by the char_buffer_add function.
3881         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
3882         of extend_alloca.  Make control flow more explicit.
3884 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3886         [BZ #19137]
3887         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
3888         Add -fomit-frame-pointer.
3889         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
3891 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3893         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
3894         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
3895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
3896         only if !__GNUC_PREREQ (5,0).
3897         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
3898         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
3899         (INTERNAL_SYSCALL_NCS): Likewise.
3900         (LOADREGS_0): New macro for GCC 5.
3901         (ASMARGS_0): Likewise.
3902         (LOADREGS_1): Likewise.
3903         (ASMARGS_1): Likewise.
3904         (LOADREGS_2): Likewise.
3905         (ASMARGS_2): Likewise.
3906         (LOADREGS_3): Likewise.
3907         (ASMARGS_3): Likewise.
3908         (LOADREGS_4): Likewise.
3909         (ASMARGS_4): Likewise.
3910         (LOADREGS_5): Likewise.
3911         (ASMARGS_5): Likewise.
3912         (LOADREGS_6): Likewise.
3913         (ASMARGS_6): Likewise.
3915 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
3917         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
3918         -fomit-frame-pointer.
3919         (CFLAGS-mmap64.c): Likewise.
3920         (CFLAGS-semtimedop.c): Likewise.
3921         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
3922         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
3923         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3924         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3926 2015-10-15  Florian Weimer  <fweimer@redhat.com>
3928         [BZ #18928]
3929         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
3930         _dl_pointer_guard member.
3931         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
3932         initializer.
3933         (security_init): Always set up pointer guard.
3934         (process_envvars): Do not process LD_POINTER_GUARD.
3936 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3938         [BZ #19134]
3939         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3940         (.LC2): Likewise.
3941         (.LC3): Likewise.
3942         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3944 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3946         [BZ #19129]
3947         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3948         r0 and r1.
3950 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3952         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3954 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3956         * include/stap-probe.h: Fix macro definition formatting.
3958 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3960         [BZ #19074]
3961         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3962         load and store num_ifs.
3964 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3966         [BZ #18822]
3967         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3968         (__sched_getaffinity_new): Add libc_hidden_proto and
3969         libc_hidden_def.
3971 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3973         [BZ #19007]
3974         * scripts/localplt.awk: Also allow GOT references.
3975         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3976         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3977         with "+ REL R_386_GLOB_DAT".
3978         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3979         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3981 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3983         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3984         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3985         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3986         Likewise.
3987         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3988         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3989         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3990         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3991         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3992         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3993         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3994         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3995         Likewise.
3996         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3998 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4000         [BZ #19125]
4001         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4002         <math_private.h> and <stdint.h>.
4003         (__llround): Avoid conversions to and from long long int, and
4004         subtractions, where those might raise spurious exceptions.
4005         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4006         <math_private.h> and <stdint.h>.
4007         (__llroundf): Avoid conversions to and from long long int, and
4008         subtractions, where those might raise spurious exceptions.
4010 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4012         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4013         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4014         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4015         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4016         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4017         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4018         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4019         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4020         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4021         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4022         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4023         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4024         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4025         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4026         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4027         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4028         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4029         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4030         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4031         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4032         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4033         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4034         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4035         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4036         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4037         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4038         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4039         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4040         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4041         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4042         (__xstat64_conv): Likewise.
4043         (__xstat32_conv): Likewise.
4045 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4047         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4048         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4049         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4050         <sysdeps/unix/sysv/linux/sysdep.h>.
4051         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4052         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4053         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4054         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4055         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4056         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4057         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4058         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4059         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4064         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4065         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4067         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4068         (sysdep-dl-routines): Add sysdep.
4069         [$(subdir) == nptl] (libpthread-routines): Likewise.
4070         [$(subdir) == rt] (librt-routines): Likewise.
4071         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4072         PIC when branching to SYSCALL_ERROR_LABEL.
4073         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4074         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4075         <sysdeps/unix/sysv/linux/sysdep.h>.
4076         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4077         (SYSCALL_ERROR_ERRNO): Removed.
4078         (SYSCALL_ERROR_HANDLER): Changed to empty.
4079         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4080         (__syscall_error): New prototype.
4081         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4082         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4084 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4086         [BZ #19124]
4087         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4088         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4089         _dl_runtime_resolve_avx.
4090         (_dl_runtime_profile_avx512): Make it a hidden alias of
4091         _dl_runtime_profile_avx.
4093 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4095         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4096         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4097         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4098         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4100         [BZ #16422]
4101         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4102         New configure test.
4103         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4104         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4105         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4106         <math_private.h> and <stdint.h>.
4107         (__llrint): Avoid conversions to long long int where those might
4108         raise spurious exceptions.
4109         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4110         <math_private.h> and <stdint.h>.
4111         (__llrintf): Avoid conversions to long long int where those might
4112         raise spurious exceptions.
4114 2015-10-12  Andreas Schwab  <schwab@suse.de>
4116         [BZ #18969]
4117         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4118         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4119         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4120         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4121         $(gen-locales).
4122         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4123         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4124         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4125         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4126         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4127         $(gen-locales).
4128         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4129         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4130         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4131         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4132         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4133         ($(objpfx)tst-ftell-active-handler.out)
4134         ($(objpfx)tst-ftell-append.out)
4135         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4136         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4137         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4138         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4139         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4140         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4141         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4142         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4143         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4144         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4145         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4146         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4147         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4148         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4149         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4150         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4151         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4152         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4153         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4154         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4155         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4156         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4157         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4158         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4159         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4160         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4161         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4162         $(gen-locales).
4163         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4164         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4165         $(gen-locales).
4166         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4167         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4168         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4169         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4170         $(gen-locales).
4171         * libio/tst_wprintf2.c (main): Use explicit locale.
4172         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4174 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4176         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4177         __msg_sig_post.
4178         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4180 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4182         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4183         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4185         * sysdeps/arm/libm-test-ulps: Regenerated.
4187         [BZ #15470]
4188         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4190         [BZ #16399]
4191         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4192         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4193         and <fix-fp-int-convert-overflow.h>.
4194         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4195         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4196         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4197         and <fix-fp-int-convert-overflow.h>.
4198         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4199         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4200         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4201         <fix-fp-int-convert-overflow.h>.
4202         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4203         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4204         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4205         <fix-fp-int-convert-overflow.h>.
4206         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4207         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4208         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4209         and <fix-fp-int-convert-overflow.h>.
4210         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4211         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4212         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4213         <limits.h> and <fix-fp-int-convert-overflow.h>.
4214         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4215         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4216         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4217         and <fix-fp-int-convert-overflow.h>.
4218         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4219         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4220         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4221         and <fix-fp-int-convert-overflow.h>.
4222         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4223         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4224         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4226 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4228         [BZ #18589]
4229         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4230         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4231         $(gen-locales).
4233 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4234             Phil Blundell <pb@pbcl.net>
4236         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4237         * nptl/tst-cancel26.c: New file.
4238         * nptl/tst-cancel27.c: Likewise.
4240 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4242         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4243         __ILP32__ isn't defined.
4244         (lrint): Likewise.
4245         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4246         (lrintf): Likewise.
4247         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4248         (lrintl): Likewise.
4249         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4250         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4251         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4253 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4255         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4256         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4258         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4259         file.
4260         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4261         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4263 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4265         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4266         configure test.
4267         * sysdeps/i386/configure: Regenerated.
4268         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4269         configure test.
4270         * sysdeps/x86_64/configure: Regenerated.
4271         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4272         Make code unconditional.
4274         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4275         test.
4276         * sysdeps/i386/configure: Regenerated.
4277         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4278         test.
4279         * sysdeps/x86_64/configure: Regenerated.
4280         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4281         Make code unconditional.
4282         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4283         Likewise.
4284         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4285         Likewise.
4286         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4287         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4288         code unconditional.
4289         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4290         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4291         code unconditional.
4292         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4293         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4294         code unconditional.
4295         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4296         code unconditional.
4297         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4298         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4299         code unconditional.
4300         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4301         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4302         code unconditional.
4303         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4304         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4305         code unconditional.
4306         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4307         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4308         code unconditional.
4309         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4310         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4312         [BZ #19095]
4313         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4314         mantissa to long int before shifting left.
4316 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4318         [BZ #19094]
4319         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4320         <limits.h>.
4321         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4322         when result overflows but exception would not result from cast.
4323         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4324         <limits.h>.
4325         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4326         when result overflows but exception would not result from cast.
4327         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4328         <limits.h>.
4329         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4330         when result overflows but exception would not result from cast.
4331         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4332         <limits.h>.
4333         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4334         when result overflows but exception would not result from cast.
4335         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4336         <limits.h>.
4337         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4338         when result overflows but exception would not result from cast.
4339         * math/libm-test.inc (lrint_test_data): Add more tests.
4340         (llrint_test_data): Likewise.
4342 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4344         [BZ #18872]
4345         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4346         Move out from under [$(run-built-tests) = yes] conditional.
4347         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4348         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4350 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4352         [BZ #18589]
4353         * string/Makefile (tests): Add bug-strcoll2.
4354         (LOCALES): Add cs_CZ.UTF-8.
4355         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4357         [BZ #18589]
4358         * string/bug-strcoll2.c: New file.
4359         * locale/categories.def: Revert commit
4360         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4361         * locale/langinfo.h: Likewise.
4362         * locale/localeinfo.h: Likewise.
4363         * locale/C-collate.c: Likewise.
4364         * locale/programs/ld-collate.c (collate_output): Likewise.
4365         * string/strcoll_l.c (STRDIFF): Likewise.
4366         (STRCOLL): Likewise.
4367         * wcsmbs/wcscoll_l.c: Likewise.
4369 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4371         * math/libm-test.inc (lround_test_data): Do not expect the absence
4372         of "inexact" for some tests with non-integer arguments.
4373         (llround_test_data): Likewise.
4375         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4376         test.
4377         (libc_cv_cc_sse2avx): Likewise.
4378         * sysdeps/i386/configure: Regenerated.
4379         * sysdeps/i386/i686/multiarch/Makefile
4380         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4381         [$(subdir) = math].
4382         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4383         code unconditional.
4384         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4385         Likewise.
4386         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4387         Likewise.
4388         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4389         Likewise.
4390         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4391         test.
4392         (libc_cv_cc_sse2avx): Likewise.
4393         * sysdeps/x86_64/configure: Regenerated.
4394         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4395         unconditional.
4396         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4397         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4398         unconditional.
4399         (_dl_runtime_profile)
4400         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4401         conditional code.
4402         * sysdeps/x86_64/fpu/multiarch/Makefile
4403         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4405         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4406         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4407         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4408         * sysdeps/x86_64/fpu/multiarch/e_log.c
4409         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4410         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4411         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4412         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4413         Likewise.
4414         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4415         Likewise.
4416         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4417         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4418         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4419         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4420         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4421         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4422         (HAVE_SSE2AVX_SUPPORT): Likewise.
4424 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4426         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4427         instead of #pragma optimize.
4429 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4431         [BZ #17195]
4432         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4433         as is similarly done in systrim and _int_free already.
4435 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4437         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4439 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4441         [BZ #19088]
4442         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4443         <limits.h>.
4444         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4445         overflows but exception would not result from cast.
4446         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4447         and <limits.h>.
4448         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4449         overflows but exception would not result from cast.
4450         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4451         <limits.h>.
4452         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4453         overflows but exception would not result from cast.
4454         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4455         <limits.h>.
4456         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4457         overflows but exception would not result from cast.
4458         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4459         <limits.h>.
4460         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4461         overflows but exception would not result from cast.
4462         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4463         <limits.h>.
4464         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4465         overflows but exception would not result from cast.
4466         * math/libm-test.inc (lround_test_data): Add more tests.
4467         (llround_test_data): Likewise.
4469 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4471         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4472         (CFLAGS-ialloc.c): Ditto.
4473         (CFLAGS-scheck.c): Ditto.
4475 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4477         [BZ #19086]
4478         * manual/filesys.texi (Storage Allocation): Fix argument order for
4479         posix_fallocate64.
4481 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #19085]
4484         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4485         exponent below 48 inside case for non-overflowing exponent.
4486         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4488 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4490         * iconvdata/cp737.h (from_idx): Add const.
4491         * iconvdata/cp775.h (from_idx): Likewise.
4493 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4495         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4496         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4497         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4499         [BZ #19079]
4500         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4501         file, conditioned on [!_LP64].
4502         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
4503         [!_LP64] (__lround): Do not define as function or alias.
4504         [!_LP64] (lround): Likewise.
4505         [!_LP64] (__lroundl): Likewise.
4506         [!_LP64] (lroundl): Likewise.
4507         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
4508         macro.
4509         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4510         Likewise.
4512 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4514         * math/libm-test.inc (lrint_test_data): Add more tests.
4515         (llrint_test_data): Likewise.
4516         (lround_test_data): Likewise.
4517         (llround_test_data): Likewise.
4519         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
4520         (llrint_test_data): Add tests used for lrint.
4522         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
4523         test.
4524         * sysdeps/i386/configure: Regenerated.
4525         * sysdeps/i386/i686/multiarch/Makefile
4526         [$(config-cflags-sse4) = yes]: Make code unconditional.
4527         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4528         Likewise.
4529         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
4530         Likewise.
4531         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
4532         test.
4533         * sysdeps/x86_64/configure: Regenerated.
4534         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
4535         Make code unconditional.
4536         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
4537         Likewise.
4538         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
4539         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
4541         * scripts/rpm2dynsym.sh: Remove file.
4543 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4545         * configure.ac (libc_cv_cxx_thread_local): Define.
4546         * configure: Regenerate.
4547         * config.make.in (have-cxx-thread_local): Define.
4548         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
4549         (LDLIBS-tst-thread_local1): Define.
4550         (tests): Add tst-thread_local1.
4551         [have-cxx-thread_local != yes] (tests-unsupported): Add
4552         tst-thread_local1.
4553         * nptl/tst-thread_local1.cc: New file.
4555 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
4557         [BZ #19078]
4558         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
4559         (u_thres): Likewise.
4560         (__expl): Determine whether to call __kernel_standard_l based on
4561         value of result, not argument.
4563         * math/libm-test.inc (scalb_test_data): Add more expectations for
4564         the "inexact" exception.
4566         [BZ #19077]
4567         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
4568         0.0L for argument 1.0L.
4570         [BZ #19076]
4571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
4572         constant 0.0L when computing infinite result.
4574 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4576         [BZ #10432]
4577         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
4578         malloc_usable_size.
4580 2015-10-06  Florian Weimer  <fweimer@redhat.com>
4582         [BZ #19018]
4583         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4584         Mangle function pointer before storing it.
4585         (__call_tls_dtors): Demangle function pointer before calling it.
4587 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4589         [BZ #19012]
4590         * iconv/gconv_db.c (gen_steps): Check for additional errors.
4591         Clean up on failure.
4593 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
4595         [BZ #19071]
4596         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
4597         long int variable to store possibly incremented high part of
4598         mantissa.
4599         * math/libm-test.inc (lround_test_data): Add tests used for
4600         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
4601         for tests requiring 64-bit long.  Do not condition tests on
4602         [TEST_FLOAT] unnecessarily.
4603         (llround_test_data): Add tests used for lround.  Add another
4604         expectation for the "inexact" exception.  Do not condition tests
4605         on [TEST_FLOAT] unnecessarily.
4607         [BZ #887]
4608         [BZ #19049]
4609         [BZ #19050]
4610         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
4611         * sysdeps/ieee754/dbl-64/e_log10.c: Include
4612         <fix-int-fp-convert-zero.h>.
4613         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4614         * sysdeps/ieee754/dbl-64/e_log2.c: Include
4615         <fix-int-fp-convert-zero.h>.
4616         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4617         * sysdeps/ieee754/dbl-64/s_erf.c: Include
4618         <fix-int-fp-convert-zero.h>.
4619         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4620         * sysdeps/ieee754/dbl-64/s_logb.c: Include
4621         <fix-int-fp-convert-zero.h>.
4622         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4623         * sysdeps/ieee754/flt-32/e_log10f.c: Include
4624         <fix-int-fp-convert-zero.h>.
4625         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4626         * sysdeps/ieee754/flt-32/e_log2f.c: Include
4627         <fix-int-fp-convert-zero.h>.
4628         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4629         * sysdeps/ieee754/flt-32/s_erff.c: Include
4630         <fix-int-fp-convert-zero.h>.
4631         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4632         * sysdeps/ieee754/flt-32/s_logbf.c: Include
4633         <fix-int-fp-convert-zero.h>.
4634         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
4636         <fix-int-fp-convert-zero.h>.
4637         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4638         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
4639         <fix-int-fp-convert-zero.h>.
4640         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
4641         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
4642         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
4643         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
4644         file.
4645         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
4647 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4649         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4651 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
4653         [BZ #19059]
4654         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
4655         overflowing computation.
4656         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4657         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4659         Likewise.
4660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4661         Likewise.
4662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4663         Likewise.
4664         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4665         Likewise.
4666         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4667         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4668         Likewise.
4669         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4670         Likewise.
4671         * math/libm-test.inc (nexttoward_test_data): Add more tests.
4673         * nss/rewrite_field.c (__nss_rewrite_field): Use
4674         internal_function.
4675         * nss/valid_field.c (__nss_valid_field): Likewise.
4676         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
4678 2015-10-02  Florian Weimer  <fweimer@redhat.com>
4680         [BZ #18724]
4681         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
4682         (__nss_invalid_field_characters, __nss_valid_field)
4683         (__nss_valid_list_field, __nss_rewrite_field): Declare.
4684         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
4685         tst-field.c: New file.
4686         * nss/Makefile (routines): Add valid_field, rewrite_field.
4687         (tests-static): Define unconditionally.
4688         (tests): Include tests-static.
4689         [build-static-nss] (tests-static): Use append.
4690         [build-static-nss] (tests): Remove modification.
4691         * nss/getent.c (print_group): Call putgrent.  Report error.
4692         (print_gshadow): Call putsgent.  Report error.
4693         (print_passwd): Call putpwent.  Report error.
4694         (print_shadow): Call putspent.  Report error.
4695         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
4696         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
4697         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
4698         name, password, directory, shell fields for valid syntax.  Rewrite
4699         GECOS field to match syntax.
4700         * pwd/Makefile (tests): Add tst-putpwent.
4701         * pwd/tst-putpwent.c: New file.
4702         * grp/putgrent.c (putgrent): Convert to ISO function definition.
4703         Check grName, grpasswd, gr_mem fields for valid syntax.
4704         Change loop variable i to size_t.
4705         * grp/Makefile (tests): Add tst-putgrent.
4706         * grp/tst-putgrent.c: New file.
4707         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
4708         valid syntax.
4709         * shadow/Makefile (tests): Add tst-putspent.
4710         * shadow/tst-putspent.c: New file.
4711         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
4712         sg_mem fields for valid syntax.
4713         * gshadow/Makefile (tests): Add tst-putsgent.
4714         * gshadow/tst-putsgent.c: New file.
4716 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4718         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
4719         assembly instructions.
4721 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4723         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
4724         prefix from operands.
4726 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
4728         [BZ #16347]
4729         [BZ #19046]
4730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
4731         <libc-internal.h>.
4732         (MAXLGM): Do not use diagnostic control macros.
4733         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
4734         threshold for ldbl-128ibm.
4735         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
4736         instead of multiplying by log then subtracting.
4737         * math/auto-libm-test-in: Add more tests of lgamma.
4738         * math/auto-libm-test-out: Regenerated.
4740         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
4741         (TYPE_HEX_DIG): Likewise.
4742         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
4743         precisions when printing floating-point numbers.
4744         (check_float_internal): Likewise.
4746 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4748         [BZ #16620]
4749         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
4750         of log (10) rounded downward to 48 bits.
4751         (log10_low): Use corresponding low part of log (10).
4753         [BZ #19032]
4754         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
4755         compute result as (x - x) / (x - x) not as 0 / 0.
4756         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4757         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
4759         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4760         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
4761         and expm1.
4762         * math/auto-libm-test-out: Regenerated.
4763         * math/libm-test.inc (acos_test_data): Add more tests.
4764         (asin_test_data): Likewise.
4765         (asinh_test_data): Likewise.
4766         (atan_test_data): Likewise.
4767         (atanh_test_data): Likewise.
4768         (atan2_test_data): Likewise.
4769         (cbrt_test_data): Likewise.
4770         (ceil_test_data): Likewise.
4771         (copysign_test_data): Likewise.
4772         (cos_test_data): Likewise.
4773         (cosh_test_data): Likewise.
4774         (erf_test_data): Likewise.
4775         (erfc_test_data): Likewise.
4776         (exp_test_data): Likewise.
4777         (exp10_test_data): Likewise.
4778         (exp2_test_data): Likewise.
4779         (expm1_test_data): Likewise.
4780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4782 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
4784         [BZ #19006]
4785         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
4786         to ...
4787         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
4788         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
4789         to ...
4790         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
4791         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
4792         to ...
4793         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
4794         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
4795         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
4796         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
4797         to ...
4798         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
4799         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4800         Moved to ...
4801         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
4802         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4803         Moved to ...
4804         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
4805         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
4806         to ...
4807         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
4808         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4809         Moved to ...
4810         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
4811         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
4812         to ...
4813         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
4814         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
4815         Removed.
4816         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
4817         Likewise.
4818         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
4819         Likewise.
4820         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
4821         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
4822         Likewise.
4823         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4824         Likewise.
4825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4826         Likewise.
4827         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4828         Likewise.
4829         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4830         Likewise.
4831         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
4832         Likewise.
4833         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
4834         Likewise.
4835         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
4840         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
4841         Likewise.
4842         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4843         Likewise.
4844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4845         Likewise.
4846         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4847         Likewise.
4848         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4851         Replace ../i486/pthread_cond_timedwait.S with
4852         ../pthread_cond_timedwait.S.
4854 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
4856         * math/libm-test.inc (acos_test_data): Refine expectations for
4857         errno and "inexact" exceptions.
4858         (acosh_test_data): Likewise.
4859         (asin_test_data): Likewise.
4860         (asinh_test_data): Likewise.
4861         (atan_test_data): Likewise.
4862         (atanh_test_data): Likewise.
4863         (atan2_test_data): Likewise.
4864         (cbrt_test_data): Likewise.
4865         (ceil_test_data): Likewise.
4866         (copysign_test_data): Likewise.
4867         (cosh_test_data): Likewise.
4868         (erf_test_data): Likewise.
4869         (erfc_test_data): Likewise.
4870         (exp_test_data): Likewise.
4871         (exp10_test_data): Likewise.
4872         (exp2_test_data): Likewise.
4873         (expm1_test_data): Likewise.
4874         (fabs_test_data): Likewise.
4875         (floor_test_data): Likewise.
4876         (fma_test_data): Likewise.
4877         (fmax_test_data): Likewise.
4878         (fmin_test_data): Likewise.
4879         (fmod_test_data): Likewise.
4880         (fpclassify_test_data): Likewise.
4881         (frexp_test_data): Likewise.
4882         (hypot_test_data): Likewise.
4883         (ilogb_test_data): Likewise.
4884         (isgreater_test_data): Likewise.
4885         (isgreaterequal_test_data): Likewise.
4886         (isinf_test_data): Likewise.
4887         (isless_test_data): Likewise.
4888         (islessequal_test_data): Likewise.
4889         (islessgreater_test_data): Likewise.
4890         (isnan_test_data): Likewise.
4891         (isnormal_test_data): Likewise.
4892         (issignaling_test_data): Likewise.
4893         (isunordered_test_data): Likewise.
4894         (j0_test_data): Likewise.
4895         (j1_test_data): Likewise.
4896         (jn_test_data): Likewise.
4897         (lgamma_test_data): Likewise.
4898         (lrint_test_data): Likewise.
4899         (llrint_test_data): Likewise.
4900         (log_test_data): Likewise.
4901         (log10_test_data): Likewise.
4902         (log1p_test_data): Likewise.
4903         (log2_test_data): Likewise.
4904         (logb_test_data): Likewise.
4905         (lround_test_data): Likewise.
4906         (llround_test_data): Likewise.
4907         (modf_test_data): Likewise.
4908         (nearbyint_test_data): Likewise.
4909         (nextafter_test_data): Likewise.
4910         (nexttoward_test_data): Likewise.
4911         (pow_test_data): Likewise.
4912         (remainder_test_data): Likewise.
4913         (remquo_test_data): Likewise.
4914         (rint_test_data): Likewise.
4915         (round_test_data): Likewise.
4916         (signbit_test_data): Likewise.
4917         (sinh_test_data): Likewise.
4918         (sqrt_test_data): Likewise.
4919         (tanh_test_data): Likewise.
4920         (tgamma_test_data): Likewise.
4921         (trunc_test_data): Likewise.
4922         (y0_test_data): Likewise.
4923         (y1_test_data): Likewise.
4924         (yn_test_data): Likewise.
4925         (significand_test_data): Likewise.
4927 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
4929         * manual/filesys.texi (Storage Allocation): Document that
4930         posix_fallocate emulation fails when fd is open with O_WRONLY.
4932 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4934         [BZ #19016]
4935         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
4936         allow more cases with X^2 + Y^2 >= 0.5.
4937         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4938         normal element in sum instead of special-casing based on values of
4939         arguments.
4940         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4941         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4942         -1 as normal element in sum instead of special-casing based on
4943         values of arguments.
4944         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4945         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4946         (__x2y2m1): Update comment.
4947         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4948         as normal element in sum instead of special-casing based on values
4949         of arguments.
4950         * math/s_clog.c (__clog): Handle more cases using log1p without
4951         hypot.
4952         * math/s_clog10.c (__clog10): Likewise.
4953         * math/s_clog10f.c (__clog10f): Likewise.
4954         * math/s_clog10l.c (__clog10l): Likewise.
4955         * math/s_clogf.c (__clogf): Likewise.
4956         * math/s_clogl.c (__clogl): Likewise.
4957         * math/auto-libm-test-in: Add more tests of clog and clog10.
4958         * math/auto-libm-test-out: Regenerated.
4959         * sysdeps/i386/fpu/libm-test-ulps: Update.
4960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4962 2015-09-28  Martin Sebor  <msebor@redhat.com>
4964         [BZ #18969]
4965         * string/Makefile (LOCALES): Define.
4966         (gen-locales.mk): Include.
4967         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4968         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4969         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4970         on setlocale failure.
4972 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4974         [BZ #18985]
4975         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4976         (__strftime_internal): Likewise.
4977         * time/tst-strftime.c (do_bz18985): New test.
4978         (do_test): Call it.
4980 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4982         [BZ #18956]
4983         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4984         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4985         extracting high part.
4986         * math/auto-libm-test-in: Add another test of pow.
4987         * math/auto-libm-test-out: Regenerated.
4988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4990 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #18825]
4993         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4994         New macro.
4995         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4996         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4997         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4998         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4999         DBL_NARROW_EVAL, reloading the PIC register as needed.
5000         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5001         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5002         FLT_NARROW_EVAL.  Use separate return path for case when first
5003         argument is NaN.
5004         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5005         DEFINE_LDBL_MIN.
5006         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5007         PIC register.
5008         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5009         math_check_force_underflow_nonneg.
5010         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5011         underflow for subnormal result.
5012         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5013         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5014         math_check_force_underflow_nonneg.
5015         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5016         math_check_force_underflow.
5017         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5018         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5019         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5020         DEFINE_LDBL_MIN.
5021         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5022         * math/auto-libm-test-in: Add more tests of pow.
5023         * math/auto-libm-test-out: Regenerated.
5025 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5027         * nss/bug17079.c (init_test_items): Add diagnostic for
5028         inconsistent entries.
5029         (test_buffer_size): Skip inconsistent entries.
5031 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5033         [BZ #13304]
5034         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5035         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5036         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5038         [BZ #13304]
5039         * sysdeps/microblaze/s_fma.c: New file.
5040         * sysdeps/microblaze/s_fmaf.c: Likewise.
5041         * sysdeps/microblaze/sfp-machine.h: Likewise.
5043 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5045         [BZ #17250]
5046         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5047         member.
5049 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5051         [BZ #18803]
5052         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5053         (MO): New macro.
5054         (__ieee754_hypot) [PIC]: Load PIC register.
5055         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5056         DBL_NARROW_EVAL.
5057         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5058         math_check_force_underflow_nonneg in case where result might be
5059         tiny.
5060         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5061         Likewise.
5062         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5063         Likewise.
5064         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5065         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5066         * math/auto-libm-test-in: Add more tests of hypot.
5067         * math/auto-libm-test-out: Regenerated.
5069 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5071         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5073 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5075         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5076         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5077         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5078         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5079         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5080         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5081         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5083         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5084         LOAD_PIC_REG.
5086         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5087         (FLT_CHECK_FORCE_UFLOW): Likewise.
5088         (DBL_CHECK_FORCE_UFLOW): Likewise.
5089         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5090         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5091         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5092         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5093         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5094         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5095         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5096         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5097         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5099         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5100         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5101         (flt_min): Replace with use of DEFINE_FLT_MIN.
5102         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5103         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5104         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5105         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5106         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5107         (flt_min): Replace with use of DEFINE_FLT_MIN.
5108         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5109         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5110         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5111         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5112         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5113         (flt_min): Replace with use of DEFINE_FLT_MIN.
5114         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5115         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5116         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5117         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5118         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5119         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5120         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5121         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5122         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5123         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5124         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5125         (flt_min): Replace with use of DEFINE_FLT_MIN.
5126         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5127         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5128         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5129         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5130         main computation.
5131         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5132         (flt_min): Replace with use of DEFINE_FLT_MIN.
5133         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5134         main computation.
5135         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5136         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5137         (MO): New macro.
5138         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5139         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5140         (flt_min): Replace with use of DEFINE_FLT_MIN.
5141         (MO): New macro.
5142         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5143         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5144         (__log1pl): Use MO.
5146         [BZ #19003]
5147         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5148         $(config-cflags-nofma).
5150 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5152         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5154 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5156         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5157         (TWO127): Likewise.
5159         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5160         (min_of_type): Likewise.
5161         (math_check_force_underflow): Likewise.
5162         (math_check_force_underflow_nonneg): Likewise.
5163         (math_check_force_underflow_complex): Likewise.
5164         * math/e_exp2l.c (__ieee754_exp2l): Use
5165         math_check_force_underflow_nonneg.
5166         * math/k_casinh.c (__kernel_casinh): Likewise.
5167         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5168         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5169         * math/s_catan.c (__catan): Use
5170         math_check_force_underflow_complex.
5171         * math/s_catanf.c (__catanf): Likewise.
5172         * math/s_catanh.c (__catanh): Likewise.
5173         * math/s_catanhf.c (__catanhf): Likewise.
5174         * math/s_catanhl.c (__catanhl): Likewise.
5175         * math/s_catanl.c (__catanl): Likewise.
5176         * math/s_ccosh.c (__ccosh): Likewise.
5177         * math/s_ccoshf.c (__ccoshf): Likewise.
5178         * math/s_ccoshl.c (__ccoshl): Likewise.
5179         * math/s_cexp.c (__cexp): Likewise.
5180         * math/s_cexpf.c (__cexpf): Likewise.
5181         * math/s_cexpl.c (__cexpl): Likewise.
5182         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5183         * math/s_clog10.c (__clog10): Likewise.
5184         * math/s_clog10f.c (__clog10f): Likewise.
5185         * math/s_clog10l.c (__clog10l): Likewise.
5186         * math/s_clogf.c (__clogf): Likewise.
5187         * math/s_clogl.c (__clogl): Likewise.
5188         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5189         * math/s_csinf.c (__csinf): Likewise.
5190         * math/s_csinh.c (__csinh): Likewise.
5191         * math/s_csinhf.c (__csinhf): Likewise.
5192         * math/s_csinhl.c (__csinhl): Likewise.
5193         * math/s_csinl.c (__csinl): Likewise.
5194         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5195         * math/s_csqrtf.c (__csqrtf): Likewise.
5196         * math/s_csqrtl.c (__csqrtl): Likewise.
5197         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5198         * math/s_ctanf.c (__ctanf): Likewise.
5199         * math/s_ctanh.c (__ctanh): Likewise.
5200         * math/s_ctanhf.c (__ctanhf): Likewise.
5201         * math/s_ctanhl.c (__ctanhl): Likewise.
5202         * math/s_ctanl.c (__ctanl): Likewise.
5203         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5204         instead of volatile.
5205         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5206         math_check_force_underflow.
5207         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5208         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5209         volatile when forcing underflow.
5210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5211         math_check_force_underflow_nonneg.
5212         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5213         Likewise.
5214         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5215         math_check_force_underflow.
5216         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5217         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5218         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5219         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5220         math_check_force_underflow_nonneg.
5221         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5222         math_check_force_underflow.
5223         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5225         instead of volatile.
5226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5227         math_check_force_underflow.
5228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5229         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5230         math_check_force_underflow_nonneg.
5231         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5232         math_check_force_underflow.
5233         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5234         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5235         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5236         math_check_force_underflow_nonneg.
5237         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5238         Likewise.
5239         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5240         math_check_force_underflow.
5241         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5242         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5243         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5244         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5245         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5246         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5247         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5248         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5249         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5250         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5251         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5252         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5253         Likewise.
5254         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5255         math_check_force_underflow_nonneg.
5256         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5257         Likewise.
5258         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5259         math_check_force_underflow.
5260         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5261         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5262         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5263         Likewise.
5264         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5265         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5266         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5267         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5268         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5269         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5271         instead of volatile.
5272         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5273         math_check_force_underflow.
5274         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5276         math_check_force_underflow.
5277         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5278         Likewise.
5279         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5280         Use math_check_force_underflow_nonneg.
5281         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5282         math_check_force_underflow.
5283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5284         Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5286         Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5289         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5290         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5293         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5294         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5295         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5296         math_check_force_underflow_nonneg.
5297         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5298         math_check_force_underflow.
5299         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5300         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5301         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5302         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5303         math_check_force_underflow_nonneg.
5304         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5305         math_check_force_underflow.
5306         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5308         instead of volatile.
5309         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5310         math_check_force_underflow.
5312         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5313         * stdlib/strtod_l.c: Include <math_private.h>.
5314         (overflow_value): Use math_narrow_eval.
5315         (underflow_value): Likewise.
5316         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5317         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5318         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5319         (__ieee754_gamma_r): Likewise.
5320         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5321         Likewise.
5322         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5323         Likewise.
5324         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5325         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5326         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5327         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5328         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5329         (__ieee754_gammaf_r): Likewise.
5330         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5331         Likewise.
5332         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5333         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5334         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5335         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5336         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5337         volatile.
5338         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5339         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5340         math_narrow_eval.
5341         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5342         Likewise.
5343         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5344         Likewise.
5345         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5346         Likewise.
5347         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5348         volatile.
5349         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5350         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5351         math_narrow_eval.
5352         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5353         Likewise.
5354         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5355         Likewise.
5357 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5359         * nptl/Versions: Remove ignored symbols.
5361 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5363         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5364         * nss/Makefile (tests): Update.
5366 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5368         * nss/bug18287.c: New file.
5369         * nss/Makefile (tests): Add bug18287.
5371 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5373         * mach/Versions (__mach_host_self_): Add symbol.
5375 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5377         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5378         vm_page_size.
5380 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5382         Really fix sysdeps/i386/fpu/s_scalbn.S build
5384         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5385         (libc: GLIBC_2_22): Remove unused version set.
5387 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5389         * config.make.in (enable-timezone-tools): New variable.
5390         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5391         (enable_timezone_tools): Export to generated files.
5392         * configure: Regenerate.
5393         * INSTALL: Regenerate.
5394         * manual/install.texi (--disable-timezone-tools): Document new flag.
5395         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5396         ifeq ($(enable-timezone-tools),yes) check.
5398 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5400         * timezone/Makefile: Revert previous change.
5402         [BZ #18980]
5403         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5404         (DEFINE_DBL_MIN): Likewise.
5405         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5406         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5407         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5408         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5409         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5410         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5411         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5412         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5413         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5414         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5415         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5416         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5417         (flt_min): Replace with use of DEFINE_FLT_MIN.
5418         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5419         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5420         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5421         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5422         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5423         (flt_min): Replace with use of DEFINE_FLT_MIN.
5424         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5425         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5426         (flt_min): Replace with use of DEFINE_FLT_MIN.
5427         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5428         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5429         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5430         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5431         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5432         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5433         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5434         (__ieee754_pow): Use DBL_NARROW_EVAL.
5435         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5436         (__ieee754_powf): Use FLT_NARROW_EVAL.
5437         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5438         (__ieee754_expf_sse2): Convert double-precision result to single
5439         precision.
5440         * sysdeps/i386/fpu/libm-test-ulps: Update.
5442 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5444         * timezone/Makefile: Ignore unused variable errors due to private.h
5445         (time_t_min) and (time_t_max).
5446         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5447         Likewise.
5449 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5451         [BZ #18981]
5452         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5453         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5454         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5455         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5456         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5457         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5458         (__scalbn): Use DBL_NARROW_EVAL.
5459         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5460         (__scalbnf): Use FLT_NARROW_EVAL.
5462 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5464         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5465         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5466         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5467         * stdio-common/printf_fp.c (___printf_fp):
5468         Use signbit to get the sign. Use isinf macro to allow inlining.
5469         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5470         * stdio-common/printf_size.c (__printf_size): Likewise.
5472 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5474         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5476 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5478         [BZ #18980]
5479         * sysdeps/generic/math_private.h: Include <float.h>.
5480         (math_narrow_eval): New macro.
5481         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5482         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5483         math_narrow_eval on overflowing return value.
5484         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5485         Likewise.
5486         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5487         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5488         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5489         Likewise.
5490         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5492 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5494         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5495         * math/Makefile: Remove isinf_ns.c.
5496         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5497         * math/multc3.c (__multc3): Likewise.
5498         * math/s_casin.c (__casin): Likewise.
5499         * math/s_casinf.c (__casinf): Likewise.
5500         * math/s_casinl.c (__casinl): Likewise.
5501         * math/s_cproj.c (__cproj): Likewise.
5502         * math/s_cprojf.c (__cprojf): Likewise.
5503         * math/s_cprojl.c (__cprofl): Likewise.
5504         * math/s_ctan.c (__ctan): Likewise.
5505         * math/s_ctanf.c (__ctanf): Likewise.
5506         * math/s_ctanh.c (__ctanh): Likewise.
5507         * math/s_ctanhf.c (__ctanhf): Likewise.
5508         * math/s_ctanhl.c (__ctanhl): Likewise.
5509         * math/s_ctanl.c (__ctanl): Likewise.
5510         * math/w_fmod.c (__fmod): Likewise.
5511         * math/w_fmodf.c (__fmodf): Likewise.
5512         * math/w_fmodl.c (_fmodl): Likewise.
5513         * math/w_remainder.c (__remainder): Likewise.
5514         * math/w_remainderf.c (__remainderf): Likewise.
5515         * math/w_remainderl.c (__remainderl): Likewise.
5516         * math/w_scalb.c (__scalb): Likewise.
5517         * math/w_scalbf.c (__scalbf): Likewise.
5518         * math/w_scalbl.c (__scalbl): Likewise.
5519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
5520         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
5521         with isinf.
5522         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
5523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
5524         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
5525         __isinf_nsf with isinf.
5526         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
5527         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
5528         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
5529         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
5530         with isinf.
5531         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
5532         __isinf_nsl with isinf.
5533         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
5534         with isinf.
5535         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
5536         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
5537         __isinf_nsl with isinf.
5538         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
5539         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
5540         with isinf.
5542 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5544         * resolv/base64.c (rcsid): Remove unused static.
5545         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
5546         static.  (tqpi1): Likewise.
5547         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
5548         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
5549         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
5550         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
5551         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
5552         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
5553         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
5554         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
5555         Likewise.
5557 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
5559         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
5560         <nptl/pthreadP.h>.
5561         (_longjmp_unwind): Use __libc_ptf_call.
5562         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
5564 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
5566         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
5567         * sysdeps/arm/__longjmp.S: Likewise
5569 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5571         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
5572         Use __builtin_signbit.
5573         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
5574         Use __builtin_signbitf.
5575         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
5576         Use __builtin_signbitl.
5577         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5578         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
5580 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5582         [BZ #15367]
5583         [BZ #17441]
5585         * math/Makefile: Build test-snan.c with -fsignaling-nans.
5586         * math/math.h (fpclassify): Use __builtin_fpclassify when
5587         available.  (signbit): Use __builtin_signbit(f/l).
5588         (isfinite): Use__builtin_isfinite.  (isnormal): Use
5589         __builtin_isnormal.  (isnan): Use __builtin_isnan.
5590         (isinf): Use __builtin_isinf_sign.
5592 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5594         * benchtests/Makefile: Add bench-math-inlines, link with libm.
5595         * benchtests/bench-math-inlines.c: New benchmark.
5596         * benchtests/bench-util.h: New file.
5597         * benchtests/bench-util.c: New file.
5598         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
5600 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
5602         * elf/tst-dlmopen1.c: Define TEST_SO.
5603         (do_test): Use TEST_SO.
5605         * elf/dl-load.c: Include libc-internal.h.
5606         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
5608 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5610         [BZ #17887]
5611         * time/strptime_l.c (__strptime_internal): Make %z accept
5612         [+-]HH:MM time zones.
5614 2015-09-18  Vincent Bernat  <vincent@bernat.im>
5616         [BZ #17886]
5617         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
5618         valid time zone.
5620 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
5622         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
5623         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
5624         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5625         (__ASSUME_FDATASYNC): Delete.
5627 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5629         * conform/linknamespace.pl: Require weak undefined symbols to be
5630         in the standard namespace.
5631         (%strong_syms): Rename to %seen_syms.
5632         (%strong_seen): Rename to %seen_where.
5634 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
5636         [BZ #18970]
5637         * misc/error.c (error): Replace pthread_setcancelstate with
5638         __pthread_setcancelstate.
5639         (error_at_line): Likewise.
5640         * posix/wordexp.c (parse_comm): Likewise.
5641         * stdlib/fmtmsg.c (fmtmsg): Likewise.
5642         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
5643         (__pthread_setcancelstate): This.
5644         (pthread_setcancelstate): Add an alias.
5645         * nptl/nptl-init.c (pthread_functions): Replace
5646         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
5647         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
5648         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
5649         hidden_proto.
5650         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
5651         it with hidden_def.
5652         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
5653         (pthread_setcancelstate): Renamed to ...
5654         (__pthread_setcancelstate): This.
5655         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
5656         __libc_ptf_call with __pthread_setcancelstate.
5658 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5659             Andreas Schwab  <schwab@suse.de>
5661         [BZ #17118]
5662         * math/s_ctan.c (__ctan): Determine sign of zero real part of
5663         result when imaginary part of argument is infinite using sine and
5664         cosine.
5665         * math/s_ctanf.c (__ctanf): Likewise.
5666         * math/s_ctanl.c (__ctanl): Likewise.
5667         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
5668         of result when real part of argument is infinite using sine and
5669         cosine.
5670         * math/s_ctanhf.c (__ctanhf): Likewise.
5671         * math/s_ctanhl.c (__ctanhl): Likewise.
5672         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
5673         (ctanh_test_data): Add more tests of ctanh.
5675 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
5677         [BZ #15384]
5678         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
5679         bit-mask as in subtraction.
5680         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
5681         Likewise.
5682         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
5683         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
5684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
5686         [BZ #18951]
5687         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
5688         underflow exception for small results.
5689         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5690         Likewise.
5691         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5692         Likewise.
5693         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5694         Likewise.
5695         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5696         Likewise.
5697         * math/auto-libm-test-in: Add more tests of tgamma.
5698         * math/auto-libm-test-out: Regenerated.
5700 2015-09-17  Andreas Schwab  <schwab@suse.de>
5702         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5704 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5706         [BZ #18977]
5707         * math/bits/mathcalls.h
5708         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
5709         not declare.
5710         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
5711         Likewise.
5712         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
5713         Likewise.
5714         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
5715         Likewise.
5716         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
5717         Likewise.
5718         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
5719         Likewise.
5720         * conform/data/math.h-data
5721         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
5722         function.
5723         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
5724         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
5725         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
5726         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
5727         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
5728         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
5729         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
5730         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
5731         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
5732         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
5733         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
5735         [BZ #6803]
5736         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
5737         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
5738         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
5739         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
5740         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
5741         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
5742         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
5743         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
5744         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
5746         Likewise.
5747         [NO_LONG_DOUBLE] (scalbnl): Likewise.
5748         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
5749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
5750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
5751         long_double_symbol calls.
5752         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
5753         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
5754         strong alias of __ldexpl.
5755         (scalbnl): Define using long_double_symbol.
5756         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
5757         Remove alias.
5758         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
5759         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
5760         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
5761         (scalbln_test_data): Add more errno expectations.
5763 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
5765         Cache the host port like we cache the task port.  This way we do not
5766         need to call the kernel just to get the port.  Furthermore, we no
5767         longer increase the reference count on every invocation of
5768         `mach_host_self'.
5770         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
5771         Protect declarations against the macro expansion.
5772         * mach/mach_init.c (__mach_host_self_): New variable.
5773         (mach_init): Initialize `__mach_host_self_'.
5774         * mach/mach_init.h (__mach_host_self_): New declaration.
5775         (__mach_host_self, mach_host_self): New macros.
5776         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
5777         Release reference.
5779 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
5781         [BZ #4404]
5782         * po/de.po: Update from Translation Project.
5784         [BZ #16415]
5785         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
5786         (__expm1l): Remove code to handle positive infinity and overflow.
5787         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
5788         variable.
5789         (__expm1l): Remove code to handle positive infinity and overflow.
5791 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
5792             Paul Pluzhnikov  <ppluzhnikov@google.com>
5794         [BZ #18872]
5795         * stdio-common/Makefile (tst-printf-bz18872): New test.
5796         (tst-printf-bz18872-mem.out): Likewise.
5797         * stdio-common/tst-printf-bz18872.sh: Generate new test.
5798         * stdio-common/vfprintf.c: Fix memory leaks.
5800 2015-09-16  Andreas Schwab  <schwab@suse.de>
5802         [BZ #17244]
5803         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
5804         Remove extra va_start/va_end calls.
5806         [BZ #17243]
5807         * posix/execl.c (execl): Add missing va_end.
5808         * posix/execle.c (execle): Likewise.
5809         * posix/execlp.c (execlp): Likewise.
5811 2015-09-15  Roland McGrath  <roland@hack.frob.com>
5813         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
5814         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
5816 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
5818         [BZ #18967]
5819         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
5820         undefine around includes of <bits/mathcalls.h>.
5821         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
5822         not declare function.
5823         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
5824         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
5825         (scalb): Likewise.
5826         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
5827         not define macro.
5828         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
5829         variable.
5830         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5831         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5832         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5834         [BZ #18857]
5835         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
5836         return non-finite argument without doing ordered comparisons on
5837         it.
5839         [BZ #16296]
5840         * math/fenv.h (fegetround): Use __attribute_pure__.
5841         * include/fenv.h (__fegetround): Likewise.
5843         [BZ #18595]
5844         * math/s_ctan.c (__ctan): Force underflow exception for results
5845         whose real or imaginary part has small absolute value.
5846         * math/s_ctanf.c (__ctanf): Likewise.
5847         * math/s_ctanh.c (__ctanh): Likewise.
5848         * math/s_ctanhf.c (__ctanhf): Likewise.
5849         * math/s_ctanhl.c (__ctanhl): Likewise.
5850         * math/s_ctanl.c (__ctanl): Likewise.
5851         * math/auto-libm-test-in: Do not allow missing underflow for ctan
5852         and ctanh.  Add more tests of ctan and ctanh.
5854         [BZ #15918]
5855         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
5856         handling of cases where one argument is an infinity.
5858         [BZ #18875]
5859         [BZ #18966]
5860         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
5861         (MO): New macro.
5862         (__ieee754_exp10): For small results, force underflow exception
5863         and remove excess range and precision from return value.
5864         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
5865         (MO): New macro.
5866         (__ieee754_exp10f): For small results, force underflow exception
5867         and remove excess range and precision from return value.
5868         * math/auto-libm-test-in: Add more tests of exp10.
5869         * math/auto-libm-test-out: Regenerated.
5871 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #18875]
5874         [BZ #18961]
5875         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
5876         (MO): New macro.
5877         (__ieee754_exp): For small results, force underflow exception and
5878         remove excess range and precision from return value.
5879         (__exp_finite): Likewise.
5880         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
5881         (MO): New macro.
5882         (__ieee754_expf): For small results, force underflow exception and
5883         remove excess range and precision from return value.
5884         (__expf_finite): Likewise.
5885         * math/auto-libm-test-in: Add more tests of exp.
5886         * math/auto-libm-test-out: Regenerated.
5888         [BZ #16521]
5889         [BZ #18875]
5890         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
5891         small results.
5892         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
5893         (MO): New macro.
5894         (__ieee754_exp2): For small results, force underflow exception and
5895         remove excess range and precision from return value.
5896         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
5897         (MO): New macro.
5898         (__ieee754_exp2f): For small results, force underflow exception
5899         and remove excess range and precision from return value.
5900         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
5901         (MO): New macro.
5902         (__ieee754_exp2l): Force underflow exception for small results.
5903         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5904         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5905         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
5906         (MO): New macro.
5907         (__ieee754_exp2l): Force underflow exception for small results.
5908         * math/auto-libm-test-in: Add more tests or exp2.
5909         * math/auto-libm-test-out: Regenerated.
5911 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
5913         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
5915         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
5916         /dev/null.
5918 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5920         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5921         io fs process)): Drop spurious backslash.
5923 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5925         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
5926         Use sysinfo system call instead of parsing /proc/meminfo.
5927         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
5928         Likewise.
5930 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
5932         [BZ #16985]
5933         * programs/localedef.c (main): Display argv[remaining] when
5934         output_path is NULL.
5936 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5938         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5939         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5940         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5941         tanh.
5942         * math/auto-libm-test-out: Regenerated.
5943         * sysdeps/i386/fpu/libm-test-ulps: Update.
5944         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5945         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5948 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5950         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5951         Use 'override' keyword to freeze the value here, preventing
5952         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5954 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5956         [BZ #14912]
5957         * sysdeps/aarch64/bits/atomic.h: Move to ...
5958         * sysdeps/aarch64/atomic-machine.h: ...here.
5959         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5960         _AARCH64_ATOMIC_MACHINE_H.
5961         * sysdeps/alpha/bits/atomic.h: Move to ...
5962         * sysdeps/alpha/atomic-machine.h: ...here.
5963         * sysdeps/arm/bits/atomic.h: Move to ...
5964         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5965         * bits/atomic.h: Move to ...
5966         * sysdeps/generic/atomic-machine.h: ...here.
5967         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5968         * sysdeps/i386/bits/atomic.h: Move to ...
5969         * sysdeps/i386/atomic-machine.h: ...here.
5970         * sysdeps/ia64/bits/atomic.h: Move to ...
5971         * sysdeps/ia64/atomic-machine.h: ...here.
5972         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5973         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5974         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5975         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5976         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5977         * sysdeps/microblaze/bits/atomic.h: Move to ...
5978         * sysdeps/microblaze/atomic-machine.h: ...here.
5979         * sysdeps/mips/bits/atomic.h: Move to ...
5980         * sysdeps/mips/atomic-machine.h: ...here.
5981         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5982         * sysdeps/powerpc/bits/atomic.h: Move to ...
5983         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5984         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5985         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5986         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5987         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5988         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5989         <atomic-machine.h> instead of <bits/atomic.h>.
5990         * sysdeps/s390/bits/atomic.h: Move to ...
5991         * sysdeps/s390/atomic-machine.h: ...here.
5992         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5993         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5994         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5995         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5996         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5997         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5998         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5999         * sysdeps/tile/bits/atomic.h: Move to ...
6000         * sysdeps/tile/atomic-machine.h: ...here.
6001         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6002         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6003         <sysdeps/tile/atomic-machine.h> instead of
6004         <sysdeps/tile/bits/atomic.h>.
6005         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6006         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6007         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6008         <sysdeps/tile/atomic-machine.h> instead of
6009         <sysdeps/tile/bits/atomic.h>.
6010         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6011         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6012         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6013         <sysdeps/arm/atomic-machine.h> instead of
6014         <sysdeps/arm/bits/atomic.h>.
6015         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6016         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6017         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6018         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6019         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6020         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6021         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6022         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6023         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6024         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6025         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6026         * sysdeps/x86_64/bits/atomic.h: Move to ...
6027         * sysdeps/x86_64/atomic-machine.h: ...here.
6028         * include/atomic.h: Include <atomic-machine.h> instead of
6029         <bits/atomic.h>.
6031         * sysdeps/mips/mips32/libm-test-ulps: Update.
6032         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6034         [BZ #18952]
6035         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6036         not convert non-integer negative arguments to int to determine the
6037         value of signgam.
6038         * math/auto-libm-test-in: Add more tests of lgamma.
6039         * math/auto-libm-test-out: Regenerated.
6041         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6042         cosh, csqrt, erfc, expm1 and lgamma.
6043         * math/auto-libm-test-out: Regenerated.
6044         * sysdeps/i386/fpu/libm-test-ulps: Update.
6045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6047 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6049         [BZ #2542]
6050         [BZ #2543]
6051         [BZ #2558]
6052         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6053         __lgamma_neg for arguments from -28.0 to -2.0.
6054         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6055         __lgamma_negf for arguments from -15.0 to -2.0.
6056         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6057         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6058         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6059         Call __lgamma_negl for arguments from -33.0 to -2.0.
6060         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6061         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6062         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6063         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6064         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6065         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6066         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6067         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6068         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6069         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6070         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6071         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6072         (__lgamma_neg): Likewise.
6073         (__lgamma_negl): Likewise.
6074         (__lgamma_product): Likewise.
6075         (__lgamma_productl): Likewise.
6076         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6077         * math/auto-libm-test-in: Add more tests of lgamma.
6078         * math/auto-libm-test-out: Regenerated.
6079         * sysdeps/i386/fpu/libm-test-ulps: Update.
6080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6082 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6084         [BZ #18675]
6085         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6087 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6089         [BZ #14912]
6090         * bits/libc-lock.h: Move to ...
6091         * sysdeps/generic/libc-lock.h: ...here.
6092         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6093         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6094         * sysdeps/mach/hurd/libc-lock.h: ...here.
6095         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6096         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6097         * sysdeps/mach/bits/libc-lock.h: Move to ...
6098         * sysdeps/mach/libc-lock.h: ...here.
6099         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6100         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6101         * sysdeps/nptl/libc-lock.h: ...here.
6102         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6103         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6104         * sysdeps/nptl/libc-lockP.h: ...here.
6105         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6106         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6107         <bits/libc-lock.h>.
6108         * dirent/scandir-tail.c: Likewise.
6109         * dlfcn/dlerror.c: Likewise.
6110         * elf/dl-close.c: Likewise.
6111         * elf/dl-iteratephdr.c: Likewise.
6112         * elf/dl-lookup.c: Likewise.
6113         * elf/dl-open.c: Likewise.
6114         * elf/dl-support.c: Likewise.
6115         * elf/dl-writev.h: Likewise.
6116         * elf/rtld.c: Likewise.
6117         * grp/fgetgrent.c: Likewise.
6118         * gshadow/fgetsgent.c: Likewise.
6119         * gshadow/sgetsgent.c: Likewise.
6120         * iconv/gconv_conf.c: Likewise.
6121         * iconv/gconv_db.c: Likewise.
6122         * iconv/gconv_dl.c: Likewise.
6123         * iconv/gconv_int.h: Likewise.
6124         * iconv/gconv_trans.c: Likewise.
6125         * include/link.h: Likewise.
6126         * inet/getnameinfo.c: Likewise.
6127         * inet/getnetgrent.c: Likewise.
6128         * inet/getnetgrent_r.c: Likewise.
6129         * intl/bindtextdom.c: Likewise.
6130         * intl/dcigettext.c: Likewise.
6131         * intl/finddomain.c: Likewise.
6132         * intl/gettextP.h: Likewise.
6133         * intl/loadmsgcat.c: Likewise.
6134         * intl/localealias.c: Likewise.
6135         * intl/textdomain.c: Likewise.
6136         * libidn/idn-stub.c: Likewise.
6137         * libio/libioP.h: Likewise.
6138         * locale/duplocale.c: Likewise.
6139         * locale/freelocale.c: Likewise.
6140         * locale/newlocale.c: Likewise.
6141         * locale/setlocale.c: Likewise.
6142         * login/getutent_r.c: Likewise.
6143         * login/getutid_r.c: Likewise.
6144         * login/getutline_r.c: Likewise.
6145         * login/utmp-private.h: Likewise.
6146         * login/utmpname.c: Likewise.
6147         * malloc/mtrace.c: Likewise.
6148         * misc/efgcvt.c: Likewise.
6149         * misc/error.c: Likewise.
6150         * misc/fstab.c: Likewise.
6151         * misc/getpass.c: Likewise.
6152         * misc/mntent.c: Likewise.
6153         * misc/syslog.c: Likewise.
6154         * nis/nis_call.c: Likewise.
6155         * nis/nis_callback.c: Likewise.
6156         * nis/nss-default.c: Likewise.
6157         * nis/nss_compat/compat-grp.c: Likewise.
6158         * nis/nss_compat/compat-initgroups.c: Likewise.
6159         * nis/nss_compat/compat-pwd.c: Likewise.
6160         * nis/nss_compat/compat-spwd.c: Likewise.
6161         * nis/nss_nis/nis-alias.c: Likewise.
6162         * nis/nss_nis/nis-ethers.c: Likewise.
6163         * nis/nss_nis/nis-grp.c: Likewise.
6164         * nis/nss_nis/nis-hosts.c: Likewise.
6165         * nis/nss_nis/nis-network.c: Likewise.
6166         * nis/nss_nis/nis-proto.c: Likewise.
6167         * nis/nss_nis/nis-pwd.c: Likewise.
6168         * nis/nss_nis/nis-rpc.c: Likewise.
6169         * nis/nss_nis/nis-service.c: Likewise.
6170         * nis/nss_nis/nis-spwd.c: Likewise.
6171         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6172         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6173         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6174         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6175         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6176         * nis/nss_nisplus/nisplus-network.c: Likewise.
6177         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6178         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6179         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6180         * nis/nss_nisplus/nisplus-service.c: Likewise.
6181         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6182         * nis/ypclnt.c: Likewise.
6183         * nptl/libc_pthread_init.c: Likewise.
6184         * nss/getXXbyYY.c: Likewise.
6185         * nss/getXXent.c: Likewise.
6186         * nss/getXXent_r.c: Likewise.
6187         * nss/nss_db/db-XXX.c: Likewise.
6188         * nss/nss_db/db-netgrp.c: Likewise.
6189         * nss/nss_db/nss_db.h: Likewise.
6190         * nss/nss_files/files-XXX.c: Likewise.
6191         * nss/nss_files/files-alias.c: Likewise.
6192         * nss/nsswitch.c: Likewise.
6193         * posix/regex_internal.h: Likewise.
6194         * posix/wordexp.c: Likewise.
6195         * pwd/fgetpwent.c: Likewise.
6196         * resolv/res_hconf.c: Likewise.
6197         * resolv/res_libc.c: Likewise.
6198         * shadow/fgetspent.c: Likewise.
6199         * shadow/lckpwdf.c: Likewise.
6200         * shadow/sgetspent.c: Likewise.
6201         * socket/opensock.c: Likewise.
6202         * stdio-common/reg-modifier.c: Likewise.
6203         * stdio-common/reg-printf.c: Likewise.
6204         * stdio-common/reg-type.c: Likewise.
6205         * stdio-common/vfprintf.c: Likewise.
6206         * stdio-common/vfscanf.c: Likewise.
6207         * stdlib/abort.c: Likewise.
6208         * stdlib/cxa_atexit.c: Likewise.
6209         * stdlib/fmtmsg.c: Likewise.
6210         * stdlib/random.c: Likewise.
6211         * stdlib/setenv.c: Likewise.
6212         * string/strsignal.c: Likewise.
6213         * sunrpc/auth_none.c: Likewise.
6214         * sunrpc/bindrsvprt.c: Likewise.
6215         * sunrpc/create_xid.c: Likewise.
6216         * sunrpc/key_call.c: Likewise.
6217         * sunrpc/rpc_thread.c: Likewise.
6218         * sysdeps/arm/backtrace.c: Likewise.
6219         * sysdeps/generic/ldsodefs.h: Likewise.
6220         * sysdeps/generic/stdio-lock.h: Likewise.
6221         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6222         * sysdeps/i386/backtrace.c: Likewise.
6223         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6224         * sysdeps/m68k/backtrace.c: Likewise.
6225         * sysdeps/mach/hurd/cthreads.c: Likewise.
6226         * sysdeps/mach/hurd/dirstream.h: Likewise.
6227         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6228         * sysdeps/nptl/malloc-machine.h: Likewise.
6229         * sysdeps/nptl/stdio-lock.h: Likewise.
6230         * sysdeps/posix/dirstream.h: Likewise.
6231         * sysdeps/posix/getaddrinfo.c: Likewise.
6232         * sysdeps/posix/system.c: Likewise.
6233         * sysdeps/pthread/aio_suspend.c: Likewise.
6234         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6235         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6236         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6237         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6238         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6239         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6240         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6241         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6242         * sysdeps/unix/sysv/linux/system.c: Likewise.
6243         * sysdeps/x86_64/backtrace.c: Likewise.
6244         * time/alt_digit.c: Likewise.
6245         * time/era.c: Likewise.
6246         * time/tzset.c: Likewise.
6247         * wcsmbs/wcsmbsload.c: Likewise.
6248         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6249         instead of <bits/libc-lock.h> in comment.
6251 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6253         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6254         Only use .set mips2 if the current ISA is below mips2.
6255         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6256         Likewise.
6257         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6258         mips32r2 if the current ISA is below mips32r2.
6259         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6260         (TLS_IE): Updated to use the TLD_RDHWR macro.
6261         (TLS_LE): Likewise.
6262         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6263         __ASSEMBLER__ condition.
6265 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6267         Fix parallel build of before-compile targets.
6269         * sysdeps/mach/Makefile ($(patsubst
6270         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6271         mach-before-compile target.
6272         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6273         io fs process)): Move rule to dedicated hurd-before-compile target.
6275 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6277         Fix rules generating headers in hurd/ and mach/ when initial make call
6278         has subdir= explicitly set.
6280         * sysdeps/mach/Makefile ($(patsubst
6281         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6282         calling $(MAKE).
6283         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6284         io fs process)): Force subdir to hurd when calling $(MAKE).
6285         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6286         subdir to mach when calling $(MAKE).
6288 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6290         Check sysheaders when looking for Mach and Hurd headers
6292         * sysdeps/mach/configure.ac: Add sysheaders check.
6293         * sysdeps/mach/configure: Regenerate.
6294         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6295         * sysdeps/mach/hurd/configure: Regenerate.
6297 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6299         [BZ #18921]
6300         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6301         Fix inverted sense of test of 'o_directory_works' value.
6302         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6303         Bernhard Voelker <mail@bernhard-voelker.de>.
6305 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6307         [BZ #14912]
6308         * bits/linkmap.h: Move to ...
6309         * sysdeps/generic/linkmap.h: ...here.
6310         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6311         * sysdeps/aarch64/linkmap.h: ...here.
6312         * sysdeps/arm/bits/linkmap.h: Move to ...
6313         * sysdeps/arm/linkmap.h: ...here.
6314         * sysdeps/hppa/bits/linkmap.h: Move to ...
6315         * sysdeps/hppa/linkmap.h: ...here.
6316         * sysdeps/ia64/bits/linkmap.h: Move to ...
6317         * sysdeps/ia64/linkmap.h: ...here.
6318         * sysdeps/mips/bits/linkmap.h: Move to ...
6319         * sysdeps/mips/linkmap.h: ...here.
6320         * sysdeps/s390/bits/linkmap.h: Move to ...
6321         * sysdeps/s390/linkmap.h: ...here.
6322         * sysdeps/sh/bits/linkmap.h: Move to ...
6323         * sysdeps/sh/linkmap.h: ...here.
6324         * sysdeps/x86/bits/linkmap.h: Move to ...
6325         * sysdeps/x86/linkmap.h: ...here.
6326         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6328 2015-09-04  Andreas Schwab  <schwab@suse.de>
6330         [BZ #18635]
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6332         (__makecontext): Terminate FDE before return label.
6333         (__novec_makecontext): Likewise.
6335 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6337         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6338         first member of struct sv in syscall macro.
6340 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6342         [BZ #14912]
6343         * bits/stdio-lock.h: Move to ...
6344         * sysdeps/generic/stdio-lock.h: ...here.
6345         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6346         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6347         * sysdeps/nptl/stdio-lock.h: ...here.
6348         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6349         * include/libio.h: Include <stdio-lock.h> instead of
6350         <bits/stdio-lock.h>.
6351         * sysdeps/nptl/fork.c: Likewise.
6352         * sysdeps/pthread/flockfile.c: Likewise.
6353         * sysdeps/pthread/ftrylockfile.c: Likewise.
6354         * sysdeps/pthread/funlockfile.c: Likewise.
6356         [BZ #14912]
6357         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6358         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6359         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6360         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6361         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6362         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6363         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6365 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6367         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6368         (test-xfail-tst-protected1b): New variable.
6370 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6372         [BZ #14912]
6373         * bits/libc-tsd.h: Move to ...
6374         * sysdeps/generic/libc-tsd.h: ...here.
6375         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6376         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6377         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6378         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6379         * include/ctype.h: Include <libc-tsd.h> instead of
6380         <bits/libc-tsd.h>.
6381         * include/rpc/rpc.h: Likewise.
6382         * locale/localeinfo.h: Likewise.
6383         * sunrpc/rpc_thread.c: Likewise.
6384         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6385         * sysdeps/nptl/malloc-machine.h: Likewise.
6387         * Makefile (headers): Remove bits/libc-lock.h.
6388         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6390         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6391         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6392         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6393         <bits/stdio-lock.h>.
6394         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6395         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6397 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6399         [BZ #18757]
6400         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6401         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6402         BZ #18757.
6404 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6406         * malloc/mtrace.pl: Filter out NULL entries.
6408 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6410         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6411         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6412         macro.
6414         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6415         (TCP_CC_INFO): Likewise.
6416         (TCP_SAVE_SYN): Likewise.
6417         (TCP_SAVED_SYN): Likewise.
6419 2015-08-31  Brett Neumeier <brett@neumeier.us>
6421         [BZ #18870]
6422         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6424 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6426         [BZ #18873]
6427         Fix broken overflow check in posix_fallocate
6428         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6429         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6430         Fix parenthesization typo.
6432 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6434         [BZ #18887]
6435         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6436         tst-mntent-blank-passno.
6437         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6438         * misc/tst-mntent-blank-corrupt.c: New test.
6439         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6440         * misc/tst-mntent.c (do_test): ... here.
6442 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6444         [BZ #4404]
6445         * po/de.po: Fix SIGALRM typo.
6447 2015-08-28  James Perkins  <james@loowit.net>
6449         * time/tst-strptime2.c (tests): Replace short list of test
6450         strings for strptime %z specifier with code which exhaustively
6451         tests every combination of sign and 0 to 5 digits. Tests for
6452         rejection of invalid strings.
6454 2015-08-28  James Perkins  <james@loowit.net>
6456         [BZ #16141]
6457         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6458         calculation, removing incorrect decimal time rounding, so that
6459         all minute values result in a valid seconds value.
6460         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6461         offset range limits to UTC-99:59 through UTC+99:59 to parse
6462         current and historical use cases.
6463         * time/tst-strptime2.c (tests): Modify and add tests for the
6464         strptime %z input field descriptor, specifically conversion of
6465         minutes to seconds and validating an offset range of -9959 to
6466         +9959.
6468 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6469             Dmitry V. Levin  <ldv@altlinux.org>
6471         [BZ #18877]
6472         * posix/Makefile (tests): Add tst-mmap-offset.
6473         * posix/tst-mmap.c: New file.
6474         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6475         offset calculation for negative values.
6477 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6479         * sysdeps/i386/init-arch.h: New file.
6480         * sysdeps/i386/i586/init-arch.h: Likewise.
6481         * sysdeps/i386/i686/init-arch.h: Likewise.
6482         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6483         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6484         * sysdeps/x86/cpu-features.h (bit_I586): New.
6485         (bit_I686): Likewise.
6486         (bit_CX8): Likewise.
6487         (bit_CMOV): Likewise.
6488         (index_CX8): Likewise.
6489         (index_CMOV): Likewise.
6490         (index_I586): Likewise.
6491         (index_I686): Likewise.
6492         (reg_CX8): Likewise.
6493         (reg_CMOV): Likewise.
6494         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6495         available at compile-time.
6496         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6497         available at compile-time.
6498         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6499         (USE_I686): Likewise.
6501 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6503         * sysdeps/i386/bcopy.S: New file.
6504         * sysdeps/i386/bzero.S: Likewise.
6505         * sysdeps/i386/memcpy.S: Likewise.
6506         * sysdeps/i386/memmove.S: Likewise.
6507         * sysdeps/i386/mempcpy.S: Likewise.
6508         * sysdeps/i386/memset.S: Likewise.
6509         * sysdeps/i386/bzero.c: Removed.
6510         * sysdeps/i386/memset.c: Likewise.
6511         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
6512         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
6513         * sysdeps/i386/i586/memset_chk.S: Likewise.
6514         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
6515         * sysdeps/i386/memcpy_chk.S: Here.
6516         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
6517         * sysdeps/i386/memmove_chk.S: Here.
6518         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
6519         * sysdeps/i386/mempcpy_chk.S: Likewise.
6520         * sysdeps/i386/i686/memset_chk.S: Moved to ...
6521         * sysdeps/i386/memset_chk.S: Likewise.
6523 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
6525         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
6526         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
6527         file, move DIAG_POP_NEEDS_COMMENT to end of file.
6528         * soft-fp/fmadf4.c: Ditto.
6529         * soft-fp/fmatf4.c: Ditto.
6531 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6533         * sysdeps/i386/i586/Implies: Removed.
6534         * sysdeps/i386/i686/Implies: Likewise.
6536 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6538         * sysdeps/i386/i486/strlen.S: Moved to ...
6539         * sysdeps/i386/strlen.S: Here.
6541 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6543         * sysdeps/i386/i486/strcat.S: Moved to ...
6544         * sysdeps/i386/strcat.S: Here.
6546 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6548         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
6549         * sysdeps/i386/pthread_spin_trylock.S: Here.
6550         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
6551         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
6553 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6555         * sysdeps/i386/i486/string-inlines.c: Moved to ...
6556         * sysdeps/i386/string-inlines.c: Here.
6558 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6560         * sysdeps/i386/i486/htonl.S: Moved ...
6561         * sysdeps/i386/htonl.S: here.
6563 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6565         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
6566         * sysdeps/i386/bits/atomic.h: Here.
6568 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6570         * sysdeps/i386/i486/Versions: Removed.
6572 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6574         [BZ #2898]
6575         * misc/mktemp.c: Add mkdtemp to the link_warning message.
6576         Based on patch by Aurelien Jarno.
6578 2015-08-26  Stan Shebs  <stanshebs@google.com>
6580         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
6581         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6583 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6585         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
6586         * sysdeps/powerpc/dl-procinfo.c:
6587         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
6588         feature so it shows when LD_SHOW_AUXV=1.
6590 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6592         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6593         (__arch_compare_and_exchange_val_32_acq): Remove and use common
6594         definition.  ISA 2.07B no longer requires full sync.
6596 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
6598         [BZ #18863]
6599         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
6600         (si_call_addr): Define.
6601         (si_syscall): Define.
6602         (si_arch): Define.
6604 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6606         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
6607         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
6608         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
6609         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6610         (__memset_zero_constant_len_parameter): New.
6611         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
6612         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
6613         (__memset_zero_constant_len_parameter): Don't define if
6614         __memset_chk or USE_AS_BZERO are defined.
6616         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
6617         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
6618         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
6620         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
6621         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
6622         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
6623         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
6624         comments.
6625         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
6626         -mno-mmx for $(all-rtld-routines).
6627         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
6628         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
6629         i386.
6631 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6633         * sysdeps/generic/unwind.h
6634         (_Unwind_Word): Use __mode__(__unwind_word__)
6635         instead of __mode__(__word__).
6636         (_Unwind_Sword): Likewise.
6638         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6639         (MAX_NEEDED_INPUT): New define.
6640         (MAX_NEEDED_OUTPUT): New define.
6642         * NEWS: New item for IBM z13 string optimizations.
6644         * sysdeps/s390/multiarch/memrchr-c.c: New File.
6645         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
6646         * sysdeps/s390/multiarch/memrchr.c: Likewise.
6647         * sysdeps/s390/multiarch/Makefile
6648         (sysdep_routines): Add memrchr functions.
6649         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6650         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
6652         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
6653         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
6654         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
6655         * sysdeps/s390/multiarch/Makefile
6656         (sysdep_routines): Add wmemcmp functions.
6657         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6658         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
6659         * benchtests/bench-wmemcmp.c: New File.
6660         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
6662         * sysdeps/s390/multiarch/wmemset-c.c: New File.
6663         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
6664         * sysdeps/s390/multiarch/wmemset.c: Likewise.
6665         * sysdeps/s390/multiarch/Makefile
6666         (sysdep_routines): Add wmemset functions.
6667         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6668         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
6669         * wcsmbs/wmemset.c: Use WMEMSET if defined.
6670         * string/test-memset.c: Add wmemset support.
6671         * wcsmbs/test-wmemset.c: New File.
6672         * wcsmbs/Makefile (strop-tests): Add wmemset.
6673         * benchtests/bench-memset.c: Add wmemset support.
6674         * benchtests/bench-wmemset.c: New File.
6675         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
6677         * sysdeps/s390/multiarch/memccpy-c.c: New File.
6678         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
6679         * sysdeps/s390/multiarch/memccpy.c: Likewise.
6680         * sysdeps/s390/multiarch/Makefile
6681         (sysdep_routines): Add memccpy functions.
6682         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6683         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
6684         * string/memccpy.c: Use MEMCCPY if defined.
6686         * sysdeps/s390/multiarch/memchr-vx.S: New File.
6687         * sysdeps/s390/multiarch/memchr.c: Likewise.
6688         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
6689         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
6690         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
6691         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
6692         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
6693         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
6694         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
6695         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
6696         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
6697         and rawmemchr functions.
6698         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
6699         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
6700         and wmemchr.
6701         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
6702         * string/test-memchr.c: Add wmemchr support.
6703         * wcsmbs/test-wmemchr.c: New File.
6704         * wcsmbs/Makefile (strop-tests): Add wmemchr.
6705         * benchtests/bench-memchr.c: Add wmemchr support.
6706         * benchtests/bench-wmemchr.c: New File.
6707         * benchtests/Makefile (wcsmbs-bench): wmemchr.
6709         * sysdeps/s390/multiarch/strcspn-c.c: New File.
6710         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
6711         * sysdeps/s390/multiarch/strcspn.c: Likewise.
6712         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
6713         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
6714         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
6715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
6716         wcscspn functions.
6717         * sysdeps/s390/multiarch/ifunc-impl-list.c
6718         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
6719         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
6720         * string/test-strcspn.c: Add wcscspn support.
6721         * wcsmbs/test-wcscspn.c: New File.
6722         * wcsmbs/Makefile (strop-tests): Add wcscspn.
6723         * benchtests/bench-strcspn.c: Add wcscspn support.
6724         * benchtests/bench-wcscspn.c: New File.
6725         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
6727         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
6728         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
6729         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
6730         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
6731         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
6732         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
6733         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
6734         wcspbrk functions.
6735         * sysdeps/s390/multiarch/ifunc-impl-list.c
6736         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
6737         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
6738         * string/test-strpbrk.c: Add wcspbrk support.
6739         * wcsmbs/test-wcspbrk.c: New File.
6740         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
6741         * benchtests/bench-strpbrk.c: Add wcspbrk support.
6742         * benchtests/bench-wcspbrk.c: New File.
6743         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
6745         * sysdeps/s390/multiarch/strspn-c.c: New File.
6746         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
6747         * sysdeps/s390/multiarch/strspn.c: Likewise.
6748         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
6749         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
6750         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
6751         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
6752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
6753         wcsspn functions.
6754         * sysdeps/s390/multiarch/ifunc-impl-list.c
6755         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
6756         * string/test-strspn.c: Add wcsspn support.
6757         * wcsmbs/test-wcsspn.c: New File.
6758         * wcsmbs/Makefile (strop-tests): Add wcsspn.
6759         * benchtests/bench-strspn.c: Add wcsspn support.
6760         * benchtests/bench-wcsspn.c: New File.
6761         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
6763         * sysdeps/s390/multiarch/strrchr-c.c: New File.
6764         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
6765         * sysdeps/s390/multiarch/strrchr.c: Likewise.
6766         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
6767         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
6768         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
6769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
6770         wcsrchr functions.
6771         * sysdeps/s390/multiarch/ifunc-impl-list.c
6772         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
6773         * benchtests/bench-wcsrchr.c: New File.
6774         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
6776         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
6777         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
6778         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
6779         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
6780         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
6781         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
6782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
6783         wcschrnul functions.
6784         * sysdeps/s390/multiarch/ifunc-impl-list.c
6785         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
6786         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
6787         * string/test-strchr.c: Add wcschrnul support.
6788         * wcsmbs/test-wcschrnul.c: New File.
6789         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
6790         * benchtests/bench-strchr.c: Add wcschrnul support.
6791         * benchtests/bench-wcschrnul.c: New File.
6792         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
6794         * sysdeps/s390/multiarch/strchr-c.c: New File.
6795         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
6796         * sysdeps/s390/multiarch/strchr.c: Likewise.
6797         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
6798         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
6799         * sysdeps/s390/multiarch/wcschr.c: Likewise.
6800         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
6801         wcschr functions.
6802         * sysdeps/s390/multiarch/ifunc-impl-list.c
6803         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
6804         * string/strchr.c (STRCHR): Define and use macro.
6805         * benchtests/bench-wcschr.c: New File.
6806         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
6808         * sysdeps/s390/multiarch/strncmp-c.c: New File.
6809         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
6810         * sysdeps/s390/multiarch/strncmp.c: Likewise.
6811         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
6812         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
6813         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
6814         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
6815         wcsncmp functions.
6816         * sysdeps/s390/multiarch/ifunc-impl-list.c
6817         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
6818         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
6819         * benchtests/bench-strncmp.c: Add wcsncmp support.
6820         * benchtests/bench-wcsncmp.c: New File.
6821         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
6823         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
6824         * sysdeps/s390/multiarch/strcmp.c: Likewise.
6825         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
6826         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
6827         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
6828         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
6829         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
6830         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
6831         wcscmp functions.
6832         * sysdeps/s390/multiarch/ifunc-impl-list.c
6833         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
6834         * string/strcmp.c (STRCMP): Define and use macro.
6835         * benchtests/bench-wcscmp.c: New File.
6836         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
6837         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
6838         instead of _HAVE_STRING_ARCH_memchr.
6840         * sysdeps/s390/multiarch/strncat-c.c: New File.
6841         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
6842         * sysdeps/s390/multiarch/strncat.c: Likewise.
6843         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
6844         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
6845         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
6846         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
6847         wcsncat functions.
6848         * sysdeps/s390/multiarch/ifunc-impl-list.c
6849         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
6850         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
6851         * string/test-strncat.c: Add wcsncat support.
6852         * wcsmbs/test-wcsncat.c: New File.
6853         * wcsmbs/Makefile (strop-tests): Add wcsncat.
6854         * benchtests/bench-strncat.c: Add wcsncat support.
6855         * benchtests/bench-wcsncat.c: New File.
6856         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
6858         * sysdeps/s390/multiarch/strcat-c.c: New File.
6859         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
6860         * sysdeps/s390/multiarch/strcat.c: Likewise.
6861         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
6862         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
6863         * sysdeps/s390/multiarch/wcscat.c: Likewise.
6864         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
6865         wcscat functions.
6866         * sysdeps/s390/multiarch/ifunc-impl-list.c
6867         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
6868         * string/strcat.c (STRCAT): Define and use macro.
6869         * wcsmbs/wcscat.c: Use WCSCAT if defined.
6870         * string/test-strcat.c: Add wcscat support.
6871         * wcsmbs/test-wcscat.c: New File.
6872         * wcsmbs/Makefile (strop-tests): Add wcscat.
6873         * benchtests/bench-strcat.c: Add wcscat support.
6874         * benchtests/bench-wcscat.c: New File.
6875         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
6877         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
6878         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
6879         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
6880         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
6881         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
6882         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
6883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
6884         wcpncpy functions.
6885         * sysdeps/s390/multiarch/ifunc-impl-list.c
6886         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
6887         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
6888         * string/test-stpncpy.c: Add wcpncpy support.
6889         * wcsmbs/test-wcpncpy.c: New File.
6890         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
6891         * benchtests/bench-stpncpy.c: Add wcpncpy support.
6892         * benchtests/bench-wcpncpy.c: New File.
6893         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
6895         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
6896         * sysdeps/s390/multiarch/strncpy.c: Likewise.
6897         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
6898         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
6899         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
6900         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
6901         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
6903         wcsncpy functions.
6904         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
6905         * sysdeps/s390/multiarch/ifunc-impl-list.c
6906         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
6907         * string/test-strncpy.c: Add wcsncpy support.
6908         * wcsmbs/test-wcsncpy.c: New File.
6909         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
6910         * benchtests/bench-strncpy.c: Add wcsncpy support.
6911         * benchtests/bench-wcsncpy.c: New File.
6912         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
6914         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
6915         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
6916         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
6917         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
6918         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
6919         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
6920         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
6921         wcpcpy functions.
6922         * string/stpcpy.c: Use STPCPY if defined.
6923         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
6924         * sysdeps/s390/multiarch/ifunc-impl-list.c
6925         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
6926         * string/test-stpcpy.c: Add wcpcpy support.
6927         * wcsmbs/test-wcpcpy.c: New File.
6928         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
6929         * benchtests/bench-stpcpy.c: Add wcpcpy support.
6930         * benchtests/bench-wcpcpy.c: New File.
6931         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
6933         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
6934         * sysdeps/s390/multiarch/strcpy.c: Likewise.
6935         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
6936         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6937         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6938         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6939         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6941         wcscpy functions.
6942         * sysdeps/s390/multiarch/ifunc-impl-list.c
6943         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6944         * benchtests/bench-wcscpy.c: New File.
6945         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6947         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6948         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6949         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6950         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6951         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6952         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6954         wcsnlen functions.
6955         * sysdeps/s390/multiarch/ifunc-impl-list.c
6956         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6957         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6958         * string/test-strnlen.c: Add wcsnlen support.
6959         * wcsmbs/test-wcsnlen.c: New File.
6960         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6961         * benchtests/bench-strnlen.c: Add wcsnlen support.
6962         * benchtests/bench-wcsnlen.c: New File.
6963         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6965         * sysdeps/s390/multiarch/Makefile: New File.
6966         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6967         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6968         * sysdeps/s390/multiarch/strlen.c: Likewise.
6969         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6970         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6971         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6972         * string/strlen.c (STRLEN): Define and use macro.
6973         * sysdeps/s390/multiarch/ifunc-impl-list.c
6974         (IFUNC_VX_IMPL): New macro function.
6975         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6976         * benchtests/Makefile (wcsmbs-bench): New variable.
6977         (string-bench-all): Added wcsmbs-bench.
6978         * benchtests/bench-wcslen.c: New File.
6980         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6981         s390_vx_libc_ifunc2): New macro function.
6983         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6984         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6985         assembler support.
6986         * sysdeps/s390/configure: Regenerated.
6988         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6989         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6991         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6992         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6993         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6995         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6996         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6997         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6998         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6999         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7000         (memcmp, bcmp): Use __memcmp_default as alias source.
7001         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7002         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7003         Rename to __memcmp_default.
7004         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7005         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7006         (memcpy): Use __memcpy_default as alias source.
7007         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7008         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7009         Rename to __memcpy_default.
7010         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7011         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7012         (memset): Use __memset_default as alias source.
7013         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7014         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7015         Rename to __memset_default.
7016         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7017         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7018         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7019         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7020         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7021         (memcmp, bcmp): Use __memcmp_default as alias source.
7022         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7023         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7024         Rename to __memcmp_default.
7025         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7026         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7027         (memcpy): Use __memcpy_default as alias source.
7028         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7029         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7030         Rename to __memcpy_default.
7031         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7032         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7033         (memset): Use __memset_default as alias source.
7034         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7035         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7036         Rename to __memset_default.
7037         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7038         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7040         [BZ #18610]
7041         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7042         __ieee_instruction_pointer to __unused.
7043         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7044         __ieee_instruction_pointer.
7045         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7046         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7047         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7048         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7049         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7050         Mark dxc-field as reserved.
7052 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7054         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7055         if the weak reference is not null.
7057 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7059         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7061         [BZ #11214]
7062         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7064 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7066         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7067         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7068         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7069         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7070         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7071         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7072         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7073         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7074         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7075         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7076         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7077         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7078         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7079         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7080         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7081         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7082         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7083         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7085 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7087         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7088         register other than r0 for tabort, it has special meaning.
7089         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7090         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7091         transaction before starting syscall.
7093 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7095         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7097 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7099         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7101         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7102         * sysdeps/x86_64/rtld-memset.S: Likewise.
7103         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7104         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7105         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7106         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7108         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7110 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7112         * debug/strcpy_chk.c: Improve performance.
7113         * debug/stpcpy_chk.c: Likewise.
7114         * sysdeps/x86_64/strcpy_chk.S: Remove.
7115         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7117         [BZ #18240]
7118         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7120 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7122         [BZ #15128]
7123         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7124         ifuncmain8.
7125         (modules-names): Add ifuncmod8.
7126         ($(objpfx)ifuncmain8): New rule.
7127         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7128         <cpuid.h>.
7129         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7130         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7131         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7132         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7133         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7134         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7135         * sysdeps/x86_64/ifuncmain8.c: New file.
7136         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7137         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7138         Removed.
7139         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7140         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7141         Change rtld_savespace_sse to __glibc_unused2.
7142         (RTLD_CHECK_FOREIGN_CALL): Removed.
7143         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7144         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7145         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7147 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7149         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7151 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7153         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7154         Unconditionally set __fpcr to avoid uninialized warning.
7155         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7157 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7159         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7160         is corrupt.
7162         * malloc/arena.c (arena_get2): Drop unused argument.
7163         (arena_lock): Adjust.
7164         (arena_get_retry): Likewise.
7166 2015-08-24  Andreas Schwab  <schwab@suse.de>
7168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7169         Don't define.
7170         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7171         (__ASSUME_IPC64): Don't undef.
7172         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7173         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7174         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7175         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7176         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7177         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7178         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7179         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7180         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7181         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7182         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7183         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7184         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7185         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7186         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7187         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7188         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7189         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7190         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7191         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7192         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7194 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7196         * manual/Makefile (install): Only build manual when perl is available.
7198 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7201         '#undef memcpy' by '#undef memchr'.
7203 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7205         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7206         memchr not point to the internal __GI_memchr implementation.
7208 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7210         * timezone/Makefile (CFLAGS-zdump.c): Remove
7211         -Wno-strict-prototypes.
7212         (CFLAGS-zic.c): Likewise.
7213         (CFLAGS-ialloc.c): Likewise.
7214         (CFLAGS-scheck.c): Likewise.
7216         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7217         -Wno-error=undef.
7219 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7221         * i386/i686/multiarch/strcasestr-c.c: Removed.
7222         * x86_64/multiarch/strcasestr.c: Likewise.
7223         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7224         Remove strcasestr.
7226 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7228         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7230         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7231         variables for high and low parts before possibly modifying them.
7233 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7235         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7236         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7237         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7238         of "multiarch/init-arch.h".
7239         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7240         * sysdeps/x86/init-arch.h: This.
7242 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7244         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7245         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7247 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7249         [BZ #17787]
7250         * manual/macros.texi: Add twoexp macro.
7251         * manual/filesys.texi: Fix exponents.
7252         * manual/llio.texi: Likewise.
7253         * manual/stdio.texi: Likewise.
7255 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7257         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7258         incorrect use.
7260 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7262         [BZ #18370]
7263         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7264         whose real or imaginary part has small absolute value.
7265         * math/s_csqrtf.c (__csqrtf): Likewise.
7266         * math/s_csqrtl.c (__csqrtl): Likewise.
7267         * math/auto-libm-test-in: Add more tests of csqrt.
7268         * math/auto-libm-test-out: Regenerated.
7269         * sysdeps/i386/fpu/libm-test-ulps: Update.
7271 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7273         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7274         __ppc_set_ppr_very_low): New functions.
7275         * manual/platform.texi: Add documentation about
7276         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7278 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7280         * string/stpncpy.c (stpncpy): Improve performance using
7281         __strnlen/memcpy/memset.
7283 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7285         [BZ #18796]
7286         * scripts/test-installation.pl: Don't add -lmvec to build options if
7287         libmvec wasn't built.
7289 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7291         [BZ #14341]
7292         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7293         case when there is a gap between DT_REL and DT_JMPREL sections.
7294         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7295         (LDFLAGS-tst-split-dynreloc): New.
7296         (tst-split-dynreloc-ENV): Likewise.
7297         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7298         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7300 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7302         [BZ #18822]
7303         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7304         attribute_hidden.
7305         (__xstat64_conv): Likewise.
7306         (__xstat32_conv): Likewise.
7308 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7310         [BZ #18822]
7311         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7312         Don't load %ebx when calling __setcontext.  Call __setcontext
7313         with HIDDEN_JUMPTARGET.
7314         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7315         libc_hidden_def.
7317 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7319         * sysdeps/i386/i686/Makefile
7320         [$(subdir) == string] (sysdep_routines): Moved to ...
7321         * sysdeps/i386/Makefile: Here.
7322         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7323         * sysdeps/i386/cacheinfo.c: Here.
7324         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7325         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7326         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7327         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7329 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7331         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7332         __i586__ is defined.
7333         (HAS_I686): Defined to 1 if __i686__ is defined.
7335 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7337         * elf/Makefile [$(have-z-execstack) = yes]
7338         (CPPFLAGS-tst-execstack.c): New variable.
7340         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7341         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7342         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7343         UTMPX || _HAVE_UT_TV].
7344         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7345         UTMPX || _HAVE_UT_TV - 0].
7347 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7349         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7350         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7351         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7353 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7355         * sysdeps/powerpc/dl-procinfo.c:
7356         (_dl_powerpc_cap_flags): Added missing strings for some
7357         hwcap features.
7358         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7360 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7362         Port the 0x7efe...feff pattern to GCC 6.
7363         See Steve Ellcey's bug report in:
7364         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7365         * string/memrchr.c (MEMRCHR):
7366         * string/rawmemchr.c (RAWMEMCHR):
7367         * string/strchr.c (strchr):
7368         * string/strchrnul.c (STRCHRNUL):
7369         Rewrite code to avoid issues with signed shift overflow.
7371 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7373         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7374         whether cpuid is available only if HAS_CPUID is 0.
7375         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7376         (HAS_I586): Likewise.
7377         (HAS_I686): Likewise.
7379 2015-08-18  Zack Weinberg  <zackw@panix.com>
7381         * misc/Versions (libc): Add GLIBC_2.23.
7383 2015-08-18  Alan Modra  <amodra@gmail.com>
7385         [BZ #18421]
7386         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7387         .Lp__global.
7388         (_start): Load %dp via .Lp__global.
7389         [!SHARED]: Use .section .rodata.
7391 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7393         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7394         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7396 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7398         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7399         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7401 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7403         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7404         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7406 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7408         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7409         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7411 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7413         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7414         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7416 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7418         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7419         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7421 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7423         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7425 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7427         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7428         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7429         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7430         (__ASSUME_LWS_CAS): Delete.
7432 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7434         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7435         * sysdeps/hppa/configure: Regenerated.
7436         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7437         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7438         * sysdeps/hppa/nptl/tls.h: Likewise.
7440 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7442         [BZ #18823]
7443         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7444         for scaling up small arguments.
7445         * math/s_csqrtf.c (__csqrtf): Likewise.
7446         * math/s_csqrtl.c (__csqrtl): Likewise.
7447         * math/auto-libm-test-in: Add more tests of csqrt.
7448         * math/auto-libm-test-out: Regenerated.
7450 2015-08-17  Andreas Schwab  <schwab@suse.de>
7452         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7453         version set GLIBC_2.19.
7455 2015-08-16  Zack Weinberg  <zackw@panix.com>
7457         [BZ #18681]
7458         * misc/regexp.h: This interface is no longer supported.
7459         Remove all contents, leaving only an #error directive.
7460         * misc/regexp.c (loc1, loc2, locs, step, advance):
7461         Demote to compatibility symbols.
7463 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7465         [BZ #18084]
7466         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7467         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7468         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7469         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7470         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7471         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7472         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7473         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7474         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7476 2015-08-15  Zack Weinberg  <zackw@panix.com>
7478         [BZ #18795]
7479         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7480         buffer length is known to be too large, not if it's known to be
7481         small enough.
7482         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7483         overflow at runtime, involving a length parameter, twice: once
7484         with a compile-time constant length parameter, once without.
7486 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7488         [BZ #18824]
7489         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7490         scaling x * y up instead of down.
7491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7493         * math/auto-libm-test-in: Add more tests of fma.
7494         * math/auto-libm-test-out: Regenerated.
7496 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7500 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7502         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
7503         unnecessary movq.
7504         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
7505         Likewise.
7507 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
7509         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7510         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
7511         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
7512         and tgamma.
7513         * math/auto-libm-test-out: Regenerated.
7514         * sysdeps/i386/fpu/libm-test-ulps: Update.
7515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517         [BZ #16520]
7518         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
7519         (__tanh): Force underflow exception for arguments with small
7520         absolute value.
7521         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
7522         (__tanhf): Force underflow exception for arguments with small
7523         absolute value.
7524         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
7525         (__tanhl): Force underflow exception for arguments with small
7526         absolute value.
7527         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
7528         (__tanhl): Force underflow exception for arguments with small
7529         absolute value.
7530         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
7531         (__tanhl): Force underflow exception for arguments with small
7532         absolute value.
7533         * math/auto-libm-test-in: Add more tests of tanh.
7534         * math/auto-libm-test-out: Regenerated.
7535         * sysdeps/i386/fpu/libm-test-ulps: Update.
7537 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7539         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
7540         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
7542 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7544         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
7545         <cpuid.h>.
7547 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7549         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
7550         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
7552 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7554         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
7555         Remove $(objpfx)init-arch.o.
7556         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
7557         init-arch.
7558         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
7559         (INIT_ARCH_EXT): Defined as empty.
7560         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
7561         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
7562         __init_cpu_features call.  Replace HAS_XXX with
7563         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7564         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
7565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
7566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
7567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
7568         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7569         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
7570         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
7571         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7572         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
7573         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
7574         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7575         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
7576         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
7577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7578         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
7579         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
7580         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7582         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
7583         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
7584         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7585         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
7586         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
7587         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7588         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
7589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
7590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7591         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
7592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
7593         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7594         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
7595         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
7596         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
7598         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
7600 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7602         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
7603         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7604         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7605         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
7606         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
7607         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
7608         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
7609         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
7610         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
7611         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
7612         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
7613         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
7614         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7615         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7616         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7617         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7618         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7619         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7620         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7621         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7622         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7623         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7624         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7625         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7626         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7627         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7628         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7629         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7630         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7631         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7632         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7633         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7634         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7635         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7636         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7637         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7638         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7639         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7640         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7641         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7642         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7643         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7644         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7646 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7648         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
7649         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7650         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7651         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7652         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7653         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
7654         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7655         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
7656         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7657         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7658         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7659         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
7660         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
7661         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
7662         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
7663         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
7664         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
7665         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
7666         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
7667         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
7668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7669         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
7670         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
7671         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7672         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7673         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
7674         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
7675         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
7676         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
7677         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7678         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7679         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7680         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7681         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7682         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7683         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7684         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7685         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7686         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7687         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7688         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7689         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7690         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7692 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
7694         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
7695         (dl_platform_init): Call init_cpu_features.
7696         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
7697         * sysdeps/i386/i686/cacheinfo.c
7698         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
7699         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
7700         * sysdeps/i386/i686/multiarch/Versions: Removed.
7701         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
7702         Removed.
7703         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
7704         * sysdeps/unix/sysv/linux/x86/Makefile
7705         (libpthread-sysdep_routines): Remove init-arch.
7706         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
7707         <sysdeps/x86_64/dl-procinfo.c> instead of
7708         sysdeps/generic/dl-procinfo.c>.
7709         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
7710         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
7711         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
7712         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
7713         [$(subdir) == elf] (tests-static): Add
7714         tst-get-cpu-features-static.
7715         * sysdeps/x86/Versions: New file.
7716         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
7717         * sysdeps/x86/cpu-features.c: Likewise.
7718         * sysdeps/x86/cpu-features.h: Likewise.
7719         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
7720         * sysdeps/x86/libc-start.c: Likewise.
7721         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7722         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
7723         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
7724         * sysdeps/x86_64/dl-procinfo.c: Likewise.
7725         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
7726         Assume USE_MULTIARCH is defined and don't check it.
7727         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
7728         (is_amd): Likewise.
7729         (max_cpuid): Likewise.
7730         (intel_check_word): Likewise.
7731         (__cache_sysconf): Don't call __init_cpu_features.
7732         (__x86_preferred_memory_instruction): Removed.
7733         (init_cacheinfo): Don't call __init_cpu_features. Replace
7734         __cpu_features with GLRO(dl_x86_cpu_features).
7735         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
7736         (dl_platform_init): Call init_cpu_features.
7737         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
7738         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
7739         * sysdeps/x86_64/multiarch/Versions: Removed.
7740         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
7741         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
7742         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
7743         Removed.
7744         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
7746 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7748         [BZ #18820]
7749         * libio/Makefile (test-fmemopen-mem): New test.
7750         * libio/test-fmemopen.c (do_bz18820): New test.
7751         * libio/fmemopen.c (__fmemopen): Fix memory leak.
7752         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
7754 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
7756         [BZ #16734]
7757         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
7758         (FREE_BUF): Delete.
7759         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
7760         * libio/genops.c (_IO_setb): Use malloc and free directly.
7761         (_IO_default_doallocate, _IO_default_finish): Likewise.
7762         ( _IO_unbuffer_all): Likewise.
7763         ( libc_freeres_fn): Likewise.
7764         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7765         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7766         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
7767         (_IO_wdefault_doallocate): Likewise.
7769 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7771         [BZ #18086]
7772         * sysdeps/posix/nice.c (nice): Restore old errno.
7773         * posix/tst-nice.c (do_test): Add test for BZ #18086.
7775 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
7777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
7779 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7781         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
7782         __bcopy and add a weak_alias to bcopy.
7783         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
7784         for static build.
7786         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
7787         cleanup macro usage.
7788         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
7789         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
7790         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7791         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
7792         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7793         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
7794         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
7795         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7796         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
7797         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
7798         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7799         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
7800         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7801         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
7802         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
7804         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
7805         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
7806         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
7808         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
7809         libc_hidden_def.
7810         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
7812         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
7813         (sysdep_routines): Add strstr-ppc64.
7814         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
7816 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
7818         [BZ #18778]
7819         * elf/Makefile (tests): Add Add tst-nodelete2.
7820         (modules-names): Add tst-nodelete2mod.
7821         (tst-nodelete2mod.so-no-z-defs): New.
7822         ($(objpfx)tst-nodelete2): Likewise.
7823         ($(objpfx)tst-nodelete2.out): Likewise.
7824         (LDFLAGS-tst-nodelete2): Likewise.
7825         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
7826         out of loop through all loaded libraries.
7827         * elf/tst-nodelete2.c: New file.
7828         * elf/tst-nodelete2mod.c: Likewise.
7829         * elf/tst-znodelete-zlib.cc: Delete.
7831 2015-08-11  Andreas Schwab  <schwab@suse.de>
7833         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
7834         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
7835         (__openat64_nocancel): Likewise.
7837 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
7839         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
7840         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
7841         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
7842         * math/auto-libm-test-out: Regenerated.
7843         * sysdeps/i386/fpu/libm-test-ulps: Update.
7844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7846 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7848         [BZ #18790]
7849         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
7850         threshold for returning +/- 1.
7851         * math/auto-libm-test-in: Add more tests of tanh.
7852         * math/auto-libm-test-out: Regenerated.
7853         * sysdeps/i386/fpu/libm-test-ulps: Update.
7855 2015-08-10  Andreas Schwab  <schwab@suse.de>
7857         [BZ #18781]
7858         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
7859         MORE_OFLAGS to oflag.
7860         * io/test-lfs.c (do_test): Test openat64.
7862 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
7864         [BZ #18789]
7865         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
7866         smaller threshold for returning the argument.
7867         * math/auto-libm-test-in: Add more tests of sinh.
7868         * math/auto-libm-test-out: Regenerated.
7869         * sysdeps/i386/fpu/libm-test-ulps: Update.
7871 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
7873         [BZ #18674]
7874         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
7875         break.
7877 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
7879         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
7880         (generated): Don't add $(addprefix z.,$(tzfiles)).
7882 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7884         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
7885         * scripts/sysd-rules.awk: Likewise.
7887 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7889         * iconvdata/tst-tables.sh: Change echo -n to printf.
7890         * nss/db-Makefile: Likewise.
7891         * posix/tst-getconf.sh: Likewise.
7892         * stdio-common/tst-unbputc.sh: Likewise.
7894 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
7896         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
7897         MADV_*_PAGES defines behind this feature check.
7899 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
7901         [BZ #18480]
7902         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
7903         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
7904         Define.
7905         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
7906         LOAD_REGS_5, LOAD_REGS_6): Update.
7907         (INTERNAL_SYSCALL): Update using new LOAD defines.
7908         (INTERNAL_SYSCALL_NCS): Likewise.
7909         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
7911 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7913         [BZ #16734]
7914         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
7916 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7918         [BZ #17905]
7919         * catgets/Makefile (tst-catgets-mem): New test.
7920         * catgets/catgets.c (catopen): Don't use unbounded alloca.
7921         * catgets/open_catalog.c (__open_catalog): Likewise.
7922         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
7924 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
7926         [BZ #18787]
7927         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
7928         clobber registers.
7929         (atomic_compare_and_exchange_val_acq): Use register asms to assign
7930         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
7931         Cast return to __typeof (oldval).
7933 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
7935         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
7936         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7937         and delete sys/syscall.h include.
7939 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7941         [BZ #16517]
7942         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7943         (tan): Force underflow exception for arguments with small absolute
7944         value.
7945         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7946         (__kernel_tanf): Force underflow exception for arguments with
7947         small absolute value.
7948         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7949         (__kernel_tanl): Force underflow exception for arguments with
7950         small absolute value.
7951         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7952         (__kernel_tanl): Force underflow exception for arguments with
7953         small absolute value.
7954         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7955         (__kernel_tanl): Force underflow exception for arguments with
7956         small absolute value.
7957         * math/auto-libm-test-in: Add more tests of tan.
7958         * math/auto-libm-test-out: Regenerated.
7960 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7962         Fix sysdeps/i386/fpu/s_scalbn.S build
7964         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7966 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7968         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7970 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7972         Fix gcrt0.o compilation
7974         When static-start-installed-name is different from
7975         start-installed-name, we must not use the shared objects.
7977         * csu/Makefile
7978         (extra-objs): Add gmon-start.o when building shared library and
7979         $(static-start-installed-name) is different from
7980         $(start-installed-name).
7981         $(objpfx)g$(static-start-installed-name): When building shared
7982         library and $(static-start-installed-name) is different from
7983         $(static-start-installed-name), revert to non-shared rule,
7984         i.e. using $(objpfx)% and gmon-start.o.
7986 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7988         [BZ #16519]
7989         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7990         (__ieee754_sinh): Force underflow exception for arguments with
7991         small absolute value.
7992         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7993         (__ieee754_sinhf): Force underflow exception for arguments with
7994         small absolute value.
7995         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7996         (__ieee754_sinhl): Force underflow exception for arguments with
7997         small absolute value.
7998         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7999         (__ieee754_sinhl): Force underflow exception for arguments with
8000         small absolute value.
8001         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8002         (__ieee754_sinhl): Force underflow exception for arguments with
8003         small absolute value.
8004         * math/auto-libm-test-in: Add more tests of sinh.
8005         * math/auto-libm-test-out: Regenerated.
8006         * sysdeps/i386/fpu/libm-test-ulps: Update.
8008 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8010         * libio/oldfileops.c: Include unistd.h.
8012 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8014         * stdlib/isomac.c: Include ctype.h.
8016 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8018         * dirent/tst-seekdir.c (main): Converted to ...
8019         (do_test): ... this.
8020         (TEST_FUNCTION): New macro.
8021         Include test-skeleton.c.
8022         * elf/tst-dlmodcount.c (main): Converted to ...
8023         (do_test): ... this.
8024         (TEST_FUNCTION): New macro.
8025         Include test-skeleton.c.
8026         * elf/tst-order-main.c (main): Converted to ...
8027         (do_test): ... this.
8028         (TEST_FUNCTION): New macro.
8029         Include test-skeleton.c.
8030         * elf/tst-pie2.c (main): Converted to ...
8031         (do_test): ... this.
8032         (TEST_FUNCTION): New macro.
8033         Include test-skeleton.c.
8034         * inet/tst-ether_aton.c (main): Converted to ...
8035         (do_test): ... this.
8036         (TEST_FUNCTION): New macro.
8037         Include test-skeleton.c.
8038         * misc/tst-mntent.c (main): Converted to ...
8039         (do_test): ... this.
8040         (TEST_FUNCTION): New macro.
8041         Include test-skeleton.c.
8042         * misc/tst-tsearch.c (main): Converted to ...
8043         (do_test): ... this.
8044         (TEST_FUNCTION): New macro.
8045         Include test-skeleton.c.
8046         * posix/tst-regexloc.c (main): Converted to ...
8047         (do_test): ... this.
8048         (TEST_FUNCTION): New macro.
8049         Include test-skeleton.c.
8050         * resolv/tst-aton.c (main): Converted to ...
8051         (do_test): ... this.
8052         (TEST_FUNCTION): New macro.
8053         Include test-skeleton.c.
8054         * stdio-common/test-fwrite.c (main): Converted to ...
8055         (do_test): ... this.
8056         (TEST_FUNCTION): New macro.
8057         Include test-skeleton.c.
8058         * stdio-common/tst-ferror.c (main): Converted to ...
8059         (do_test): ... this.
8060         (TEST_FUNCTION): New macro.
8061         Include test-skeleton.c.
8062         * stdio-common/tst-printf.c (main): Converted to ...
8063         (do_test): ... this.
8064         (TEST_FUNCTION): New macro.
8065         Include test-skeleton.c.
8066         * stdio-common/tst-printfsz.c (main): Converted to ...
8067         (do_test): ... this.
8068         (TEST_FUNCTION): New macro.
8069         Include test-skeleton.c.
8070         * stdlib/tst-strtod.c (main): Converted to ...
8071         (do_test): ... this.
8072         (TEST_FUNCTION): New macro.
8073         Include test-skeleton.c.
8074         * string/tst-strlen.c (main): Converted to ...
8075         (do_test): ... this.
8076         (TEST_FUNCTION): New macro.
8077         Include test-skeleton.c.
8078         * string/tst-svc.c (main): Converted to ...
8079         (do_test): ... this.
8080         (TEST_FUNCTION): New macro.
8081         Include test-skeleton.c.
8082         * time/tst-strptime.c (main): Converted to ...
8083         (do_test): ... this.
8084         (TEST_FUNCTION): New macro.
8085         Include test-skeleton.c.
8086         * timezone/tst-timezone.c (main): Converted to ...
8087         (do_test): ... this.
8088         (TEST_FUNCTION): New macro.
8089         Include test-skeleton.c.
8091 2015-08-05  Zack Weinberg  <zackw@panix.com>
8093         * misc/regexp.h: Update comments.
8095 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8097         [BZ #18635]
8098         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8099         before return label.
8101 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8103         [BZ #18661]
8104         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8105         when calling __errno_location.
8106         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8107         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8109 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8111         [BZ #18661]
8112         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8113         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8114         __gettimeofday.
8116 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8118         [BZ #18661]
8119         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8120         (__start_context): Don't use pop to restore %rdi so that stack
8121         is aligned to 16 bytes when calling __setcontext.
8123 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8125         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8126         only for libc.
8127         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8129 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8131         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8132         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8133         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8135 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8137         * string/memccpy.c (memccpy):
8138         Improve performance by using memchr/memcpy/__mempcpy.
8140 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8142         * string/strncpy.c (strncpy):
8143         Improve performance by using __strnlen/memcpy.
8145 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8147         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8148         Optimize to avoid an unnecessary FPCR read.
8150 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8152         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8153         Optimize to reduce FPCR/FPSR accesses.
8155 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8157         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8158         dead->data[category] != NULL.
8160 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8162         [BZ #18647]
8163         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8164         and |x| close to 1, use absolute value of x when computing log.
8165         * math/auto-libm-test-in: Add more tests of pow.
8166         * math/auto-libm-test-out: Regenerated.
8168 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8170         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8171         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8172         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8174 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8176         [BZ #18525]
8177         * locales/km_KH: Remove timezone definition.
8178         * locales/lo_LA: Likewise.
8179         * locales/my_MM: Likewise.
8180         * locales/nan_TW@latin: Likewise.
8181         * locales/th_TH: Likewise.
8182         * locales/uk_UA: Likewise.
8184 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8186         [BZ #18265]
8187         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8188         (wcsncat): Likewise.
8189         (wcscmp): Likewise.
8190         (wcsncmp): Likewise.
8192 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8194         * test-skeleton.c (usage): New function.
8195         (main): Call usage when opt is '?'.
8197 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8199         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8200         before first use.
8202 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8204         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8205         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8206         in there too.
8208 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8210         * version.h (RELEASE): Set to "development".
8211         (VERSION): Set to "2.22.90"
8213         * version.h (RELEASE): Set to "stable".
8214         (VERSION): Set to "2.22"
8215         * include/features.h (__GLIBC_MINOR__): Set to 22.
8217 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8219         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8220         Restructure macro to avoid "value computed is not used" warning.
8221         (atomic_compare_and_exchange_val_acq): Likewise.
8223 2015-08-04  Andreas Schwab  <schwab@suse.de>
8225         [BZ #18635]
8226         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8227         ret.
8228         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8230 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8232         * po/pl.po: Updated translation.
8233         * po/uk.po: Likewise.
8234         * po/fi.po: Likewise.
8235         * po/ko.po: Likewise.
8236         * po/ru.po: Likewise.
8237         * po/vi.po: Likewise.
8239 2015-07-31  Zack Weinberg  <zackw@panix.com>
8241         [BZ #18681]
8242         * regexp.h: Add unconditional #warning stating that this header
8243         will be removed soon.  Revise banner comment to match.
8244         (compile): Consistently use ERROR instead of RETURN to report
8245         errors (partial fix for bz#18681).
8246         * regexp.c: Don't include regexp.h. Remove some unnecessary
8247         declarations.
8249 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8251         * po/libc.pot: Regenerated.
8253 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8255         [BZ #18740]
8256         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8257         float-vlen4-arch-ext-cflags): Removed.
8258         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8259         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8261 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8263         [BZ #14113]
8264         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8265         aligned to __aligned__.
8266         (pthread_cond_t, pthread_rwlock_t): Likewise.
8268 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8270         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8272 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8274         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8275         (struct sigaction): Change sa_flags from a long to an int, and add
8276         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8278 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8280         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8281         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8282         sysdeps/generic/sysdep.h include.
8283         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8284         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8285         sysdeps/hppa/sysdep.h.
8286         (ENTRY, PSEUDO): Undefine before defining.
8288 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8290         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8291         from scratch to use INTERNAL_SYSCALL.
8293 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8295         [BZ #18078]
8296         * scripts/check-localplt.awk: Support alternate relocations.
8297         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8298         sections.
8299         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8300         malloc entries with + REL R_386_GLOB_DAT.
8301         * sysdeps/x86_64/localplt.data: New file.
8303 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8305         [BZ #18731]
8306         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8307         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8308         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8310 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8312         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8314 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8316         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8317         directly in terms of __sync_fetch_and_add and delete (int) cast.
8319 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8321         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8322         the -D_ASM_IA64_CURRENT_H flag.
8324 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8326         [BZ #18641]
8327         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8329 2015-07-27  Andreas Schwab  <schwab@suse.de>
8331         * conform/conformtest.pl (checknamespace): Filter out string
8332         literals while tokenizing.
8334 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8336         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8337         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8338         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8340 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8342         * nptl/tst-join7mod.c: Add #include <string.h>.
8344 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8346         * sysdeps/nios2/libm-test-ulps: Update.
8348 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8350         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8351         Fix order of arguments to the rt_sigprocmask syscall.
8352         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8353         Likewise.
8355 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8357         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8359 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8361         [BZ #18457]
8362         * nptl/Makefile (tests): New test case tst-join7.
8363         (modules-names): New test case module tst-join7mod.
8364         * nptl/tst-join7.c: New file.
8365         * nptl/tst-join7mod.c: New file.
8366         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8367         all translation units in libc.so, libpthread.so and rtld.
8369 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8373 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8375         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8376         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8377         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8378         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8379         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8380         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8381         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8382         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8384         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8386         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8387         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8388         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8389         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8390         implementation.
8392 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8394         [BZ #17711]
8395         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8396         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8397         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8398         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8399         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8400         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8402 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8404         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8405         instead of just saying load lock in the comments.
8407 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8409         * sysdeps/unix/Subdirs: Moved ...
8410         * sysdeps/posix/Subdirs: ... here.
8411         * login/pty.h (struct termios, struct winsize): Add forward decls.
8412         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8413         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8414         * sysdeps/arm/nacl/libc.abilist: Updated.
8415         * sysdeps/nacl/libutil.abilist: New file.
8417         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8418         (SIGWINCH): New macro.
8420         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8421         * sysdeps/arm/nacl/libc.abilist: Add it.
8423 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8425         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8427 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8429         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8430         Swap __glibc_reserved0 and sa_flags order.
8432 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8434         [BZ #18657]
8435         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8436         are pending TLS destructor calls.
8437         * include/link.h (struct link_map): Add concurrency note for
8438         L_TLS_DTOR_COUNT.
8439         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8440         Don't touch the link map flag.  Atomically increment
8441         l_tls_dtor_count.
8442         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8443         Avoid taking the load lock and don't touch the link map flag.
8444         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8445         * stdlib/Makefile (tests): Use it.
8446         * stdlib/tst-tls-atexit.c (do_test): dlopen
8447         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8448         to allow tst-tls-atexit-nodelete test case to use it.
8450 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8452         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8453         to bits/types.h.
8454         (msgqnum_t): New typedef.
8455         (msglen_t): Likewise.
8456         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8457         and msg_qbytes type to msglen_t.
8459 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8461         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8462         pad0 to __glibc_reserved0.
8463         (struct stat64): Likewise.
8465 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8467         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8468         Change sa_flags from a long to an int and add __glibc_reserved0 before
8469         it for padding.
8471 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8473         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8474         anonymous by deleting "siginfo" name.
8476 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8478         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8479         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8480         rather than __nacl_irt_filename.
8481         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8483         * NEWS: New item for arm-nacl port.
8484         * sysdeps/arm/nacl/libc.abilist: New file.
8485         * sysdeps/nacl/ld.abilist: New file.
8486         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8487         * sysdeps/nacl/libanl.abilist: New file.
8488         * sysdeps/nacl/libcrypt.abilist: New file.
8489         * sysdeps/nacl/libdl.abilist: New file.
8490         * sysdeps/nacl/libm.abilist: New file.
8491         * sysdeps/nacl/libpthread.abilist: New file.
8492         * sysdeps/nacl/libresolv.abilist: New file.
8493         * sysdeps/nacl/librt.abilist: New file.
8495 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8497         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8498         __startcontext to initialize the new context.
8499         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8500         up CFI directive to forbid further backtracing.
8502 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
8504         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
8505         reference.
8506         * charmaps/ANSI_X3.4-1968: Likewise.
8507         * charmaps/BS_4730: Likewise.
8508         * charmaps/BS_VIEWDATA: Likewise.
8509         * charmaps/CP1250: Likewise.
8510         * charmaps/CP1251: Likewise.
8511         * charmaps/CP1252: Likewise.
8512         * charmaps/CP1253: Likewise.
8513         * charmaps/CP1254: Likewise.
8514         * charmaps/CP1255: Likewise.
8515         * charmaps/CP1256: Likewise.
8516         * charmaps/CSN_369103: Likewise.
8517         * charmaps/EBCDIC-DK-NO: Likewise.
8518         * charmaps/GB_1988-80: Likewise.
8519         * charmaps/GREEK-CCITT: Likewise.
8520         * charmaps/GREEK7: Likewise.
8521         * charmaps/INIS-8: Likewise.
8522         * charmaps/ISIRI-3342: Likewise.
8523         * charmaps/ISO_2033-1983: Likewise.
8524         * charmaps/ISO_5427-EXT: Likewise.
8525         * locales/POSIX: Likewise.
8526         * locales/ar_SA: Likewise.
8527         * locales/be_BY: Likewise.
8528         * locales/be_BY@latin: Likewise.
8529         * locales/ca_ES: Likewise.
8530         * locales/cs_CZ: Likewise.
8531         * locales/da_DK: Likewise.
8532         * locales/de_BE: Likewise.
8533         * locales/de_CH: Likewise.
8534         * locales/de_LU: Likewise.
8535         * locales/en_AU: Likewise.
8536         * locales/en_BW: Likewise.
8537         * locales/en_CA: Likewise.
8538         * locales/en_DK: Likewise.
8539         * locales/en_GB: Likewise.
8540         * locales/en_IE: Likewise.
8541         * locales/en_NZ: Likewise.
8542         * locales/en_ZA: Likewise.
8543         * locales/en_ZW: Likewise.
8544         * locales/es_AR: Likewise.
8545         * locales/es_BO: Likewise.
8546         * locales/es_CL: Likewise.
8547         * locales/es_CO: Likewise.
8548         * locales/es_DO: Likewise.
8549         * locales/es_EC: Likewise.
8550         * locales/es_ES: Likewise.
8551         * locales/es_HN: Likewise.
8552         * locales/es_MX: Likewise.
8553         * locales/es_PA: Likewise.
8554         * locales/es_PE: Likewise.
8555         * locales/es_PY: Likewise.
8556         * locales/es_SV: Likewise.
8557         * locales/es_US: Likewise.
8558         * locales/es_UY: Likewise.
8559         * locales/es_VE: Likewise.
8560         * locales/et_EE: Likewise.
8561         * locales/fa_IR: Likewise.
8562         * locales/fo_FO: Likewise.
8563         * locales/fr_CA: Likewise.
8564         * locales/fr_CH: Likewise.
8565         * locales/gv_GB: Likewise.
8566         * locales/he_IL: Likewise.
8567         * locales/hr_HR: Likewise.
8568         * locales/id_ID: Likewise.
8569         * locales/is_IS: Likewise.
8570         * locales/it_CH: Likewise.
8571         * locales/iw_IL: Likewise.
8572         * locales/kl_GL: Likewise.
8573         * locales/ko_KR: Likewise.
8574         * locales/kw_GB: Likewise.
8575         * locales/lg_UG: Likewise.
8576         * locales/lt_LT: Likewise.
8577         * locales/lv_LV: Likewise.
8578         * locales/mi_NZ: Likewise.
8579         * locales/nhn_MX: Likewise.
8580         * locales/nl_BE: Likewise.
8581         * locales/pl_PL: Likewise.
8582         * locales/sk_SK: Likewise.
8583         * locales/sl_SI: Likewise.
8584         * locales/sv_FI: Likewise.
8585         * locales/tl_PH: Likewise.
8586         * locales/tr_TR: Likewise.
8587         * locales/vi_VN: Likewise.
8589 2015-07-21  Khem Raj  <raj.khem@gmail.com>
8591         [BZ #17475]
8592         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
8593         of tu_IN and bh_IN.
8595 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
8597         [BZ #18694]
8598         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
8599         bits/wordsize.h.
8600         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
8602 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8604         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
8605         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
8606         (spawn_thread): New function.
8607         (load): Rename to reg_dtor_and_close.  Move dlopen to...
8608         (do_test): ... here.  Use IS_LOADED to test for its
8609         availability.
8611 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
8613         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8615 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
8617         [BZ #18696]
8618         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
8619         si_addr_bnd.
8620         (si_lower): New.
8621         (si_upper): Likewise.
8623 2015-07-16  David S. Miller  <davem@davemloft.net>
8625         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8627 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8629         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
8630         buffer.
8631         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
8632         fail output information.
8634 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
8637         and strstr-ppc64..
8638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8639         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
8640         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
8641         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
8642         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
8644 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8646         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8647         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8648         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
8649         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8651 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
8653         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8654         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
8655         rtld_hidden_proto.
8656         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
8658 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8660         * tst-nodelete-opened.c (do_test): Add comment to clarify how
8661         the test can fail.
8663         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
8665         [BZ #18676]
8666         * elf/tst-nodelete-opened.c: New test case.
8667         * elf/tst-nodelete-opened-lib.c: New test case module.
8668         * elf/Makefile (tests, modules-names): Use them.
8669         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
8670         early.
8672 2015-07-15  David S. Miller  <davem@davemloft.net>
8674         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
8675         futex-intenal.h
8676         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
8677         * sysdeps/sparc/sparc64/Makefile: Likewise.
8678         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8679         Remove space from macro define.
8680         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
8682 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
8684         [BZ #17475]
8685         * locale/iso-639.def: Update Bhili and Tulu language codes as
8686         per iso639-3.
8688 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
8690         * elf/tst-leaks1.c (main): Converted to ...
8691         (do_test): ... this.
8692         (TEST_FUNCTION): New macro.
8693         Include test-skeleton.c.
8694         * localedata/tst-langinfo.c (main): Converted to ...
8695         (do_test): ... this.
8696         (TEST_FUNCTION): New macro.
8697         Include test-skeleton.c.
8698         * math/test-fpucw.c (main): Converted to ...
8699         (do_test): ... this.
8700         (TEST_FUNCTION): New macro.
8701         Include test-skeleton.c.
8702         * math/test-tgmath.c (main): Converted to ...
8703         (do_test): ... this.
8704         (TEST_FUNCTION): New macro.
8705         Include test-skeleton.c.
8706         * math/test-tgmath2.c (main): Converted to ...
8707         (do_test): ... this.
8708         (TEST_FUNCTION): New macro.
8709         Include test-skeleton.c.
8710         * setjmp/tst-setjmp.c (main): Converted to ...
8711         (do_test): ... this.
8712         (TEST_FUNCTION): New macro.
8713         Include test-skeleton.c.
8714         * stdio-common/tst-sscanf.c (main): Converted to ...
8715         (do_test): ... this.
8716         (TEST_FUNCTION): New macro.
8717         Include test-skeleton.c.
8718         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
8719         (do_test): ... this.
8720         (TEST_FUNCTION): New macro.
8721         Include test-skeleton.c.
8723         * elf/tst-audit9.c (main): Converted to ...
8724         (do_test): ... this.
8725         (TEST_FUNCTION): New macro.
8726         Include test-skeleton.c.
8728 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
8730         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
8732 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8734         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
8735         New variable.
8737 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8739         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8741 2015-07-14  Roland McGrath  <roland@hack.frob.com>
8743         * sysdeps/generic/dl-fileid.h: New file.
8744         * sysdeps/posix/dl-fileid.h: New file.
8745         * sysdeps/nacl/dl-fileid.h: New file.
8746         * include/link.h: Include <dl-fileid.h>.
8747         (struct link_map): Replace l_dev and l_ino with l_file_id.
8748         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
8749         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
8750         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
8752 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8754         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
8756 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8758         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
8759         Add iff $CXX is set.
8760         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
8761         Likewise.
8762         (tst-nodelete-zmodiff): Likewise.
8763         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
8765 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8767         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
8769 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8771         * sysdeps/aarch64/fpu/math_private.h
8772         (define math_opt_barrier): Add AArch64 version.
8773         (math_force_eval): Likewise.
8775 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
8777         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
8779 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8781         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
8782         %ld with %jd and cast to intmax_t.
8783         (do_test_length_zero): Likewise.
8785 2015-07-10  Roland McGrath  <roland@hack.frob.com>
8787         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
8789 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
8791         * sysdeps/tile/libm-test-ulps: Regenerated.
8793         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
8794         Comment out the whole function, not just its body.
8796 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8798         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
8799         locks.
8801         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
8803 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8805         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
8806         (sem_assume_only_signals_cause_futex_EINTR): Remove.
8808 2015-07-10  Torvald Riegel  <triegel@redhat.com>
8810         * sysdeps/nptl/futex-internal.h: New file.
8811         * sysdeps/nacl/futex-internal.h: New file.
8812         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
8813         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
8814         error checking.
8815         (setxid_unmark_thread): Likewise.
8816         (__nptl_setxid): Likewise.
8817         (__wait_lookup_done): Likewise.
8818         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
8819         * nptl/nptl-init.c (sighandler_setxid): Likewise.
8820         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
8821         * nptl/pthread_once.c (clear_once_control): Likewise.
8822         (__pthread_once_slow): Likewise.
8823         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8824         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
8825         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
8826         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
8827         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
8828         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
8829         Likewise.
8830         (__pthread_rwlock_rdlock): Likewise.
8831         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8832         Likewise.
8833         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8834         Likewise.
8835         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
8836         Likewise.
8837         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
8838         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
8839         Likewise.
8840         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
8841         __ASSUME_PRIVATE_FUTEX check.
8842         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
8843         Check that shared futexes are supported.
8844         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
8845         wrappers with error checking.
8846         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
8847         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
8848         * nptl/pthread_barrierattr_setpshared.c
8849         (pthread_barrierattr_setpshared): Check that shared futexes are
8850         supported.
8851         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
8852         Likewise.
8853         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
8854         Likewise.
8855         * nptl/sem_init.c (futex_private_if_supported): Remove.
8856         (__new_sem_init): Adapt and check that shared futexes are supported.
8857         * nptl/sem_open.c (sem_open): Likewise.
8858         * nptl/sem_post.c (futex_wake): Remove.
8859         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
8860         (do_futex_wait): Use futex wrappers with error checking.
8861         * nptl/sem_wait.c: Include lowlevellock.h.
8862         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
8863         Use futex_supports_pshared.
8864         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
8865         Use futex wrappers with error checking.
8866         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
8867         Likewise.
8868         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
8869         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
8870         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
8871         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
8872         (futex_wake): Likewise.
8873         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
8874         (do_futex_wait): Use futex wrappers with error checking.
8875         (__new_sem_wait_slow): Update EINTR handling.
8876         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
8878 2015-07-09  Martin Sebor  <msebor@redhat.com>
8880         [BZ #18435]
8881         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8882         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
8883         * nptl/Makefile (test-xfail-tst-once5): Define.
8885 2015-07-09  Roland McGrath  <roland@hack.frob.com>
8887         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
8888         * elf/dl-minimal.c: For readability, reorder some definitions and
8889         introduce more page breaks.  Include <stdio.h>.
8890         (__libc_fatal): New function.
8892         * include/unistd.h: Add rtld_hidden_proto for _exit.
8893         * posix/_exit.c: Add rtld_hidden_def.
8894         * sysdeps/mach/hurd/_exit.c: Likewise.
8895         * sysdeps/nacl/_exit.c: Likewise.
8896         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
8897         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
8899 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
8901         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
8902         bndmov encoding with zero displacement.
8904 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8905             H.J. Lu  <hongjiu.lu@intel.com>
8907         [BZ #18134]
8908         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
8909         * sysdeps/i386/configure: Regenerated.
8910         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
8911         (_dl_runtime_profile): Save and restore Intel MPX return bound
8912         registers when calling _dl_call_pltexit.  Add
8913         PRESERVE_BND_REGS_PREFIX before return.
8914         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
8915         (LRV_BND1_OFFSET): Likewise.
8916         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
8917         lrv_bnd1.
8918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
8919         typo in bndmov encoding.
8920         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
8921         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
8922         branch instructions to preserve bounds.
8924 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8927         [GLIBC_2.22]: Add fmemopen.
8929 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8931         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
8932         returns an error, also try to use host port from __mach_host_self for
8933         the __vm_wire call.
8934         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
8936 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8938         [BZ #18400]
8939         [BZ #18648]
8940         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8941         Fix pr_uid and pr_gid members.
8942         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8943         definition to elf_greg_t.
8945 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8947         [BZ #18383]
8948         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8949         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8950         * sysdeps/arm/configure: Regenerated.
8951         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8952         (test-xfail-tst-tlsalign-static): Variable removed.
8954         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8955         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8956         rather than explicit 'ln -s'.
8958         * resolv/rpc/netdb.h: New file.
8959         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8961 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8963         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8964         length buffers.
8965         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8966         test-skeleton.c.
8968         [BZ #6544]
8969         [BZ #11216]
8970         [BZ #12836]
8971         [BZ #13151]
8972         [BZ #13152]
8973         [BZ #14292]
8974         * include/stdio.h (fmemopen): Remove hidden prototype.
8975         (__fmemopen): Add new hidden prototype.
8976         * libio/Makefile: Add oldfmemopen object.
8977         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8978         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8979         compliance.
8980         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8981         symbol compatibility.
8982         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8983         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8984         fmemopen.
8985         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8986         on append and read mode.
8987         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8988         fmemopen.
8989         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8990         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8991         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8992         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8995         [GLIBC_2.22]: Likewise.
8996         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8997         Likewise.
8998         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8999         Likewise.
9000         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9001         [GLIBC_2.22]: Likewise.
9002         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9003         [GLIBC_2.22]: Likewise.
9004         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9005         [GLIBC_2.22]: Likewise.
9006         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9007         [GLIBC_2.22]: Likewise.
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9009         [GLIBC_2.22]: Likewise.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9011         [GLIBC_2.22]: Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9013         [GLIBC_2.22]: Likewise.
9014         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9015         Likewise.
9016         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9019         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9020         [GLIBC_2.22]: Likewise.
9021         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9022         [GLIBC_2.22]: Likewise.
9023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9024         [GLIBC_2.22]: Likewise.
9025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9026         [GLIBC_2.22]: Likewise.
9027         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9032         Likewise.
9033         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9034         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9036 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9038         [BZ #18643]
9039         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9040         IPV6_PATHMTU, and IPV6_DONTFRAG.
9042 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9044         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9045         and _IO_UNBUFFERED.
9046         * libio/oldfileops.c: Likewise.
9047         * libio/wfileops.c: Likewise.
9049 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9051         * nscd/selinux.c: Delete selinux/flask.h include.
9053 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9055         [BZ #18641]
9056         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9057         (putpwent): Likewise.
9058         (getpwnam): Likewise.
9059         (getpwent_r): Likewise.
9060         (getpwuid_r): Likewise.
9061         (getpwnam_r): Likewise.
9062         (fgetpwent_r): Likewise.
9064 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9066         [BZ #18557]
9067         * inet/rcmd.c (__validuser2_sa): Check user first to
9068         short-circuit host check.
9070 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9071             Mikhail Ilin  <m.ilin@samsung.com>
9073         [BZ #17833]
9074         * elf/Makefile (tests): Add tst-nodelete.
9075         (modules-names): Add tst-nodelete-uniquemod.
9076         (tst-nodelete-uniquemod.so-no-z-defs): New.
9077         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9078         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9079         ($(objpfx)tst-nodelete): Likewise.
9080         ($(objpfx)tst-nodelete.out): Likewise.
9081         (LDFLAGS-tst-nodelete): Likewise.
9082         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9083         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9084         implement forced object deletion.
9085         (_dl_close): Pass false to _dl_close_worker.
9086         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9087         * elf/tst-nodelete.cc: New file.
9088         * elf/tst-nodeletelib.cc: Likewise.
9089         * elf/tst-znodeletelib.cc: Likewise.
9090         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9092 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9094         [BZ #18508]
9095         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9096         Depend on $(libdl).
9097         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9098         is not called infinitely times.
9099         (backtrace_helper): New function.
9100         (trace_arg): New struct.
9101         (st1): Enlarge stack size.
9102         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9103         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9104         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9105         Likewise.
9107 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9109         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9111 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9113         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9114         Include sys/types.h instead of bits/types.h.
9115         Remove inclusion of bits/wordsize.h.
9117 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9119         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9120         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9121         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9122         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9123         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9124         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9126 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9128         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9129         link-defines.sym.
9130         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9131         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9132         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9133         and LR_SIZE.
9134         * sysdeps/i386/link-defines.sym: New file.
9136 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9138         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9139         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9140         ($(objpfx)tst-audit3): New rule.
9141         ($(objpfx)tst-audit3.out): Likewise.
9142         * sysdeps/i386/tst-audit3.c: New file.
9143         * sysdeps/i386/tst-audit3.h: Likewise.
9144         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9145         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9147 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9149         [BZ #18633]
9150         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9151         pointer in C code.
9152         (__strcat_c): Likewise.
9153         (__strcat_g): Likewise.
9155 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9157         [BZ #18592]
9158         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9160 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9162         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9163         New function.  (__ieee754_sqrtf): New function.
9164         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9165         New function.
9166         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9167         New function.
9169 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9171         * sysdeps/ieee754/support.c: Remove unused file.
9173 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9175         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9176         registers instead of d ones so the layout is kernel abi compatible.
9177         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9178         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9179         Likewise.
9181 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9183         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9185 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9187         [BZ #18619]
9188         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9189         and return argument in case of subnormal argument.
9191 2015-07-01  Martin Sebor  <msebor@redhat.com>
9193         [BZ #18435]
9194         * nptl/Makefile: Add tst-once5.cc.
9195         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9196         Remove macro redefinitions.
9197         * nptl/tst-once5.cc: New test.
9199 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9201         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9203         * sysdeps/arm/libm-test-ulps: Regenerated.
9205         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9206         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9208 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9210         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9211         lll_lock_wait_private and lll_futex_wake probes.
9213         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9214         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9215         Likewise.
9216         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9217         atomic_spin_nop.
9218         * sysdeps/x86_64/bits/atomic.h: Likewise.
9219         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9220         to atomic_spin_nop and move ...
9221         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9222         ... here and ...
9223         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9224         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9225         atomic_spin_nop instead of BUSY_WAIT_NOP.
9226         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9227         Likewise.
9228         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9229         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9230         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9231         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9232         instead of atomic_delay.
9234 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9236         [BZ #18613]
9237         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9238         X_ADJ not X when adjusting exponent.
9239         (__ieee754_gamma_r): Do intermediate computations in
9240         round-to-nearest then adjust overflowing and underflowing results
9241         as needed.
9242         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9243         of X_ADJ not X when adjusting exponent.
9244         (__ieee754_gammaf_r): Do intermediate computations in
9245         round-to-nearest then adjust overflowing and underflowing results
9246         as needed.
9247         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9248         log of X_ADJ not X when adjusting exponent.
9249         (__ieee754_gammal_r): Do intermediate computations in
9250         round-to-nearest then adjust overflowing and underflowing results
9251         as needed.  Use 1.0L not 1.0f as numerator of division.
9252         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9253         log of X_ADJ not X when adjusting exponent.
9254         (__ieee754_gammal_r): Do intermediate computations in
9255         round-to-nearest then adjust overflowing and underflowing results
9256         as needed.  Use 1.0L not 1.0f as numerator of division.
9257         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9258         of X_ADJ not X when adjusting exponent.
9259         (__ieee754_gammal_r): Do intermediate computations in
9260         round-to-nearest then adjust overflowing and underflowing results
9261         as needed.  Use 1.0L not 1.0f as numerator of division.
9262         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9263         to auto-libm-test-in.
9264         (tgamma_test): Use ALL_RM_TEST.
9265         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9266         tests of tgamma with spurious-overflow.
9267         * math/auto-libm-test-out: Regenerated.
9268         * math/gen-libm-have-vector-test.sh: Do not check for START.
9269         * sysdeps/i386/fpu/libm-test-ulps: Update.
9270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9272         [BZ #18612]
9273         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9274         arguments, just return 0.5 times the argument, with underflow
9275         forced as needed.
9276         * math/auto-libm-test-in: Add more tests of j1.
9277         * math/auto-libm-test-out: Regenerated.
9279         [BZ #16559]
9280         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9281         (__ieee754_j1): Force underflow exception for small results.
9282         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9283         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9284         (__ieee754_j1f): Force underflow exception for small results.
9285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9288         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9289         (__ieee754_j1l): Force underflow exception for small results.
9290         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9291         * math/auto-libm-test-in: Add more tests of j1 and jn.
9292         * math/auto-libm-test-out: Regenerated.
9294         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9295         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9296         (PF_MPLS): Likewise.
9297         (AF_IB): Likewise.
9298         (AF_MPLS): Likewise.
9299         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9300         value and macro.
9301         (MS_RMT_MASK): Include MS_LAZYTIME.
9303 2015-06-26  Mel Gorman  <mgorman@suse.de>
9305         [BZ #18502]
9306         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9307         already minimal.
9309 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9311         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9312         (DT_MIPS_NUM): Update.
9313         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9314         DT_MIPS_RLD_MAP_REL.
9316 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9318         [BZ #16559]
9319         [BZ #18602]
9320         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9321         round-to-nearest internally then recompute results that
9322         underflowed to zero in the original rounding mode.
9323         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9324         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9326         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9327         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9328         * sysdeps/i386/fpu/libm-test-ulps: Update.
9329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9331 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9333         * NEWS: Fixed description of link with vector math library.
9335 2015-06-25  Andreas Schwab  <schwab@suse.de>
9337         [BZ #18549]
9338         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9339         * libio/test-fmemopen.c (do_test): Add test for it.
9341 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9343         [BZ #17841]
9344         * Makeconfig (no-pie-ldflag): New.
9345         (+link): Set to $(+link-pie) if default to PIE.
9346         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9347         * config.make.in (build-pie-default): New.
9348         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9349         is default.  AC_SUBST.
9350         * configure: Regenerated.
9351         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9353 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9355         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9356         to 'unsigned int'.
9358         * resolv/gai_misc.h (struct waitlist): Change type of field
9359         counterp to 'volatile unsigned int *'.
9360         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9361         FUTEXADDR and OLDVAL.
9362         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9363         Give local variable TOTAL type 'volatile unsigned int'.
9364         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9365         * resolv/gai_suspend.c (gai_suspend):
9366         Give local variable CNTR type 'unsigned int'.
9368         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9369         counterp to 'volatile unsigned int *'.
9370         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9371         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9372         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9373         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9374         Give local variable TOTAL type 'volatile unsigned int'.
9375         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9377 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9379         [BZ #18383]
9380         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9381         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9382         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9383         comment for i386/x86-64.
9384         (test-xfail-tst-tlsalign-extern-static): Removed.
9386 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9388         * math/test-double.h: New file.
9389         * math/test-float.h: Likewise.
9390         * math/test-ldouble.h: Likewise.
9391         * math/test-math-inline.h: Likewise.
9392         * math/test-math-no-inline.h: Likewise.
9393         * math/test-math-scalar.h: Likewise.
9394         * math/test-math-vector.h: Likewise.
9395         * math/test-vec-loop.h: Remove file.  Contents moved into
9396         test-math-vector.h.
9397         * math/libm-test.inc (MATHCONST): Do not document macro.
9398         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9399         and test-math-scalar.h.
9400         (FUNC): Remove macro.
9401         (FUNC_TEST): Likewise.
9402         (FLOAT): Likewise.
9403         (MATHCONST): Likewise.
9404         (PRINTF_EXPR): Likewise.
9405         (PRINTF_XEXPR): Likewise.
9406         (PRINTF_NEXPR): Likewise.
9407         (TEST_DOUBLE): Likewise.
9408         (TEST_MATHVEC): Likewise.
9409         (__NO_MATH_INLINES): Likewise.
9410         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9411         and test-math-scalar.h.
9412         (FUNC): Remove macro.
9413         (FUNC_TEST): Likewise.
9414         (FLOAT): Likewise.
9415         (MATHCONST): Likewise.
9416         (PRINTF_EXPR): Likewise.
9417         (PRINTF_XEXPR): Likewise.
9418         (PRINTF_NEXPR): Likewise.
9419         (TEST_FLOAT): Likewise.
9420         (TEST_MATHVEC): Likewise.
9421         (__NO_MATH_INLINES): Likewise.
9422         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9423         and test-math-scalar.h.
9424         (FUNC): Remove macro.
9425         (FUNC_TEST): Likewise.
9426         (FLOAT): Likewise.
9427         (MATHCONST): Likewise.
9428         (PRINTF_EXPR): Likewise.
9429         (PRINTF_XEXPR): Likewise.
9430         (PRINTF_NEXPR): Likewise.
9431         (TEST_DOUBLE): Likewise.
9432         (TEST_MATHVEC): Likewise.
9433         (TEST_INLINE): Likewise.
9434         (__NO_MATH_INLINES): Likewise.
9435         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9436         test-math-scalar.h.
9437         (FUNC): Remove macro.
9438         (FUNC_TEST): Likewise.
9439         (FLOAT): Likewise.
9440         (MATHCONST): Likewise.
9441         (PRINTF_EXPR): Likewise.
9442         (PRINTF_XEXPR): Likewise.
9443         (PRINTF_NEXPR): Likewise.
9444         (TEST_FLOAT): Likewise.
9445         (TEST_MATHVEC): Likewise.
9446         (TEST_INLINE): Likewise.
9447         (__NO_MATH_INLINES): Likewise.
9448         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9449         and test-math-scalar.h.
9450         (FUNC): Remove macro.
9451         (FUNC_TEST): Likewise.
9452         (FLOAT): Likewise.
9453         (MATHCONST): Likewise.
9454         (PRINTF_EXPR): Likewise.
9455         (PRINTF_XEXPR): Likewise.
9456         (PRINTF_NEXPR): Likewise.
9457         (TEST_LDOUBLE): Likewise.
9458         (TEST_MATHVEC): Likewise.
9459         (TEST_INLINE): Likewise.
9460         (__NO_MATH_INLINES): Likewise.
9461         * math/test-ldouble.c: Include test-ldouble.h,
9462         test-math-no-inline.h and test-math-scalar.h.
9463         (FUNC): Remove macro.
9464         (FUNC_TEST): Likewise.
9465         (FLOAT): Likewise.
9466         (MATHCONST): Likewise.
9467         (PRINTF_EXPR): Likewise.
9468         (PRINTF_XEXPR): Likewise.
9469         (PRINTF_NEXPR): Likewise.
9470         (TEST_LDOUBLE): Likewise.
9471         (TEST_MATHVEC): Likewise.
9472         (__NO_MATH_INLINES): Likewise.
9473         * math/test-double-vlen2.h: Include test-double.h,
9474         test-math-no-inline.h and test-math-vector.h.
9475         (FLOAT): Remove macro.
9476         (FUNC): Likewise.
9477         (MATHCONST): Likewise.
9478         (PRINTF_EXPR): Likewise.
9479         (PRINTF_XEXPR): Likewise.
9480         (PRINTF_NEXPR): Likewise.
9481         (TEST_DOUBLE): Likewise.
9482         (TEST_MATHVEC): Likewise.
9483         (__NO_MATH_INLINES): Likewise.
9484         (CNCT): Likewise.
9485         (CONCAT): Likewise.
9486         (WRAPPER_NAME): Likewise.
9487         (WRAPPER_DECL): Likewise.
9488         (WRAPPER_DECL_ff): Likewise.
9489         (WRAPPER_DECL_fFF): Likewise.
9490         (VECTOR_WRAPPER): Likewise.
9491         (VECTOR_WRAPPER_ff): Likewise.
9492         (VECTOR_WRAPPER_fFF): Likewise.
9493         (VEC_LEN): New macro.
9494         * math/test-double-vlen4.h: Include test-double.h,
9495         test-math-no-inline.h and test-math-vector.h.
9496         (FLOAT): Remove macro.
9497         (FUNC): Likewise.
9498         (MATHCONST): Likewise.
9499         (PRINTF_EXPR): Likewise.
9500         (PRINTF_XEXPR): Likewise.
9501         (PRINTF_NEXPR): Likewise.
9502         (TEST_DOUBLE): Likewise.
9503         (TEST_MATHVEC): Likewise.
9504         (__NO_MATH_INLINES): Likewise.
9505         (CNCT): Likewise.
9506         (CONCAT): Likewise.
9507         (WRAPPER_NAME): Likewise.
9508         (WRAPPER_DECL): Likewise.
9509         (WRAPPER_DECL_ff): Likewise.
9510         (WRAPPER_DECL_fFF): Likewise.
9511         (VECTOR_WRAPPER): Likewise.
9512         (VECTOR_WRAPPER_ff): Likewise.
9513         (VECTOR_WRAPPER_fFF): Likewise.
9514         (VEC_LEN): New macro.
9515         * math/test-double-vlen8.h: Include test-double.h,
9516         test-math-no-inline.h and test-math-vector.h.
9517         (FLOAT): Remove macro.
9518         (FUNC): Likewise.
9519         (MATHCONST): Likewise.
9520         (PRINTF_EXPR): Likewise.
9521         (PRINTF_XEXPR): Likewise.
9522         (PRINTF_NEXPR): Likewise.
9523         (TEST_DOUBLE): Likewise.
9524         (TEST_MATHVEC): Likewise.
9525         (__NO_MATH_INLINES): Likewise.
9526         (CNCT): Likewise.
9527         (CONCAT): Likewise.
9528         (WRAPPER_NAME): Likewise.
9529         (WRAPPER_DECL): Likewise.
9530         (WRAPPER_DECL_ff): Likewise.
9531         (WRAPPER_DECL_fFF): Likewise.
9532         (VECTOR_WRAPPER): Likewise.
9533         (VECTOR_WRAPPER_ff): Likewise.
9534         (VECTOR_WRAPPER_fFF): Likewise.
9535         (VEC_LEN): New macro.
9536         * math/test-float-vlen4.h: Include test-float.h,
9537         test-math-no-inline.h and test-math-vector.h.
9538         (FLOAT): Remove macro.
9539         (FUNC): Likewise.
9540         (MATHCONST): Likewise.
9541         (PRINTF_EXPR): Likewise.
9542         (PRINTF_XEXPR): Likewise.
9543         (PRINTF_NEXPR): Likewise.
9544         (TEST_FLOAT): Likewise.
9545         (TEST_MATHVEC): Likewise.
9546         (__NO_MATH_INLINES): Likewise.
9547         (CNCT): Likewise.
9548         (CONCAT): Likewise.
9549         (WRAPPER_NAME): Likewise.
9550         (WRAPPER_DECL): Likewise.
9551         (WRAPPER_DECL_ff): Likewise.
9552         (WRAPPER_DECL_fFF): Likewise.
9553         (VECTOR_WRAPPER): Likewise.
9554         (VECTOR_WRAPPER_ff): Likewise.
9555         (VECTOR_WRAPPER_fFF): Likewise.
9556         (VEC_LEN): New macro.
9557         * math/test-float-vlen8.h: Include test-float.h,
9558         test-math-no-inline.h and test-math-vector.h.
9559         (FLOAT): Remove macro.
9560         (FUNC): Likewise.
9561         (MATHCONST): Likewise.
9562         (PRINTF_EXPR): Likewise.
9563         (PRINTF_XEXPR): Likewise.
9564         (PRINTF_NEXPR): Likewise.
9565         (TEST_FLOAT): Likewise.
9566         (TEST_MATHVEC): Likewise.
9567         (__NO_MATH_INLINES): Likewise.
9568         (CNCT): Likewise.
9569         (CONCAT): Likewise.
9570         (WRAPPER_NAME): Likewise.
9571         (WRAPPER_DECL): Likewise.
9572         (WRAPPER_DECL_ff): Likewise.
9573         (WRAPPER_DECL_fFF): Likewise.
9574         (VECTOR_WRAPPER): Likewise.
9575         (VECTOR_WRAPPER_ff): Likewise.
9576         (VECTOR_WRAPPER_fFF): Likewise.
9577         (VEC_LEN): New macro.
9578         * math/test-float-vlen16.h: Include test-float.h,
9579         test-math-no-inline.h and test-math-vector.h.
9580         (FLOAT): Remove macro.
9581         (FUNC): Likewise.
9582         (MATHCONST): Likewise.
9583         (PRINTF_EXPR): Likewise.
9584         (PRINTF_XEXPR): Likewise.
9585         (PRINTF_NEXPR): Likewise.
9586         (TEST_FLOAT): Likewise.
9587         (TEST_MATHVEC): Likewise.
9588         (__NO_MATH_INLINES): Likewise.
9589         (CNCT): Likewise.
9590         (CONCAT): Likewise.
9591         (WRAPPER_NAME): Likewise.
9592         (WRAPPER_DECL): Likewise.
9593         (WRAPPER_DECL_ff): Likewise.
9594         (WRAPPER_DECL_fFF): Likewise.
9595         (VECTOR_WRAPPER): Likewise.
9596         (VECTOR_WRAPPER_ff): Likewise.
9597         (VECTOR_WRAPPER_fFF): Likewise.
9598         (VEC_LEN): New macro.
9599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
9600         test-vec-loop.h.
9601         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9603         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9604         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9605         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9607         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9609 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9611         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
9612         (__getlogin_r): ... this.
9614 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #18594]
9617         * math/s_ccosh.c (__ccosh): Compare with least normal value
9618         instead of comparing class with FP_SUBNORMAL.
9619         * math/s_ccoshf.c (__ccoshf): Likewise.
9620         * math/s_ccoshl.c (__ccoshl): Likewise.
9621         * math/s_cexp.c (__cexp): Likewise.
9622         * math/s_cexpf.c (__cexpf): Likewise.
9623         * math/s_cexpl.c (__cexpl): Likewise.
9624         * math/s_csin.c (__csin): Likewise.
9625         * math/s_csinf.c (__csinf): Likewise.
9626         * math/s_csinh.c (__csinh): Likewise.
9627         * math/s_csinhf.c (__csinhf): Likewise.
9628         * math/s_csinhl.c (__csinhl): Likewise.
9629         * math/s_csinl.c (__csinl): Likewise.
9630         * math/s_ctan.c (__ctan): Likewise.
9631         * math/s_ctanf.c (__ctanf): Likewise.
9632         * math/s_ctanh.c (__ctanh): Likewise.
9633         * math/s_ctanhf.c (__ctanhf): Likewise.
9634         * math/s_ctanhl.c (__ctanhl): Likewise.
9635         * math/s_ctanl.c (__ctanl): Likewise.
9636         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
9637         csin, csinh, ctan and ctanh.
9638         * math/auto-libm-test-out: Regenerated.
9639         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
9640         * sysdeps/i386/fpu/libm-test-ulps: Update.
9641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9643 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9645         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
9646         return value is wrong, print the expected value too.
9648 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9650         [BZ #18585]
9651         * elf/readlib.c (is_gdb_python_file): New.
9652         (process_file): Don't issue errors on filenames with -gdb.py
9653         suffix.
9655 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9657         * math/auto-libm-test-in: Add more tests of csin and csinh.
9658         * math/auto-libm-test-out: Regenerated.
9659         * math/libm-test.inc (csin_test_data): Remove tests moved to
9660         auto-libm-test-in.
9661         (csinh_test_data): Likewise.
9663         [BZ #18593]
9664         * math/s_csin.c (__csin): Negate before rather than after possibly
9665         overflowing multiplication.
9666         * math/s_csinf.c (__csinf): Likewise.
9667         * math/s_csinh.c (__csinh): Likewise.
9668         * math/s_csinhf.c (__csinhf): Likewise.
9669         * math/s_csinhl.c (__csinhl): Likewise.
9670         * math/s_csinl.c (__csinl): Likewise.
9671         * math/auto-libm-test-in: Add some tests of csin and csinh.
9672         * math/auto-libm-test-out: Regenerated.
9673         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
9674         (csinh_test_data): Likewise.
9675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9677         [BZ #18586]
9678         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
9679         underflow exception for small results.
9681 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
9683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9684         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
9685         variable and included header.
9686         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
9687         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
9688         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
9689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
9690         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
9691         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9692         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9693         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
9694         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
9695         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
9696         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
9697         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
9698         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
9699         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
9700         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
9701         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
9703 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9705         [BZ #16526]
9706         [BZ #16538]
9707         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
9708         (__sin): Force underflow exception for arguments with small
9709         absolute value.
9710         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
9711         (__kernel_sinf): Force underflow exception for arguments with
9712         small absolute value.
9713         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
9714         (__kernel_sincosl): Force underflow exception for arguments with
9715         small absolute value.
9716         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
9717         (__kernel_sinl): Force underflow exception for arguments with
9718         small absolute value.
9719         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
9720         (__kernel_sincosl): Force underflow exception for arguments with
9721         small absolute value.
9722         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
9723         (__kernel_sinl): Force underflow exception for arguments with
9724         small absolute value.
9725         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
9726         (__kernel_sinl): Force underflow exception for arguments with
9727         small absolute value.
9728         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
9729         (__kernel_sinf): Force underflow exception for arguments with
9730         small absolute value.
9731         * math/auto-libm-test-in: Add more tests of sin and sincos.
9732         * math/auto-libm-test-out: Regenerated.
9734         [BZ #18245]
9735         [BZ #18583]
9736         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
9737         (__kernel_standard_l): Use feholdexcept and fesetenv around
9738         conversion to double instead of special-casing overflow and
9739         underflow.
9740         * math/libm-test.inc (fmod_test_data): Add more tests.
9741         (remainder_test_data): Likewise.
9742         (sqrt_test_data): Likewise.
9744 2015-06-23  Torvald Riegel  <triegel@redhat.com>
9746         [BZ #17403]
9747         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
9748         atomic_read_barrier, atomic_write_barrier): Define.
9749         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
9750         atomic_read_barrier, atomic_write_barrier): Define.
9752 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9754         * math/Makefile [$(PERL) != no]
9755         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
9756         dependency on libm-test.stmp below the inclusion of Rules.
9758 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
9760         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
9761         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
9762         and included header.
9763         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
9764         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
9765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
9766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
9767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
9768         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
9769         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9771         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
9772         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
9773         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
9774         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
9775         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
9776         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
9777         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
9778         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
9779         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
9780         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
9781         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
9783 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
9785         [BZ #18371]
9786         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
9787         intermediate but not final result might underflow.
9788         * math/s_csqrtf.c (__csqrtf): Likewise.
9789         * math/s_csqrtl.c (__csqrtl): Likewise.
9790         * math/auto-libm-test-in: Add more tests of csqrt.
9791         * math/auto-libm-test-out: Regenerated.
9792         * sysdeps/i386/fpu/libm-test-ulps: Update.
9794         [BZ #18219]
9795         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
9796         threshold on absolute value of exponent for which scaling is used.
9797         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
9798         * math/auto-libm-test-in: Add more tests of exp2.
9799         * math/auto-libm-test-out: Regenerated.
9801 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
9803         [BZ #17977]
9804         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
9805         when initializing interface list, based on the bug analysis
9806         and the patch proposed by Eric Newton.
9807         * resolv/tst-res_hconf_reorder.c: New test.
9808         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
9809         tst-res_hconf_reorder.
9810         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
9811         and $(shared-thread-library).
9812         (tst-res_hconf_reorder-ENV): New variable.
9814         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
9815         in comment.
9817 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
9819         [BZ #16353]
9820         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
9821         (__expm1): Force underflow exception for arguments with small
9822         absolute value.
9823         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
9824         (__expm1f): Force underflow exception for arguments with small
9825         absolute value.
9826         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
9827         (__expm1): Force underflow exception for arguments with small
9828         absolute value.
9829         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
9830         (__expm1f): Force underflow exception for arguments with small
9831         absolute value.
9832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
9833         Check for small arguments before calling __expm1.
9834         * math/auto-libm-test-in: Do not mark underflow exceptions as
9835         possibly missing for bug 16353.
9836         * math/auto-libm-test-out: Regenerated.
9838 2015-06-22  Andreas Schwab  <schwab@suse.de>
9840         [BZ #18513]
9841         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
9842         PTR queries.
9844 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
9846         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
9848         * string/strcoll_l.c: Remove unused struct element idxnow.
9850 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
9852         [BZ #18569]
9853         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
9854         underflow and return argument in case of subnormal argument.
9855         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9856         Likewise.
9857         * math/auto-libm-test-in: Add more tests of expm1.
9858         * math/auto-libm-test-out: Regenerated.
9860         [BZ #16361]
9861         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9862         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9863         tiny results.
9864         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
9865         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
9866         tiny results.
9867         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
9868         mark underflow exceptions as possibly missing for bug 16361.
9869         * math/auto-libm-test-out: Regenerated.
9871 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
9873         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
9874         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
9875         Remove variable.
9876         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9877         (test-xfail-XOPEN2K8/utmpx.h/conform).
9879         * conform/conformtest.pl ($xerrors): New variable.
9880         (note_error): New function.
9881         (compiletest): New argument $xfail.  Use not_error.
9882         (runtest): Likewise.
9883         (top level): Handle xfail- lines.  Update calls to compiletest and
9884         runtest.  Handle xfail- and optional- in headers listed with
9885         allow-header.
9886         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
9887         (O_EXEC): Likewise.
9888         (O_SEARCH): Likewise.
9889         * conform/data/stropts.h-data (ioctl): Likewise.
9890         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
9891         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
9892         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
9893         (msghdr.msg_controllen): Likewise.
9894         (cmsghdr.cmsg_len): Likewise.
9895         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
9896         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
9897         variable.
9898         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9899         (test-xfail-XPG4/stropts.h/conform): Likewise.
9900         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9901         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9902         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9903         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9904         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9905         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9906         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9907         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9908         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9909         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9910         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9911         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9912         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9913         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9914         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9915         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9916         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9917         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9918         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9920 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9922         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
9923         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
9924         definitions for proper unfolding of __MATHDECL_VEC.
9926 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9928         * benchtests/bench-strcoll.c:
9929         Include string.h.
9930         (main): Remove unused variable res.
9932 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9934         * timezone/Makefile (%/UTC %/Universal):
9935         Generate test-result files for UTC and Universal.
9937 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9939         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9941 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9943         [BZ #16350]
9944         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9945         for arguments with small absolute value.
9946         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9947         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9948         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9949         (__asinh): Force underflow exception for arguments with small
9950         absolute value.
9951         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9952         (__asinhf): Force underflow exception for arguments with small
9953         absolute value.
9954         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9955         (__asinhl): Force underflow exception for arguments with small
9956         absolute value.
9957         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9958         (__asinhl): Force underflow exception for arguments with small
9959         absolute value.
9960         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9961         (__asinhl): Force underflow exception for arguments with small
9962         absolute value.
9963         * math/auto-libm-test-in: Do not mark underflow exceptions as
9964         possibly missing for bug 16350.
9965         * math/auto-libm-test-out: Regenerated.
9967         * include/bits/ipc.h: Remove file.
9968         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9969         variable.
9970         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9971         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9972         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9973         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9974         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9975         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9976         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9977         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9978         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9980         * math/auto-libm-test-in: Remove spurious underflow allowance for
9981         tests of cexp.
9982         * math/auto-libm-test-out: Regenerated.
9984         [BZ #18558]
9985         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9986         unconditional definition.
9987         (MCAST_BLOCK_SOURCE): Likewise.
9988         (MCAST_UNBLOCK_SOURCE): Likewise.
9989         (MCAST_LEAVE_GROUP): Likewise.
9990         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9991         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9992         (MCAST_MSFILTER): Likewise.
9993         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9994         Remove variable.
9995         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9996         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9997         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9998         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9999         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10001 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10003         * NEWS: Mention addition of x86_64 vector sincosf.
10004         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10005         * math/test-float-vlen4.h: Likewise.
10006         * math/test-float-vlen8.h: Likewise.
10007         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10008         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10009         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10010         * sysdeps/x86_64/fpu/Versions: New versions added.
10011         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10012         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10013         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10014         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10015         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10016         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10017         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10018         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10019         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10020         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10021         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10022         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10023         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10024         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10025         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10026         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10027         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10028         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10029         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10030         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10031         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10033         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10034         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10036         * NEWS: Mention addition of x86_64 vector sincos.
10037         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10038         * math/math.h (__MATHDECL_VEC): New macro.
10039         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10040         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10041         declaration under condition.
10042         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10043         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10044         TEST_VEC_LOOP change.
10045         * math/test-double-vlen4.h: Likewise.
10046         * math/test-double-vlen8.h: Likewise.
10047         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10048         * math/test-float-vlen4.h: Likewise.
10049         * math/test-float-vlen8.h: Likewise.
10050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10051         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10052         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10053         * sysdeps/x86_64/fpu/Versions: New versions added.
10054         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10055         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10056         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10057         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10060         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10061         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10062         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10063         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10064         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10065         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10066         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10067         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10068         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10069         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10070         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10071         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10072         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10073         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10074         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10075         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10076         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10077         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10079         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10080         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10081         redirections for powf.
10082         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10083         * sysdeps/x86_64/fpu/Versions: New versions added.
10084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10085         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10086         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10087         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10090         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10091         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10093         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10094         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10095         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10096         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10097         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10098         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10099         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10100         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10101         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10102         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10103         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10104         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10105         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10106         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10107         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10108         * math/test-float-vlen16.h: Fixed 2 argument macro.
10109         * math/test-float-vlen4.h: Likewise.
10110         * math/test-float-vlen8.h: Likewise.
10111         * NEWS: Mention addition of x86_64 vector powf.
10113 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10115         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10116         and redefine.
10117         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10118         and redefine.
10119         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10120         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10123         [BZ #18553]
10124         * resource/getpriority.c (getpriority): Rename to __getpriority
10125         and define as weak alias of __getpriority.
10126         * resource/setpriority.c (setpriority): Rename to __setpriority
10127         and define as weak alias of __setpriority.
10128         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10129         __getpriority and define as weak alias of __getpriority.
10130         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10131         __setpriority and define as weak alias of __setpriority.
10132         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10133         strong name.
10134         (setpriority): Use __setpriority as strong name.
10135         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10136         __getpriority and define as weak alias of __getpriority.
10137         * include/sys/resource.h (__getpriority): Declare.  Use
10138         libc_hidden_proto.
10139         (__setpriority): Likewise.
10140         (getpriority): Don't use libc_hidden_proto.
10141         (setpriority): Likewise.
10142         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10143         getpriority.  Call __setpriority instead of setpriority.
10144         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10145         Remove variable.
10147         [BZ #18547]
10148         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10149         as weak alias of __getttynam.  Use prototype function definition.
10150         Call __setttyent, __getttyent and __endttyent instead of
10151         setttyent, getttyent and endttyent.
10152         (getttyent): Rename to __getttyent and define as weak alias of
10153         __getttyent.  Call __setttyent instead of setttyent.  Call
10154         __fgets_unlocked instead of fgets_unlocked.
10155         (setttyent): Rename to __setttyent and define as weak alias of
10156         __setttyent.
10157         (endttyent): Rename to __endttyent and define as weak alias of
10158         __endttyent.
10159         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10160         (__setttyent): Likewise.
10161         (__endttyent): Likewise.
10162         (getttyent): Don't use libc_hidden_proto.
10163         (setttyent): Likewise.
10164         (endttyent): Likewise.
10165         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10166         __endttyent instead of setttyent, getttyent and endttyent.
10167         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10168         Remove variable.
10170         [BZ #18546]
10171         * socket/recv.c (__recv): Use libc_hidden_def.
10172         * socket/socket.c (__socket): Likewise.
10173         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10174         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10175         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10176         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10177         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10178         libc_hidden_def.
10179         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10180         libc_hidden_weak.
10181         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10182         Use libc_hidden_proto.
10183         (__recv): Likewise.
10184         * socket/Versions (libc): Export __recv and __socket at version
10185         GLIBC_PRIVATE.
10186         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10187         instead of recv.
10188         (init_mq_netlink): Call __socket instead of socket.
10189         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10190         Remove variable.
10192         [BZ #18545]
10193         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10194         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10195         hidden_weak.
10196         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10197         define as alias of __mq_timedsend.  Use hidden_weak.
10198         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10199         __mq_timedsend as strong name.
10200         (mq_timedreceive): Use __mq_timedreceive as strong name.
10201         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10202         (__mq_timedreceive): Likewise.
10203         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10204         __mq_timedreceive instead of mq_timedreceive.
10205         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10206         instead of mq_timedsend.
10207         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10208         Remove variable.
10210         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10211         hidden_def and hidden_weak instead of libc_hidden_def and
10212         libc_hidden_weak.
10213         (top level): Refer to hidden_def in comment.
10214         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10215         macro.  Use it instead of libc_hidden_def.
10216         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10217         specify __GI_* name explicitly.
10218         (mq_timedreceive): Likewise.
10219         (mq_setattr): Likewise.
10221         [BZ #18544]
10222         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10223         __pthread_barrier_init and define as weak alias of
10224         __pthread_barrier_init.
10225         * sysdeps/sparc/nptl/pthread_barrier_init.c
10226         (pthread_barrier_init): Likewise.
10227         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10228         __pthread_barrier_wait and define as weak alias of
10229         __pthread_barrier_wait.
10230         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10231         (pthread_barrier_wait): Likewise.
10232         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10233         (pthread_barrier_wait): Likewise.
10234         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10235         (pthread_barrier_wait): Likewise.
10236         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10237         (pthread_barrier_wait): Likewise.
10238         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10239         __pthread_barrier_wait at version GLIBC_PRIVATE.
10240         * include/pthread.h (__pthread_barrier_init): Declare.
10241         (__pthread_barrier_wait): Likewise.
10242         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10243         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10244         (helper_thread): Likewise.
10245         (init_mq_netlink): Call __pthread_barrier_init instead of
10246         pthread_barrier_init.
10248         [BZ #18542]
10249         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10250         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10251         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10252         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10253         vswscanf.
10254         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10255         Remove variable.
10257         [BZ #18540]
10258         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10259         strong alias of _IO_fflush.  Use libc_hidden_def.
10260         * libio/iofflush_u.c (fflush_unlocked): Rename to
10261         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10262         Use libc_hidden_weak.
10263         * include/stdio.h (__fflush_unlocked): Declare.  Use
10264         libc_hidden_proto.
10265         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10266         fflush_unlocked.
10267         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10268         Remove variable.
10270         [BZ #18539]
10271         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10272         define as weak alias of __addseverity.
10273         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10274         Remove variable.
10275         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10276         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10277         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10279         [BZ #18536]
10280         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10281         (__tfind): Likewise.
10282         (__tdelete): Likewise.
10283         (__twalk): Likewise.
10284         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10285         __twalk to GLIBC_PRIVATE.
10286         * include/search.h (__tsearch): Use libc_hidden_proto.
10287         (__tfind): Likewise.
10288         (__tdelete): Likewise.
10289         (__twalk): Likewise.
10290         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10291         Call __tdelete instead of tdelete.
10292         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10293         tfind.  Call __tsearch instead of tsearch.
10294         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10295         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10296         Remove variable.
10297         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10299         [BZ #18534]
10300         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10301         (dprintf): Define as a weak alias of __dprintf, not a strong
10302         alias.
10303         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10304         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10305         dprintf.
10306         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10307         Remove variable.
10308         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10309         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10311         [BZ #18533]
10312         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10313         not a strong alias.
10314         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10315         Remove variable.
10317         [BZ #18532]
10318         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10319         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10320         (in6addr_loopback): Rename to __in6addr_loopback and define as
10321         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10322         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10323         libc_hidden_proto.
10324         (__in6addr_any): Likewise.
10325         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10326         in6addr_any.
10327         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10328         variable.
10329         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10331 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10333         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10334         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10335         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10336         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10337         redirections for pow.
10338         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10339         * sysdeps/x86_64/fpu/Versions: New versions added.
10340         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10341         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10342         build of SSE, AVX2 and AVX512 IFUNC versions.
10343         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10344         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10346         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10350         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10351         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10352         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10353         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10354         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10355         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10356         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10357         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10360         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10361         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10362         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10363         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10364         * NEWS: Mention addition of x86_64 vector pow.
10366         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10367         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10368         redirections for expf.
10369         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10370         * sysdeps/x86_64/fpu/Versions: New versions added.
10371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10372         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10373         build of SSE, AVX2 and AVX512 IFUNC versions.
10374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10376         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10378         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10379         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10380         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10381         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10382         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10383         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10384         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10385         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10386         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10387         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10388         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10389         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10390         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10391         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10392         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10393         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10394         * NEWS: Mention addition of x86_64 vector expf.
10396         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10397         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10398         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10399         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10400         redirections for exp.
10401         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10402         * sysdeps/x86_64/fpu/Versions: New versions added.
10403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10404         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10405         build of SSE, AVX2 and AVX512 IFUNC versions.
10406         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10408         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10409         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10410         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10411         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10412         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10413         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10414         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10415         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10416         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10417         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10418         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10419         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10420         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10421         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10422         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10423         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10424         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10425         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10426         * NEWS: Mention addition of x86_64 vector exp.
10428         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10429         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10430         redirections for logf.
10431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10432         * sysdeps/x86_64/fpu/Versions: New versions added.
10433         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10434         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10435         build of SSE, AVX2 and AVX512 IFUNC versions.
10436         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10437         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10440         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10441         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10442         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10443         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10444         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10445         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10446         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10447         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10448         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10449         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10450         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10451         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10452         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10454         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10455         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10456         * NEWS: Mention addition of x86_64 vector logf.
10458         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10459         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10460         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10461         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10462         redirections for log.
10463         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10464         * sysdeps/x86_64/fpu/Versions: New versions added.
10465         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10466         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10467         build of SSE, AVX2 and AVX512 IFUNC versions.
10468         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10469         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10470         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10471         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10472         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10473         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10474         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10475         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10476         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10477         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10478         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10479         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10480         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10481         test.
10482         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10485         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10486         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10487         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10488         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10489         * NEWS: Mention addition of x86_64 vector log.
10491 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10493         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10494         cfi_adjust_cfa_offset argument.
10495         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10496         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10498         [BZ #18034]
10499         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10500         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10501         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10502         ordering using ldar.
10503         (_dl_tlsdesc_dynamic): Likewise.
10504         (_dl_tlsdesc_return_lazy): Likewise.
10505         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
10506         relaxed atomics instead of volatile and synchronize with release store.
10507         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
10508         volatile.
10509         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10511 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
10513         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10514         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
10515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10516         * sysdeps/x86_64/fpu/Versions: New versions added.
10517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10518         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10519         build of SSE, AVX2 and AVX512 IFUNC versions.
10520         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
10521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
10522         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
10523         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
10524         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
10525         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
10526         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
10527         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
10528         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
10529         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
10530         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
10531         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
10532         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
10533         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10534         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10535         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10538         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10539         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10540         * NEWS: Mention addition of x86_64 vector sinf.
10542 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
10544         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
10545         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
10546         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
10547         Remove variable.
10548         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10549         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10551 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10553         [BZ #18530]
10554         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
10555         strong alias of _IO_fputs.  Use libc_hidden_def.
10556         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
10557         and define as weak alias of __fputs_unlocked.  Use
10558         libc_hidden_weak.
10559         * include/stdio.h (__fputs_unlocked): Declare.  Use
10560         libc_hidden_proto.
10561         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
10562         fputs_unlocked.
10564         [BZ #18529]
10565         * resolv/netdb.h [__USE_POSIX]: Change condition to
10566         [__USE_XOPEN2K].
10567         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
10568         not expect.
10569         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
10570         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
10571         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
10572         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
10573         [XPG4 || UNIX98] (AI_ALL): Likewise.
10574         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
10575         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
10576         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
10577         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
10578         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
10579         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
10580         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
10581         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
10582         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
10583         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
10584         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
10585         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
10586         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
10587         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
10588         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
10589         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10590         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
10591         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
10592         [XPG4 || UNIX98] (gai_strerror): Likewise.
10593         [XPG4 || UNIX98] (getaddrinfo): Likewise.
10594         [XPG4 || UNIX98] (getnameinfo): Likewise.
10596         [BZ #18528]
10597         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
10598         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
10599         __USE_XOPEN2K8].
10600         (getgrent): Likewise.
10601         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
10602         expect.
10603         [XPG3 || POSIX2008] (endgrent): Likewise.
10604         [XPG3] (setgrent): Likewise.
10605         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
10606         variable.
10607         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10609         [BZ #18527]
10610         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
10611         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
10612         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
10613         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
10614         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
10615         * include/unistd.h (__getlogin_r): Declare.  Use
10616         libc_hidden_proto.
10617         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
10618         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
10619         variable.
10620         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10621         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10622         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10624 2015-06-12  Martin Sebor  <msebor@redhat.com>
10626         [BZ #18512]
10627         * Makerules (check-install-supported): New target.
10628         (install): Add check-install-supported as a dependency.
10629         * manual/install.texi (Installing the C Library): Document
10630         that overriding prefix and exec_prefix is not supported.
10631         Mention DESTDIR.
10632         * INSTALL: Regenerate from the above.
10634 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
10636         [BZ #18519]
10637         * posix/Versions (libc): Export __libc_pread at version
10638         GLIBC_PRIVATE.
10639         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
10640         instead of pread.
10641         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
10642         variable.
10644         [BZ #18522]
10645         * misc/efgcvt_r.c
10646         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
10647         (cvt_symbol): Use weak_alias instead of strong_alias.
10648         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
10649         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
10650         Remove variable.
10651         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10652         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10654         [BZ #18520]
10655         * inet/herrno.c (h_errno): Rename to __h_errno.
10656         (__libc_h_errno): Define as alias of __h_errno not h_errno.
10657         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
10658         to __h_errno instead of h_errno.
10659         * nptl/herrno.c (h_errno): Rename to __h_errno.
10660         (__h_errno_location): Refer to __h_errno not h_errno.
10661         * resolv/Versions (h_errno): Rename to __h_errno.
10662         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
10663         Remove variable.
10664         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10666 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
10668         * configure.ac: More strict check for AVX512 assembler support.
10669         * configure: Regenerated.
10671         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
10672         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
10673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10674         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
10675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10676         * sysdeps/x86_64/fpu/Versions: New versions added.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10678         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10679         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10680         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
10681         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
10682         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
10683         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
10684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
10685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
10686         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
10687         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
10688         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
10689         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
10690         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
10691         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
10692         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
10693         test.
10694         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10695         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10696         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10697         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10698         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10699         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10700         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10701         * NEWS: Mention addition of x86_64 vector sin.
10703 2015-06-11  Florian Weimer  <fweimer@redhat.com>
10705         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
10706         comment.
10708 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10710         [BZ #18479]
10711         * nptl/pt-interp.c: New file.
10712         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
10713         Add pt-interp.
10714         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
10715         $(common-objpfx)runtime-linker.h.
10717 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
10719         * Makeconfig (+interp): Remove unused variable.
10720         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
10721         only.  Depend on $(common-objpfx)runtime-linker.h instead of
10722         $(elf-objpfx)runtime-linker.h.
10723         ($(elf-objpfx)runtime-linker.h): Rename to
10724         $(common-objpfx)runtime-linker.h and move ...
10725         * Makerules [$(build-shared) = yes]: ... here.
10726         * elf/interp.c: Include <runtime-linker.h> instead of
10727         <elf/runtime-linker.h>.
10729 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10731         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
10732         (__gettimeofday_syscall): Remove vsyscall fallback.
10733         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
10734         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
10735         Add syscall fallback function.
10736         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
10737         if vDSO is not present.
10738         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
10739         fallback function.
10740         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
10741         present.
10742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
10743         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10745 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
10747         [BZ #18497]
10748         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
10749         of wcscmp.
10750         (wcscmp): Define as weak alias of WCSCMP.
10751         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
10752         wcscoll.
10753         (USE_HIDDEN_DEF): Define.
10754         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
10755         __wcscoll.  Don't use libc_hidden_weak.
10756         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
10757         wcscmp.
10758         * sysdeps/i386/i686/multiarch/wcscmp-c.c
10759         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
10760         __GI_wcscmp.
10761         (weak_alias): Undefine and redefine.
10762         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
10763         __wcscmp and define as weak alias of __wcscmp.
10764         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
10765         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
10766         (__wcscoll): Likewise.
10767         (wcscmp): Don't use libc_hidden_proto.
10768         (wcscoll): Likewise.
10769         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
10770         wcscoll.
10771         * posix/regexec.c (check_node_accept_bytes): Likewise.
10772         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
10773         variable.
10774         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10775         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10777         [BZ #18507]
10778         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
10779         __fstatvfs and define as weak alias of __fstatvfs.  Use
10780         libc_hidden_weak.
10781         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
10782         and define as weak alias of __statvfs.  Use libc_hidden_weak.
10783         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
10784         Define as alias of __fstatvfs, not fstatvfs.
10785         (fstatvfs64): Likewise.
10786         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
10787         Define as alias of __statvfs, not statvfs.
10788         (statvfs64): Likewise.
10789         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
10790         Remove variable.
10792 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10795         (HAVE_GETCPU_VSYSCALL): Define.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10797         (HAVE_GETCPU_VSYSCALL): Likewise.
10798         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
10799         * sysdeps/unix/sysv/linux/sched_getcpu.c
10800         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
10801         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
10802         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
10803         prototype.
10804         * sysdeps/unix/sysv/linux/x86_64/init-first.c
10805         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
10806         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
10807         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
10808         Define.
10809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
10810         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10811         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
10812         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10814 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
10816         * sysdeps/x86_64/fpu/Makefile: New file.
10817         * sysdeps/x86_64/fpu/Versions: New file.
10818         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
10819         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
10820         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
10821         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
10822         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
10823         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
10824         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
10825         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
10826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
10827         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
10828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
10829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
10830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
10831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10832         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
10834         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
10835         * sysdeps/x86_64/configure.ac: Options for libmvec build.
10836         * sysdeps/x86_64/configure: Regenerated.
10837         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
10838         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
10839         * manual/install.texi (Configuring and compiling): Document
10840         --disable-mathvec.
10841         * INSTALL: Regenerated.
10842         * NEWS: Mention addition of libmvec and x86_64 vector cos.
10844         * math/Makefile: Added rules for vector tests.
10845         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
10846         declaration under condition.
10847         * math/test-double-vlen2.h: New file.
10848         * math/test-double-vlen4.h: New file.
10849         * math/test-double-vlen8.h: New file.
10850         * math/test-vec-loop.h: Added initialization macro.
10851         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
10853         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
10854         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
10855         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
10856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
10857         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
10858         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
10859         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
10860         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
10861         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
10863         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10864         * sysdeps/x86_64/fpu/Versions: New versions added.
10865         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
10866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
10867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
10868         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
10869         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
10870         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
10871         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
10872         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
10873         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
10874         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
10875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
10876         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
10877         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
10878         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10879         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10880         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10881         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
10882         * NEWS: Mention addition of x86_64 vector cosf.
10884         * math/Makefile: Added CFLAGS for new tests.
10885         * math/test-float-vlen16.h: New file.
10886         * math/test-float-vlen4.h: New file.
10887         * math/test-float-vlen8.h: New file.
10888         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
10889         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
10890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10891         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
10892         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
10893         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
10894         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
10895         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
10896         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
10897         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
10898         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
10900 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
10902         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
10903         * locale/programs/ld-ctype.c: Likewise.
10905 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10907         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
10908         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
10909         bit_ZMM16_31_state): New macro.
10910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10911         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
10913 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
10915         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
10917 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
10919         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
10921 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
10923         [BZ #18498]
10924         * libio/memstream.c (open_memstream): Rename to __open_memstream
10925         and define as weak alias of __open_memstream.
10926         * include/stdio.h (__open_memstream): Declare.  Use
10927         libc_hidden_proto.
10928         (open_memstream): Don't use libc_hidden_proto.
10929         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10930         open_memstream.
10931         * posix/getopt.c (_getopt_internal_r): Likewise.
10932         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
10933         variable.
10934         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10935         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10936         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10938         [BZ #18496]
10939         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10940         instead of wcrtomb.
10942         [BZ #18483]
10943         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10944         [__USE_XOPEN2K8].  Remove redundant #endif.
10945         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10946         Remove redundant #if.
10947         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10948         Remove variable.
10949         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10950         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10952         [BZ #18495]
10953         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10954         (__iswlower): Likewise.
10955         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10956         (__iswlower): Likewise.
10957         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10958         instead of towlower.
10959         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10960         instead of iswlower.  Call __towupper instead of towupper.
10961         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10962         instead of iswalnum.
10964 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10966         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10967         errors to stderr.
10969 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10971         [BZ #15661]
10972         [BZ #17322]
10973         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10974         Check for overflow properly.  Check for O_APPEND.  Ignore large
10975         file system block sizes.  Add comments about problems.
10976         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10977         * manual/filesys.texi (Storage Allocation): New node.
10979 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10981         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10982         cancellable syscalls.
10983         (SYS_ify): Add guard to no redefine it.
10984         (INLINE_SYSCALL): Likewise.
10985         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10986         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10987         SYSCALL_CANCEL instead.
10988         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10989         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10990         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10991         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10992         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10993         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10994         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10995         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10996         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10997         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10998         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10999         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11000         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11001         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11002         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11004         Likewise.
11005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11006         (__libc_pread64): Likewise.
11007         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11008         (__libc_preadv): Likewise.
11009         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11010         (__libc_readv64): Likewise.
11011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11012         (__libc_pwrite): Likewise.
11013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11014         (__libc_pwrite64): Likewise.
11015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11016         (__libc_pwritev): Likewise.
11017         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11018         (__libc_pwritev64): Likewise.
11019         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11020         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11021         (sync_file_range): Likewise.
11022         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11023         Likewise.
11024         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11025         Likewise.
11026         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11027         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11028         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11029         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11030         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11031         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11032         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11033         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11035         Likewise.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11037         (__libc_read64): Likewise.
11038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11039         Likewise.
11040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11041         Likewise.
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11043         Likewise.
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11045         Likewise.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11047         (__libc_pread64): Likewise.
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11049         Likewise.
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11051         (__libc_pwrite64): Likewise.
11052         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11053         (sync_file_range): Likewise.
11054         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11055         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11056         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11057         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11058         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11059         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11060         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11061         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11062         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11063         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11064         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11065         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11066         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11067         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11068         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11069         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11070         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11071         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11072         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11073         Likewise.
11074         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11075         Likewise.
11076         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11077         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11080         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11081         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11082         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11083         Likewise.
11084         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11085         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11086         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11087         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11088         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11090 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11092         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11093         Include dl-vdso.
11094         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11095         Use VDSO routines for gettimeofday, clock_gettime if
11096         available.
11097         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11098         Declare VDSO symbols.
11099         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11100         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11101         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11102         * sysdeps/unix/sysv/linux/arm/Versions: Add
11103         __vdso_clock_gettime.
11105 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11107         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11108         be an inline implementation regardless of library is built within.
11109         (open_not_cancel_2): Likewise.
11110         (__read_nocancel): Likewise.
11111         (__write_nocancel): Likewise.
11112         (openat_not_cancel): Likewise.
11113         (openat_not_cancel_3): Likewise.
11114         (openat64_not_cancel): Likewise.
11115         (openat64_not_cancel_3): Likewise.
11116         (__close_nocancel): Likewise.
11117         (pause_not_cancel): Likewise.
11118         (nanosleep_not_cancel): Likewise.
11119         (sigsuspend_not_cancel): Likewise.
11121 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11123         [BZ #14958]
11124         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11125         wake-up.
11126         (__pthread_rwlock_rdlock_slow): Likewise.
11127         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11128         Likewise.
11129         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11130         Likewise.
11131         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11132         * nptl/tst-rwlock16.c: New file.
11133         * nptl/Makefile (tests): Add new test.
11135 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11137         [BZ #18324]
11138         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11139         missing wake-up of readers.
11140         * nptl/tst-rwlock15.c: New file.
11141         * nptl/Makefile (tests): Add new test.
11143 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11145         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11146         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11147         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11148         and __nacl_supply_interface_rtld.
11149         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11150         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11151         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11152         Add __nacl_supply_interface_rtld.
11153         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11155 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11157         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11158         isfinite.
11159         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11160         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11162 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11164         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11165         __signbit* with standard C99 macros.
11166         * math/e_exp10l.c: Likewise.
11167         * math/e_exp2l.c: Likewise.
11168         * math/e_scalb.c: Likewise.
11169         * math/e_scalbf.c: Likewise.
11170         * math/e_scalbl.c: Likewise.
11171         * math/s_ldexp.c: Likewise.
11172         * math/s_ldexpf.c: Likewise.
11173         * math/s_ldexpl.c: Likewise.
11174         * math/w_atan2.c: Likewise.
11175         * math/w_atan2f.c: Likewise.
11176         * math/w_atan2l.c: Likewise.
11177         * math/w_cosh.c: Likewise.
11178         * math/w_coshf.c: Likewise.
11179         * math/w_coshl.c: Likewise.
11180         * math/w_exp10.c: Likewise.
11181         * math/w_exp10f.c: Likewise.
11182         * math/w_exp10l.c: Likewise.
11183         * math/w_exp2.c: Likewise.
11184         * math/w_exp2f.c: Likewise.
11185         * math/w_exp2l.c: Likewise.
11186         * math/w_fmod.c: Likewise.
11187         * math/w_fmodf.c: Likewise.
11188         * math/w_fmodl.c: Likewise.
11189         * math/w_hypot.c: Likewise.
11190         * math/w_hypotf.c: Likewise.
11191         * math/w_hypotl.c: Likewise.
11192         * math/w_jnl.c: Likewise.
11193         * math/w_lgamma.c: Likewise.
11194         * math/w_lgamma_r.c: Likewise.
11195         * math/w_lgammaf.c: Likewise.
11196         * math/w_lgammaf_r.c: Likewise.
11197         * math/w_lgammal.c: Likewise.
11198         * math/w_lgammal_r.c: Likewise.
11199         * math/w_pow.c: Likewise.
11200         * math/w_powf.c: Likewise.
11201         * math/w_powl.c: Likewise.
11202         * math/w_remainder.c: Likewise.
11203         * math/w_remainderf.c: Likewise.
11204         * math/w_remainderl.c: Likewise.
11205         * math/w_scalb.c: Likewise.
11206         * math/w_scalbf.c: Likewise.
11207         * math/w_scalbl.c: Likewise.
11208         * math/w_scalbln.c: Likewise.
11209         * math/w_scalblnf.c: Likewise.
11210         * math/w_scalblnl.c: Likewise.
11211         * math/w_sinh.c: Likewise.
11212         * math/w_sinhf.c: Likewise.
11213         * math/w_sinhl.c: Likewise.
11214         * math/w_tgamma.c: Likewise.
11215         * math/w_tgammaf.c: Likewise.
11216         * math/w_tgammal.c: Likewise.
11217         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11218         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11219         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11221         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11222         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11223         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11224         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11225         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11226         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11227         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11228         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11229         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11230         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11231         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11234         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11235         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11238         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11239         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11240         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11241         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11242         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11243         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11244         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11245         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11246         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11247         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11248         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11249         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11250         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11251         * stdio-common/printf_fp.c: Likewise.
11252         * stdio-common/printf_fphex.c: Likewise.
11253         * stdio-common/printf_size.c: Likewise.
11255 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11257         [BZ #18470]
11258         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11259         strnlen.
11260         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11261         Remove variable.
11262         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11263         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11264         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11265         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11266         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11267         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11268         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11269         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11270         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11271         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11273         [BZ #18468]
11274         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11275         weak alias of __wmemchr.  Use libc_hidden_weak.
11276         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11277         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11278         instead of wmemchr.
11280 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11282         [BZ #18383]
11283         * elf/tst-tlsalign-extern.c: New file.
11284         * elf/tst-tlsalign-extern-static.c: New file.
11285         * elf/tst-tlsalign-vars.c: New file.
11286         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11287         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11288         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11289         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11290         (test-xfail-tst-tlsalign-extern-static): New variable.
11292 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11294         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11295         Use variable name _sc_err instead of err.
11296         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11297         instead of ret.
11298         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11299         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11300         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11301         (INLINE_SYSCALL): Likewise.
11303         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11304         * include/string.h (__strnlen): Use libc_hidden_proto.
11305         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11306         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11307         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11308         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11309         (libc_hidden_def): Undefine and redefine.
11310         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11311         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11312         __GI_strnlen.
11313         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11314         libc_hidden_def.
11315         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11317         [BZ #18469]
11318         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11319         weak alias of __towlower.  Use libc_hidden_weak.
11320         (towupper): Rename to __towupper and define as weak alias of
11321         __towupper.  Use libc_hidden_weak.
11322         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11323         (__towupper): Likewise.
11324         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11325         __towlower instead of towlower.
11327 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11329         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11330         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11332 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11334         * sysdeps/aarch64/libm-test-ulps: Update.
11336 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11338         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11339         Define.
11340         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11341         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11342         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11343         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11344         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11345         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11346         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11348 2015-06-01  Martin Sebor  <msebor@redhat.com>
11350         [BZ #18116]
11351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11352         (__setcontext): Use extended four-operand version of mtsf whenever
11353         possible.
11354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11355         (__novec_swapcontext): Likewise.
11357 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11359         * benchtests/scripts/compare_bench.py: New file.
11360         * benchtests/scripts/import_bench.py (mean): New function.
11361         (split_list): Likewise.
11362         (do_for_all_timings): Likewise.
11363         (compress_timings): Likewise.
11365         * benchtests/scripts/import_bench.py: New file.
11366         * benchtests/scripts/validate_benchout.py: Import import_bench
11367         instead of jsonschema.
11368         (validate_bench): Remove function.
11369         (main): Use import_bench.
11371 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11373         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11374         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11376 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11380 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11382         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11383         set THREAD_SELF->tid to a magic value and futex-wake it.
11384         Pass its address to the thread_exit system call.
11385         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11386         bit is clear.
11387         * sysdeps/nacl/lowlevellock.h: New file.
11388         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11390         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11391         Add TIMEOUT to current time, don't subtract it.
11393 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11395         [BZ #2981]
11396         [BZ #18422]
11397         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11398         ($(objpfx)tst-audit2.out): Also depend on
11399         $(objpfx)tst-auditmod9b.so.
11400         * elf/tst-audit2.c: Include <dlfcn.h>.
11401         (calloc_called): New.
11402         (calloc): Allow to be called more than once.
11403         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11405 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11407         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11408         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11410 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11412         * stdlib/monetary.h: Fix comment.
11414 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11416         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11417         Avoid using variables in #defines that might cause shadowing.
11418         (INTERNAL_VSYSCALL_CALL): Likewise.
11420 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11422         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11424         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11425         * nptl/lll_timedlock_wait.c: ... to this new file.
11426         * nptl/Makefile (libpthread-routines): Add it.
11427         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11428         * nptl/lll_timedwait_tid.c: ... to this new file.
11429         * nptl/Makefile (libpthread-routines): Add it.
11430         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11431         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11432         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11433         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11434         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11435         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11436         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11437         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11438         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11439         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11441 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11443         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11444         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11445         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11447         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11448         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11449         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11451         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11452         * sysdeps/unix/sysv/linux/tile/sysdep.h
11453         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11454         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11455         using vDSO syscall macro.
11457 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11459         [BZ #17293]
11460         * uk_UA: Fix sorting order for Ukrainian locale
11462 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11464         * stdlib/monetary.h: Fix comment.
11466 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11468         [BZ #18234]
11469         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11470         st_mtim and st_ctim members.
11471         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11472         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11473         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11474         (struct stat64): Likewise.
11475         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11476         (struct stat64): Likewise.
11477         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11478         (struct stat64): Likewise.
11480 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11482         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11483         Define and include sysdep-vdso.h.
11484         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11485         Likewise.
11486         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11487         Likewise.
11488         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11489         Define with VDSO_SYMBOL and use PTR_MANGLE.
11490         (__vdso_clock_gettime): Likewise.
11491         (__vdso_clock_getres): Likewise.
11492         (_libc_vdso_platform_setup): Likewise.
11493         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11494         Likewise.
11495         (_libc_vdso_platform_setup): Likewise.
11496         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11497         Likewise.
11498         (__vdso_clock_gettime): Likewise.
11499         (__vdso_clock_getres): Likewise.
11500         (__vdso_get_tbfreq): Likewise.
11501         (__vdso_getcpu): Likewise.
11502         (__vdso_time): Likewise.
11503         (__vdso_sigtramp_rt64): Likewise.
11504         (__vdso_signtramp32): Likewise.
11505         (__vdso_sigtramp_rt32): Likewise.
11506         (_libc_vdso_platform_setup): Likewise.
11507         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
11508         Likewise.
11509         (__vdso_clock_gettime): Likewise.
11510         (__vdso_clock_getres): Likewise.
11511         (_libc_vdso_platform_setup): Likewise.
11512         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
11513         Likewise.
11514         (__vdso_clock_gettime): Likewise.
11515         (_libc_vdso_platform_setup): Likewise.
11516         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11517         Likewise.
11518         (__vdso_getcpu): Likewise.
11519         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
11520         Use VDSO_SYMBOL macro to define.
11521         (__vdso_clock_gettime): Likewise.
11522         (__vdso_clock_getres): Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
11524         Likewise.
11525         (__vdso_clock_gettime): Likewise.
11526         (__vdso_clock_getres): Likewise.
11527         (__vdso_get_tbfreq): Likewise.
11528         (__vdso_getcpu): Likewise.
11529         (__vdso_time): Likewise.
11530         (__vdso_sigtramp_rt64): Likewise.
11531         (__vdso_signtramp32): Likewise.
11532         (__vdso_sigtramp_rt32): Likewise.
11533         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
11534         Likewise.
11535         (__vdso_clock_gettime): Likewise.
11536         (__vdso_clock_getres): Likewise.
11537         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
11538         Likewise.
11539         (__vdso_clock_gettime): Likewise.
11540         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
11541         Likewise.
11542         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
11543         macro.
11544         (INTERNAL_VSYSCALL): Likewise.
11545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
11546         Remove macro.
11547         (INTERNAL_VSYSCALL): Likewise.
11548         (INTERNAL_VSYSCALL_NCS): Likewise.
11549         (INTERNAL_VSYSCALL_CALL): New macro.
11550         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
11552         Likewise.
11553         (INTERNAL_VSYSCALL): Likewise.
11554         (INTERNAL_VSYSCALL_NCS): Likewise.
11555         (INTERNAL_VSYSCALL_CALL): New macro.
11556         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
11557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11558         (INLINE_VSYSCALL): Remove macro.
11559         (INTERNAL_VSYSCALL): Remove macro.
11560         (INTERNAL_VSYSCALL_NCS): Remove macro.
11561         (INTERNAL_VSYSCALL_CALL): New macro.
11562         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
11563         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
11564         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11565         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
11566         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11568         (INLINE_VSYSCALL): Remove macro.
11569         (INTERNAL_VSYSCALL): Likewise.
11570         (INTERNAL_VSYSCALL_NCS): Likewise.
11571         (INTERNAL_VSYSCALL_CALL): New macro.
11572         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
11573         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
11574         PTR_DEMANGLE on vDSO pointer.
11575         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
11576         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
11577         macro.
11578         (INTERNAL_SYSCALL): Likewise.
11579         (INTERNAL_VSYSCALL_NCS): Remove macro.
11580         (INTERNAL_VSYSCALL_CALL): New macro.
11581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
11582         Remove macro.
11583         (INTERNAL_VSYSCALL): Likewise.
11584         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
11585         sysdep-vdso.h instead of libc-vdso.h.
11586         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
11587         definition.
11588         (INLINE_VSYSCALL): Likewise.
11589         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
11590         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
11591         definition.
11592         (INLINE_VSYSCALL): Likewise.
11593         (INTERNAL_VSYSCALL): Likewise.
11594         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11595         * sysdeps/unix/sysv/linux/timespec_get.c
11596         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11597         (timespec_get): Use ANSI prototype.
11598         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
11599         and definition for Linux.
11601 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11603         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
11604         * include/libc-symbols.h: libmvec_hidden_* macro series added.
11606 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
11608         [BZ #2981]
11609         [BZ #18410]
11610         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
11611         for missing DT_PLTRELSZ.
11613 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
11615         Remove obsolete aliases that broke 'locale -a'
11616         [BZ #18412]
11617         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
11618         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
11619         breaking some applications that use 'locale -a' output.
11620         Change the encoding of this file from Latin-1 to ASCII to avoid
11621         other potential problems with people grepping this file.
11623 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11625         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
11626         -fasynchronous-unwind-tables.
11627         (CFLAGS-sendto.c): Likewise.
11628         (CFLAGS-sendmsg.c): Likewise.
11629         (CFLAGS-connect.c): Likewise.
11630         (CFLAGS-recvmsg.c): Likewise.
11631         (CFLAGS-recvfrom.c): Likewise.
11632         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
11633         (SOCKETCALL): New macro: non-cancellable socketcall.
11634         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
11635         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
11636         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
11637         * sysdeps/unix/sysv/linux/accept.c: New file.
11638         * sysdeps/unix/sysv/linux/bind.c: Likewise.
11639         * sysdeps/unix/sysv/linux/connect.c: Likewise.
11640         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
11641         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
11642         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
11643         * sysdeps/unix/sysv/linux/listen.c: Likewise.
11644         * sysdeps/unix/sysv/linux/recv.c: Likewise.
11645         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
11646         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
11647         * sysdeps/unix/sysv/linux/send.c: Likewise.
11648         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
11649         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
11650         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
11651         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
11652         * sysdeps/unix/sysv/linux/socket.c: Likewise.
11653         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
11654         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
11655         prototype.
11656         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
11657         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11658         instead of __internal_xxx function.
11659         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
11660         prototype.
11661         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
11662         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11663         instead of __internal_xxx function.
11664         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
11665         prototype.
11666         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
11667         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
11668         instead of __internal_xxx function.
11669         * sysdeps/unix/sysv/linux/accept.S: Remove file.
11670         * sysdeps/unix/sysv/linux/bind.S: Likewise.
11671         * sysdeps/unix/sysv/linux/connect.S: Likewise.
11672         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
11673         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
11674         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
11675         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
11676         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
11677         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
11678         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
11679         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
11680         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11681         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
11682         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
11683         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
11684         * sysdeps/unix/sysv/linux/listen.S: Likewise.
11685         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
11686         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
11687         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
11688         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
11691         * sysdeps/unix/sysv/linux/recv.S: Likewise.
11692         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
11693         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
11694         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
11695         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11696         * sysdeps/unix/sysv/linux/send.S: Likewise.
11697         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
11698         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
11699         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
11700         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
11701         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
11702         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
11703         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
11704         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
11705         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
11706         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
11707         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
11708         socketcall is implemented in GLIBC.
11710 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11712         * soft-fp/fmadf4.c: Include <libc-internal.h>.
11713         (__fma): Ignore uninitialized warnings around packing.
11714         * soft-fp/fmasf4.c: Include <libc-internal.h>.
11715         (__fmaf): Ignore uninitialized warnings around packing.
11716         * soft-fp/fmatf4.c: Include <libc-internal.h>.
11717         (__fmal): Ignore uninitialized warnings around packing.
11719         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
11720         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11721         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
11722         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11724         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
11725         switch statement into default case.
11726         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
11728         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
11729         a conditional in forcing "inexact".
11730         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11731         Likewise.
11733 2015-05-22  Roland McGrath  <roland@hack.frob.com>
11735         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11736         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
11737         for each INTERNAL_SYSCALL use.
11739 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #438]
11742         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
11743         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
11744         variable.
11746         [BZ #18444]
11747         * string/basename.c (basename): Rename to __basename and define as
11748         weak alias of __basename.  Use libc_hidden_weak.
11749         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
11750         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
11751         __basename instead of basename.
11752         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
11753         Remove variable.
11754         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11756 2015-05-18  Florian Weimer  <fweimer@redhat.com>
11758         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
11759         (_IO_JUMPS_FILE_plus): New.
11760         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
11761         _IO_CAST_FIELD_ACCESS.
11762         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
11763         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
11764         * libio/freopen.c (freopen): Likewise.
11765         * libio/freopen64.c (freopen64): Likewise.
11766         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
11767         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
11768         * libio/iofwide.c (_IO_fwide): Likewise.
11769         * libio/memstream.c (open_memstream): Likewise.
11770         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11771         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11772         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11774 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
11776         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
11777         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
11778         NADJ.
11779         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
11780         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
11781         NADJ.
11782         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
11783         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
11784         NADJ.
11786         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
11787         (p == 4) case.
11789         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
11790         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
11791         Remove variable.
11792         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11793         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11794         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11796 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11798         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
11799         Adjust jump table label generation macros.
11801 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11803         * stdio-common/vfprintf.c (vfprintf): Move local variables
11804         args_malloced, specs, specs_malloced, and the code after
11805         do_positional to the printf_positional function.
11806         (printf_positional): New function.
11808 2015-05-21  Florian Weimer  <fweimer@redhat.com>
11810         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
11811         function.
11812         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
11813         STEP4_TABLE, process_arg): Move macro definitions
11814         out of the vfprintf function.  (Cosmetic change only.)
11816 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
11818         * benchtests/Makefile (stdio-common-bench): Define.
11819         (benchset): Add stdio-common-bench.
11820         * sprintf-inputs: New file.
11821         * sprintf-source.c: New file.
11823 2015-05-21  Andreas Schwab  <schwab@suse.de>
11825         [BZ #13028]
11826         [BZ #17053]
11827         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
11828         of struct __res_state.
11829         * resolv/res_send.c (__libc_res_nsend): Likewise.
11830         (get_nsaddr): New function.
11831         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
11832         statp directly.
11834 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
11836         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
11837         -D_POSIX_C_SOURCE=199506L.
11839         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
11841         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
11842         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
11843         Do not mention otherwise.
11844         [POSIX] (_XOPEN_VERSION): Do not expect.
11845         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
11846         [POSIX] (_POSIX2_C_BIND): Likewise.
11847         [POSIX] (_POSIX2_VERSION): Likewise.
11848         [POSIX] (_XOPEN_XPG2): Likewise.
11849         [POSIX] (_XOPEN_XPG3): Likewise.
11850         [POSIX] (_XOPEN_XPG4): Likewise.
11851         [POSIX] (_XOPEN_UNIX): Likewise.
11852         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
11853         [POSIX] (_POSIX_BARRIERS): Likewise.
11854         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
11855         [POSIX] (_POSIX_CPUTIME): Likewise.
11856         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
11857         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
11858         [POSIX] (_POSIX_SHELL): Likewise.
11859         [POSIX] (_POSIX_SPAWN): Likewise.
11860         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
11861         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
11862         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
11863         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
11864         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
11865         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
11866         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
11867         [POSIX] (_XBS5_LP64_OFF64): Likewise.
11868         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
11869         [POSIX] (_POSIX_TIMEOUTS): Likewise.
11870         [POSIX] (_POSIX2_PBS): Likewise.
11871         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
11872         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
11873         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
11874         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
11875         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
11876         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
11877         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
11878         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
11879         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
11880         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
11881         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
11882         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
11883         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
11884         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
11885         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
11886         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
11887         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
11888         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
11889         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
11890         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
11891         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
11892         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
11893         [POSIX] (_SC_2_C_BIND): Likewise.
11894         [POSIX] (_SC_2_C_VERSION): Likewise.
11895         [POSIX] (_SC_2_PBS): Likewise.
11896         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
11897         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
11898         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
11899         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
11900         [POSIX] (_SC_2_PBS_TRACK): Likewise.
11901         [POSIX] (_SC_ATEXIT_MAX): Likewise.
11902         [POSIX] (_SC_BARRIERS): Likewise.
11903         [POSIX] (_SC_BASE): Likewise.
11904         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
11905         [POSIX] (_SC_DEVICE_IO): Likewise.
11906         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
11907         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
11908         [POSIX] (_SC_FD_MGMT): Likewise.
11909         [POSIX] (_SC_FIFO): Likewise.
11910         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
11911         [POSIX] (_SC_FILE_LOCKING): Likewise.
11912         [POSIX] (_SC_FILE_SYSTEM): Likewise.
11913         [POSIX] (_SC_IOV_MAX): Likewise.
11914         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
11915         [POSIX] (_SC_NETWORKING): Likewise.
11916         [POSIX] (_SC_PAGE_SIZE): Likewise.
11917         [POSIX] (_SC_PASS_MAX): Likewise.
11918         [POSIX] (_SC_PIPE): Likewise.
11919         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
11920         [POSIX] (_SC_REGEXP): Likewise.
11921         [POSIX] (_SC_SHELL): Likewise.
11922         [POSIX] (_SC_SIGNALS): Likewise.
11923         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
11924         [POSIX] (_SC_SPIN_LOCKS): Likewise.
11925         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
11926         [POSIX] (_SC_USER_GROUPS): Likewise.
11927         [POSIX] (_SC_USER_GROUPS_R): Likewise.
11928         [POSIX] (_SC_STREAMS): Likewise.
11929         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
11930         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
11931         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
11932         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
11933         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
11934         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
11935         [POSIX] (_PC_FILESIZEBITS): Likewise.
11936         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11937         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11938         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11939         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11940         [POSIX] (uid_t): Likewise.
11941         [POSIX] (gid_t): Likewise.
11942         [POSIX] (off_t): Likewise.
11943         [POSIX] (pid_t): Likewise.
11944         [POSIX] (cuserid): Allow.
11945         (_SC_2_CHAR_TERM): Require constant.
11946         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11947         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11948         variable.
11950 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11952         * sysdeps/nacl/pthread-pids.h: New file.
11953         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11954         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11956         * nptl/pthread-pids.h: New file.
11957         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11958         * nptl/nptl-init.c: Include <pthread-pids.h>.
11959         (__pthread_initialize_minimal_internal):
11960         Call __pthread_initialize_pids instead of set_tid_address syscall.
11962         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11963         * sysdeps/posix/usleep.c: ... here.
11965 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11967         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11968         call_pselect6 object.
11969         [$(subdir) = io]: Remove call_sync_file_range object.
11970         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11971         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11972         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11973         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11975 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11977         * math/s_cproj.c: Add include "math_private.h".
11978         * math/s_cprojf.c: Likewise.
11979         * math/s_cprojl.c: Likewise.
11981 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11983         [BZ #18244]
11984         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11985         high mantissa bit when testing whether P is a NaN.
11986         * math/libm-test.inc (remainder_test_data): Add more tests.
11987         (remquo_test_data): Likewise.
11989         [BZ #18049]
11990         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11991         below -32, return the argument, with underflow if subnormal.
11992         * math/auto-libm-test-in: Add more tests of atanh.
11993         * math/auto-libm-test-out: Regenerated.
11995 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11997         [BZ #18434]
11998         * nptl/tst-sem15.c: New file.
11999         * nptl/Makefile (tests): Add it.
12000         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12001         s/<</>>/ to fix typo in EOVERFLOW check.
12002         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12004 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12006         * manual/strings.texi (envz_remove): Fix typo in safety
12007         annotations.
12009 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12010             Steve Ellcey  <sellcey@imgtec.com>
12012         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12013         in order to avoid strict alias warnings.
12014         (iruserok_af): Ditto for ra.
12016 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12018         [BZ #17581]
12019         * malloc/hooks.c
12020         (magicbyte): Convert to a function and avoid returning 0x01.
12021         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12022         (mem2chunk_check): Fix unsigned comparisons to zero.
12023         Hoist defs of sz and magic.
12025 2015-05-19  Richard Henderson  <rth@redhat.com>
12027         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12029         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12031 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12033         [BZ #16159]
12034         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12035         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12036         (reused_arena): Find a non-corrupt arena.
12037         (heap_trim): Pass arena to unlink.
12038         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12039         malloc_printerr.
12040         (top_check): Likewise.
12041         (free_check): Likewise.
12042         (realloc_check): Likewise.
12043         * malloc/malloc.c (malloc_printerr): Add arena argument.
12044         (unlink): Likewise.
12045         (munmap_chunk): Adjust.
12046         (ARENA_CORRUPTION_BIT): New macro.
12047         (arena_is_corrupt): Likewise.
12048         (set_arena_corrupt): Likewise.
12049         (sysmalloc): Use mmap if there are no usable arenas.
12050         (_int_malloc): Likewise.
12051         (__libc_malloc): Don't fail if arena_get returns NULL.
12052         (_mid_memalign): Likewise.
12053         (__libc_calloc): Likewise.
12054         (__libc_realloc): Adjust for additional argument to
12055         malloc_printerr.
12056         (_int_free): Likewise.
12057         (malloc_consolidate): Likewise.
12058         (_int_realloc): Likewise.
12059         (_int_memalign): Don't touch corrupt arenas.
12060         * malloc/tst-malloc-backtrace.c: New test case.
12062         * Makefile (summarize-tests): Fix return value on success.
12064         * manual/string.texi (Envz Functions): Add envz_remove.
12066 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12068         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12069         (invalid_name): New function, broken out of ...
12070         (__opendirat): ... here.  Call it.
12071         (need_isdir_precheck): New function, broken out of ...
12072         (__opendirat): ... here.  Call it.
12073         Use __fxstatat64, not __xstatat64.
12074         (opendir_oflags): New function, broken out of ...
12075         (__opendirat): ... here.  Call it.
12076         (opendir_tail): New function, broken out of ...
12077         (__opendirat): ... here.  Call it.
12078         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12079         opendir_tail, rather than punting to __opendirat.
12080         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12082 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12084         * .gitignore: Ignore generated *.pyc.
12086 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12088         * include/stdio.h: Define __need_wint_t.
12089         * test-skeleton.c: Avoid `for' loop initial declaration.
12090         * nptl/tst-initializers1.c: Use test-skeleton.c.
12092 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12094         [BZ #18418]
12095         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12097 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #16352]
12100         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12101         (__ieee754_atanh): Force underflow exception for results with
12102         small absolute value.
12103         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12104         (__ieee754_atanhf): Force underflow exception for results with
12105         small absolute value.
12106         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12107         (__ieee754_atanh): Force underflow exception for results with
12108         small absolute value.
12109         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12110         (__ieee754_atanhf): Force underflow exception for results with
12111         small absolute value.
12112         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12113         (__ieee754_atanhl): Force underflow exception for results with
12114         small absolute value.
12115         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12116         (__ieee754_atanhl): Force underflow exception for results with
12117         small absolute value.
12118         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12119         (__ieee754_atanhl): Force underflow exception for results with
12120         small absolute value.
12121         * math/auto-libm-test-in: Do not allow missing underflow
12122         exceptions from atanh.
12123         * math/auto-libm-test-out: Regenerated.
12125         [BZ #18221]
12126         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12127         2**-28 as threshold for returning x or +/- 1/x.
12128         * math/auto-libm-test-in: Add more tests of tan.
12129         * math/auto-libm-test-out: Regenerated.
12131         [BZ #18220]
12132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12133         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12134         * math/auto-libm-test-in: Add another test of lgamma.
12135         * math/auto-libm-test-out: Regenerated.
12137 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12139         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12140         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12141         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12142         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12143         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12144         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12145         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12146         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12148         (log1): Use fabs.  (my_log2): Use fabs.
12149         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12150         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12152         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12153         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12154         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12155         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12156         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12157         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12158         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12159         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12161 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12163         [BZ #18217]
12164         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12165         as threshold for returning 1 - x.
12166         * math/auto-libm-test-in: Add more tests of erfc.
12167         * math/auto-libm-test-out: Regenerated.
12169 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12171         [BZ #18196]
12172         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12173         threshold for large arguments.
12174         * math/auto-libm-test-in: Add another test of atan.
12175         * math/auto-libm-test-out: Regenerated.
12177         [BZ #16339]
12178         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12179         (__log1p): Force underflow exception for results with small
12180         absolute value.
12181         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12182         (__log1pf): Force underflow exception for results with small
12183         absolute value.
12184         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12185         (__log1p): Force underflow exception for results with small
12186         absolute value.
12187         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12188         (__log1pf): Force underflow exception for results with small
12189         absolute value.
12190         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12191         (__log1pl): Force underflow exception for results with small
12192         absolute value.
12193         * math/auto-libm-test-in: Do not allow missing underflow
12194         exceptions from log1p.
12195         * math/auto-libm-test-out: Regenerated.
12197 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12198             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12200         [BZ #16704]
12201         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12203 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12205         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12206         (libmvec): New variable.
12207         * configure.ac: Added option for mathvec build.
12208         * configure: Regenerated.
12209         * mathvec/Depend: New file.
12210         * mathvec/Makefile: New file.
12211         * shlib-versions: Added libmvec.
12212         * math/Makefile: Added rule for libm.so installation.
12214         * bits/math-vector.h: New file.
12215         * bits/libm-simd-decl-stubs.h: New header.
12216         * math/Makefile (headers): Added new header
12217         libm-simd-decl-stubs.h.
12218         * math/math.h (__MATHCALL_VEC): New macro.
12220         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12221         for conditions in testing functions.
12222         * math/Makefile: Added call of libm-have-vector-test.sh.
12223         * math/libm-test.inc (HAVE_VECTOR): New macros.
12225         * math/libm-test.inc: START refactored.
12226         * math/test-double.c (TEST_MATHVEC): Add define.
12227         * math/test-float.c: Likewise.
12228         * math/test-idouble.c: Likewise.
12229         * math/test-ifloat.c: Likewise.
12230         * math/test-ildoubl.c: Likewise.
12231         * math/test-ldouble.c: Likewise.
12232         * sysdeps/generic/math-tests-arch.h
12233         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12234         architecture check.
12236         * math/test-double.c (FUNC_TEST): New macro.
12237         * math/test-float.c: Likewise.
12238         * math/test-idouble.c: Likewise.
12239         * math/test-ifloat.c: Likewise.
12240         * math/test-ildoubl.c: Likewise.
12241         * math/test-ldouble.c: Likewise.
12242         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12244 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12246         * sysdeps/nacl/fdopendir.c: New file.
12248         * dirent/scandir-tail.c: New file.
12249         * dirent/scandir64-tail.c: New file.
12250         * dirent/Makefile (routines): Add them.
12251         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12252         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12253         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12254         [!SCANDIR] (SCANDIR_TAIL): New macro.
12255         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12256         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12257         (SCANDIRAT): Macro removed.
12258         (SCANDIR_TAIL): New macro.
12259         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12260         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12261         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12262         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12263         (READDIR): Macro removed.
12264         (SCANDIR_TAIL): New macro.
12265         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12266         (SCANDIR_TAIL): New macro.
12268         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12269         * dirent/scandir-cancel.c: ... to this new file.
12270         * dirent/Makefile (routines): Add it.
12271         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12272         * sysdeps/unix/sysv/linux/i386/scandir64.c
12273         (SKIP_SCANDIR_CANCEL): Macro removed.
12274         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12276         * dirent/tst-scandir.c: New file.
12277         * dirent/tst-scandir64.c: New file.
12278         * dirent/Makefile (tests): Add them.
12280 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12282         [BZ #18409]
12283         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12285 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12287         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12288         list.
12290 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12292         * benchtests/bench-strcoll.c: New benchmark.
12293         * benchtests/Makefile: Generate locales and run benchmark.
12294         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12295         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12296         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12297         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12298         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12299         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12300         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12301         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12302         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12303         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12304         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12305         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12306         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12307         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12308         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12309         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12310         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12311         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12312         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12313         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12314         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12315         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12316         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12317         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12319 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12321         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12322         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12324 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12326         * posix/uname-values.h: New file.
12327         * posix/uname.c: Include that instead of <config-name.h>.
12328         * sysdeps/nacl/uname-values.h: New file.
12329         * sysdeps/arm/nacl/uname-values.h: New file.
12331 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12333         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12334         splitting into fields.
12336 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12338         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12339         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12340         * locale/localeinfo.h: Add enum collation_encoding_type.
12341         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12342         * programs/ld-collate.c (collate_output): Add encoding type info.
12343         * string/strcoll_l.c (STRDIFF): New function.
12344         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12345         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12347 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12349         [BZ #18397]
12350         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12351         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12352         <fpu_control.h> instead of <math/fpu_control.c>.
12353         * sysdeps/mips/mips32/fpu/Makefile: New file.
12355 2015-05-11  Andreas Schwab  <schwab@suse.de>
12357         [BZ #18007]
12358         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12359         nss_endgrent.
12360         (_nss_compat_endgrent): Call nss_endgrent.
12361         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12362         nss_endpwent.
12363         (_nss_compat_endpwent): Call nss_endpwent.
12364         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12365         needent, call nss_setspent only if non-zero.
12366         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12367         (internal_endspent): Don't call nss_endspent.
12368         (_nss_compat_endspent): Call nss_endspent.
12369         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12370         Remove.  All uses removed.
12371         (internal_setent): Remove parameter stayopen, add parameter
12372         stream.  Use it instead of global variable.
12373         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12374         (internal_endent, internal_getent): Add parameter stream.  Use it
12375         instead of global variable.
12376         (CONCAT(_nss_files_end,ENTNAME))
12377         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12378         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12379         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12380         uses removed.
12381         (internal_setent, internal_endent): Add parameter stream.  Use it
12382         instead of global variable.
12383         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12384         stream.
12385         (get_next_alias): Add parameter stream.
12386         (_nss_files_getaliasent_r): Pass global stream.
12387         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12388         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12389         (_nss_files_gethostbyname4_r): Pass local stream to
12390         internal_setent, internal_getent and internal_endent.  Remove
12391         locking.
12393 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12395         * tst-strfmon1.c (tests): Update expected currency symbol.
12397 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12399         * sysdeps/nacl/gethostname.c: New file.
12401 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12403         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12404         and sinh.
12405         * math/auto-libm-test-out: Regenerated.
12406         * sysdeps/i386/fpu/libm-test-ulps: Update.
12407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12409 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12411         [BZ #18125]
12412         * stdlib/tst-setcontext3.c: New file.
12413         * stdlib/tst-setcontext3.sh: New file.
12414         * stdlib/Makefile (tests): Add tst-setcontext3.
12415         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12416         to verify test program created output file.
12417         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12418         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12419         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12420         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12422 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12424         [BZ #18383]
12425         * elf/tst-tlsalign.c: New file.
12426         * elf/tst-tlsalign-static.c: New file.
12427         * elf/tst-tlsalign-lib.c: New file.
12428         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12429         (tests-static): Add tst-tlsalign-static.
12430         (modules-names): Add tst-tlsalign-lib.
12431         (test-xfail-tst-tlsalign): New variable.
12432         (test-xfail-tst-tlsalign-static): New variable.
12434         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12435         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12437 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12439         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12440         csqrt, erfc, sin and sincos.
12441         * math/auto-libm-test-out: Regenerated.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12445 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12447         * sysdeps/aarch64/libm-test-ulps: Update.
12449 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12451         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12452         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12453         * math/auto-libm-test-out: Regenerated.
12454         * sysdeps/i386/fpu/libm-test-ulps: Update.
12455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12457 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12459         [BZ #18265]
12460         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12461         (wcsncpy): Likewise.
12463 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12465         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12466         Assume __ASSUME_FALLOCATE is always true.
12467         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12468         (__posix_fallocate64_l64): Likweise.
12469         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12470         (posix_fallocate): Likewise.
12471         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12472         (__posix_fallocate64_l64): Likewise.
12473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12474         [!__ASSUME_FALLOCATE]: Add comment.
12476 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12478         * sysdeps/unix/sysv/linux/i386/Makefile
12479         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12480         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12481         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12482         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12483         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12484         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12485         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12487 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12489         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12490         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12491         tgamma.
12492         * math/auto-libm-test-out: Regenerated.
12493         * sysdeps/i386/fpu/libm-test-ulps: Update.
12494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12496 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12498         * math/auto-libm-test-in: Add more tests of tgamma.
12499         * math/auto-libm-test-out: Regenerated.
12500         * sysdeps/i386/fpu/libm-test-ulps: Update.
12501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12503         * math/auto-libm-test-in: Add more tests of tanh.
12504         * math/auto-libm-test-out: Regenerated.
12505         * sysdeps/i386/fpu/libm-test-ulps: Update.
12506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508         * math/auto-libm-test-in: Add more tests of tan.
12509         * math/auto-libm-test-out: Regenerated.
12510         * sysdeps/i386/fpu/libm-test-ulps: Update.
12511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
12514         * math/auto-libm-test-out: Regenerated.
12515         * sysdeps/i386/fpu/libm-test-ulps: Update.
12516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12518         * math/auto-libm-test-in: Add another test of pow.
12519         * math/auto-libm-test-out: Regenerated.
12520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12522         * math/auto-libm-test-in: Add more tests of lgamma.
12523         * math/auto-libm-test-out: Regenerated.
12524         * sysdeps/i386/fpu/libm-test-ulps: Update.
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
12528         log1p.
12529         * math/auto-libm-test-out: Regenerated.
12530         * sysdeps/i386/fpu/libm-test-ulps: Update.
12531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12533 2015-05-01  Mark Wielaard  <mjw@redhat.com>
12535         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
12536         Elf64_Chdr structs and ELFCOMPRESS constants.
12538 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12540         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
12541         expm1.
12542         * math/auto-libm-test-out: Regenerated.
12543         * sysdeps/i386/fpu/libm-test-ulps: Update.
12544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12546         * math/auto-libm-test-in: Add more tests of erf and erfc.
12547         * math/auto-libm-test-out: Regenerated.
12548         * sysdeps/i386/fpu/libm-test-ulps: Update.
12549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12551 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12553         * config.h.in (HAVE_AARCH64_BE): Add.
12555 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
12557         * math/auto-libm-test-in: Add more tests of csqrt.
12558         * math/auto-libm-test-out: Regenerated.
12559         * sysdeps/i386/fpu/libm-test-ulps: Update.
12560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12562         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12563         * math/auto-libm-test-out: Regenerated.
12564         * sysdeps/i386/fpu/libm-test-ulps: Update.
12565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
12569 2015-04-29  Roland McGrath  <roland@hack.frob.com>
12571         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
12572         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
12574         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
12575         (euidaccess, eaccess): Define as weak aliases.
12577         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
12578         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
12579         but __suseconds_t is often 'long int' so some sources assume that
12580         type is being used (e.g. they use %ld to print tv_usec).
12582 2015-04-29  Florian Weimer  <fweimer@redhat.com>
12584         [BZ #18007]
12585         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
12586         (CVE-2014-8121)
12587         * nss/tst-nss-getpwent.c: New file.
12588         * nss/Makefile (tests): Add new test.
12590 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
12592         [BZ #18346]
12593         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
12594         exponents less than 48 as cases where high part of mantissa needs
12595         examining to determine whether argument is integral.
12596         * math/libm-test.inc (round_test_data): Add more tests.
12598 2015-04-28  Mark Wielaard  <mjw@redhat.com>
12600         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
12602 2015-04-27  David S. Miller  <davem@davemloft.net>
12604         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
12605         __tls_get_addr.
12606         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12608 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
12610         [BZ#18333]
12611         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
12613 2015-04-27  Florian Weimer  <fweimer@redhat.com>
12615         [BZ#18333]
12616         * time/tzset.c (parse_tzname): Return error on memory allocation
12617         failure.
12618         * test-skeleton.c (struct temp_name_list): Change type of name
12619         member to non-const.
12620         (add_temp_file): Create a copy of the file name.
12621         (delete_temp_files): Deallocate memory.
12622         (create_temp_file): Add comment.
12624 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12626         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
12627         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
12629 2015-04-24  Roland McGrath  <roland@hack.frob.com>
12631         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
12632         * sysdeps/arm/configure: Regenerated.
12634 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12636         [BZ #17715]
12637         * time/tzfile.c (__tzfile_read): Check for large values of
12638         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
12639         * time/tzset.c (__tzstring_len): New function, based on the old
12640         __tzstring function.
12641         (__tzstring): Call __tzstring_len.
12642         (parse_tzname): New helper function extracted from
12643         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
12644         the input string.
12645         (parse_offset): New helper function extracted from
12646         __tzset_parse_tz.  Replace switch with fallthrough with
12647         initialization before sscanf.
12648         (parse_rule): Likewise.
12649         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
12650         new-style function definition.
12651         * timezone/Makefile (tests): Add tst-tzset.
12652         (tst-tzset.out): Dependencies on time zone files.
12653         (tst-tzset-ENV): Set TZDIR.
12654         (testdata/XT%): Copy crafted time zone files.
12655         * timezone/README: Mention crafted time zone files.
12656         * timezone/testdata/XT1, timezone/testdata/XT2,
12657         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
12658         files.
12659         * timezone/tst-tzset.c: New test.
12661 2015-04-24  Florian Weimer  <fweimer@redhat.com>
12663         * Makeconfig (+gccwarn): Remove -Winline.
12665 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12667         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
12669 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
12671         * NEWS: Mention sysconf() cache information support for s390.
12672         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
12674 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
12676         * math/k_casinh.c (__kernel_casinh): Use __copysign.
12677         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
12678         (__nearbyint): Likewise.
12679         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
12680         (copysignl): Likewise.
12682 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
12684         [BZ #18287]
12685         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
12686         based on padding.  (CVE-2015-1781)
12688 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12690         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
12691         libc-vdso.h.
12692         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
12693         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
12694         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
12695         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12696         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12697         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
12698         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
12699         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12700         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12701         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
12702         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12703         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12704         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12705         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
12706         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12707         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
12708         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
12709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
12710         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
12711         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
12712         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
12713         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
12714         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
12716 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
12718         * stdlib/setenv.c (__add_to_environ):
12719         Dump core quickly if setenv (..., NULL, ...) is called.
12720         This time, do it the right way, and pacify GCC with a pragma.
12722 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12724         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
12725         IMAP->l_prev cannot be null, and #if out the code for the contrary
12726         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
12727         believe that NS (&_dl_ns[NSID]) could point outside the array.
12729         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
12730         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
12731         before using NSID as an index.
12733 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
12735         [BZ #17825]
12736         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
12737         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
12738         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12740 2015-04-17  Roland McGrath  <roland@hack.frob.com>
12742         Add preliminary port to Google Native Client on ARM.
12743         * abi-tags (.*-.*-nacl.*): New entry.
12744         * sysdeps/arm/nacl: New directory.
12745         * sysdeps/nacl: New directory.
12747 2015-04-16  David S. Miller  <davem@davemloft.net>
12749         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
12750         lowlevellock-futex.h
12752 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
12754         * sysdeps/tile/configure.ac: New file.
12755         * sysdeps/tile/configure: Regenerated.
12757 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12759         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
12760         conditionals for weak_alias and libc_hidden_weak.
12761         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
12762         libc_hidden_weak and weak_alias.
12763         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
12764         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
12765         and weak_alias for static one.
12767 2015-04-15  David S. Miller  <davem@davemloft.net>
12769         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12771 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12773         [BZ #18206]
12774         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
12775           Use signed comparision instead of substraction to avoid
12776           overflow bug.
12777         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
12778           Take the sign of ret.
12779         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
12780           Do not expect precise return values. Only the sign matters.
12781         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
12782         * wcsmbs/test-wcsncmp.c: New File.
12783         * string/test-strncmp.c: Add wcsncmp support.
12785 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12787         [BZ #6792]
12788         * math/w_log1p.c: New file.
12789         * math/w_log1pf.c: Likewise.
12790         * math/w_log1pl.c: Likewise.
12791         * math/Makefile (libm-calls): Add w_log1p.
12792         * math/s_log1pl.c (log1pl): Remove weak_alias.
12793         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
12794         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
12795         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
12796         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
12797         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
12798         [NO_LONG_DOUBLE] (log1pl): Likewise.
12799         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
12800         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
12801         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
12802         (log1p): Remove long_double_symbol.
12803         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
12804         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
12805         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
12806         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
12807         remove weak_alias for corresponding log1p function.
12808         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
12809         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12810         * sysdeps/ia64/fpu/w_log1p.c: New file.
12811         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
12812         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
12813         * math/libm-test.inc (log1p_test_data): Add errno expectations.
12815 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
12817         [BZ #18247]
12818         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
12819         decimal exponent by 1.
12820         * stdlib/tst-strtod-round-data: Add more tests.
12821         * stdlib/tst-strtod-round.c (tests): Regenerated.
12823 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
12825         * math/auto-libm-test-in: Add more tests of clog and clog10.
12826         * math/auto-libm-test-out: Regenerated.
12827         * sysdeps/i386/fpu/libm-test-ulps: Update.
12828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12830 2015-04-09  Roland McGrath  <roland@hack.frob.com>
12832         * Makeconfig (module-cppflags): Exclude all .v.i files.
12833         (skip-module-cppflags): Variable removed.
12835         * configure.ac (libc_config_ok): Initialize before reading
12836         preconfigure scripts, not after.
12837         * configure: Regenerated.
12839         * test-skeleton.c (TIMEOUT): Move #define to top level.
12840         (main): Grok environment variable TEST_DIRECT.  If set, print
12841         test expectation details into that file and then behave as if
12842         given --direct.
12844 2015-04-09  Florian Weimer  <fweimer@redhat.com>
12846         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
12847         warning on 32-bit.
12849 2015-04-08  David S. Miller  <davem@davemloft.net>
12851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12853 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12855         * math/auto-libm-test-in: Add more tests of atanh.
12856         * math/auto-libm-test-out: Regenerated.
12857         * sysdeps/i386/fpu/libm-test-ulps: Update.
12858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12860         * math/auto-libm-test-in: Add more tests of atan.
12861         * math/auto-libm-test-out: Regenerated.
12862         * sysdeps/i386/fpu/libm-test-ulps: Update.
12863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12865 2015-04-08  Florian Weimer  <fweimer@redhat.com>
12867         * elf/pldd.c (main): Rewrite to use struct
12868         scratch_buffer instead of extend_alloca.
12869         * elf/pldd-xx.c (find_maps): Likewise.
12870         * grp/initgroups.c: Include <scratch_buffer.h> instead of
12871         <alloca.h>.
12872         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
12873         scratch_buffer instead of extend_alloca.
12874         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
12875         grp/compat-initgroups.c.
12876         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
12877         Rewrite to use struct scratch_buffer instead of extend_alloca.
12878         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
12879         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12881 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
12883         * math/auto-libm-test-in: Add more tests of cbrt.
12884         * math/auto-libm-test-out: Regenerated.
12885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12887         * math/auto-libm-test-in: Add more tests of cabs.
12888         * math/auto-libm-test-out: Regenerated.
12889         * sysdeps/i386/fpu/libm-test-ulps: Update.
12890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12892         [BZ #18210]
12893         [BZ #18211]
12894         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
12895         (__ieee754_atan2): Set FE_TONEAREST mode for internal
12896         computations.
12897         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
12898         clog10.
12899         * math/auto-libm-test-out: Regenerated.
12900         * sysdeps/i386/fpu/libm-test-ulps: Update.
12901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12903         [BZ #18197]
12904         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
12905         (atan): Set FE_TONEAREST mode for internal computations.
12906         * math/auto-libm-test-in: Add more tests of atan.
12907         * math/auto-libm-test-out: Regenerated.
12909 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
12911         [BZ #17930]
12912         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
12914 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12916         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
12918 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12920         * include/scratch_buffer.h: New file.
12921         * malloc/scratch_buffer_grow.c: Likewise.
12922         * malloc/scratch_buffer_grow_preserve.c: Likewise.
12923         * malloc/scratch_buffer_set_array_size.c: Likewise.
12924         * malloc/tst-scratch_buffer.c: Likewise.
12925         * malloc/Makefile (routines): Add scratch_buffer_grow.
12926         (tests): Add test case.
12927         * malloc/Versions (GLIBC_PRIVATE): Export
12928         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
12929         __libc_scratch_buffer_set_array_size.
12931 2015-04-06  Richard Henderson  <rth@redhat.com>
12933         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
12934         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12936         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12937         unsigned int before printing.
12939 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12941         [BZ #17596]
12942         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12943         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12945 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12947         * include/libc-internal.h (libc_max_align_t): Define.
12949 2015-04-02  Andreas Schwab  <schwab@suse.de>
12951         [BZ #16850]
12952         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12954 2015-04-02  Mel Gorman  <mgorman@suse.de>
12956         [BZ #17195]
12957         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12958         as well as the main arena.
12960 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12962         [BZ #18185]
12963         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12964         sharing L2 cache to 2 for Silvermont/Knights Landing.
12966 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12968         [BZ #17711]
12969         * config.make.in (have-protected-data): New.
12970         * configure.ac: Check linker support for protected data symbol.
12971         * configure: Regenerated.
12972         * elf/Makefile (modules-names): Add tst-protected1moda and
12973         tst-protected1modb if $(have-protected-data) is yes.
12974         (tests): Add tst-protected1a and tst-protected1b if
12975         $(have-protected-data) is yes.
12976         ($(objpfx)tst-protected1a): New.
12977         ($(objpfx)tst-protected1b): Likewise.
12978         (tst-protected1modb.so-no-z-defs): Likewise.
12979         * elf/tst-protected1a.c: New file.
12980         * elf/tst-protected1b.c: Likewise.
12981         * elf/tst-protected1mod.h: Likewise.
12982         * elf/tst-protected1moda.c: Likewise.
12983         * elf/tst-protected1modb.c: Likewise.
12985 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12987         [BZ #17711]
12988         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12989         indicates it is called from do_lookup_x on relocation against
12990         protected data, skip the data definion in the executable from
12991         copy reloc.
12992         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12993         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12994         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12995         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12996         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12997         otherwise to 0.
12998         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12999         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13000         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13001         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13002         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13003         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13005 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13007         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13008         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13010 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13012         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13013         THREAD_SETMEM_NC.
13014         * sysdeps/x86_64/nptl/tls.h: Ditto.
13016 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13018         * dlfcn/tststatic.c (main): Converted to ...
13019         (do_test): ... this.
13020         (TEST_FUNCTION): New macro.
13021         Include test-skeleton.c.
13023 2015-03-26  Alan Modra  <amodra@gmail.com>
13025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13026         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13027         zero for undefined weak.
13028         (elf_machine_plt_conflict): Similarly.
13030 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13032         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13033         atanh.
13034         * math/auto-libm-test-out: Regenerated.
13035         * sysdeps/i386/fpu/libm-test-ulps: Update.
13036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13038         * math/auto-libm-test-in: Add another test of asin.
13039         * math/auto-libm-test-out: Regenerated.
13040         * sysdeps/i386/fpu/libm-test-ulps: Update.
13041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13043         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13044         Remove macro.
13045         (LLL_EBX_REG): Likewise.
13046         (LLL_ENTER_KERNEL): Likewise.
13048         * math/auto-libm-test-in: Add more tests of asin.
13049         * math/auto-libm-test-out: Regenerated.
13050         * sysdeps/i386/fpu/libm-test-ulps: Update.
13051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13053         [BZ #18138]
13054         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13055         libc_do_syscall_args): New structure.
13056         (INTERNAL_SYSCALL_MAIN_0): New macro.
13057         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13058         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13059         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13060         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13061         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13062         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13063         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13064         Replace conditional definitions by conditional definitions of ....
13065         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13066         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13067         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13068         (libpthread-sysdep_routines): Add libc-do-syscall.
13069         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13071         to __NR_futex not 240.
13073 2015-03-25  Alan Modra  <amodra@gmail.com>
13075         * NEWS: Advertise TLS optimization.
13076         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13077         (DT_PPC_NUM): Increment.
13078         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13079         (CHECK_STATIC_TLS): Use here.
13080         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13081         TLS descriptors.
13082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13083         * sysdeps/powerpc/dl-tls.c: New file.
13084         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13085         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13086         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13087         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13092 2015-03-25  Alan Modra  <amodra@gmail.com>
13094         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13095         for overlapping .opd entries" to "support...".
13096         * sysdeps/powerpc/powerpc64/configure: Regenerate
13098 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13100         * math/auto-libm-test-in: Add more tests of acos.
13101         * math/auto-libm-test-out: Regenerated.
13102         * sysdeps/i386/fpu/libm-test-ulps: Update.
13103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13105         * math/auto-libm-test-in: Add more tests of expm1.
13106         * math/auto-libm-test-out: Regenerated.
13107         * sysdeps/i386/fpu/libm-test-ulps: Update.
13108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13110 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13112         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13113         * math/auto-libm-test-out: Regenerated.
13114         * sysdeps/i386/fpu/libm-test-ulps: Update.
13115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13117         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13120         * math/auto-libm-test-in: Add more tests of log2.
13121         * math/auto-libm-test-out: Regenerated.
13122         * sysdeps/i386/fpu/libm-test-ulps: Update.
13123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13125 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13127         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13128         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13129         _IO_IS_APPENDING bit in READ_WRITE instead.
13131 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13133         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13134         (__determine_cpumask_size): Replace extend_alloca with a
13135         variable-length array.  Do not treat res == 0 as an error.
13137 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13139         [BZ #18100]
13140         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13141         and integer overflow.
13142         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13143         (main): Add integer overflow tests.
13144         * manual/pattern.texi (Calling Wordexp): Document additional use
13145         for WRDE_SYNTAX.
13147 2015-03-23  Alan Modra  <amodra@gmail.com>
13149         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13150         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13151         and false branch of conditional.
13152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13153         Likewise.
13155 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13157         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13158         libc-modules.h
13159         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13160         unused declaration of _hurd_intr_rpc_msg_in_trap.
13161         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13162         defined instead of whether it is non-zero.
13163         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13164         input constraint instead of both input and output constraint.  Use ecx
13165         clobber instead of %ecx.
13166         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13167         mutex_unlock): Use a statement expression instead of an expression list.
13168         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13169         type to vm_size_t instead of vm_address_t.
13170         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13171         defined instead of whether it is non-zero.
13172         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13173         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13174         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13175         comparisons with mapaddr.
13176         * nscd/nscd-client.h: Include <time.h>.
13177         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13178         9th parameter to __vm_region instead of int.
13179         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13180         * scripts/check-local-headers.sh (exclude): Add device/,
13181         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13182         cthreads.h.
13184 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13186         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13187         to account for alignment padding.
13188         * sysdeps/arm/memmove.S: Likewise.
13190 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13192         * sysdeps/unix/sysv/linux/generic/README: New file.
13194 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13196         [BZ #18138]
13197         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13198         (futex_abstimed_wait)
13199         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13200         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13201         of lll_futex_timed_wait.
13203 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13205         [BZ #17542]
13206         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13208 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13210         [BZ #17090]
13211         [BZ #17620]
13212         [BZ #17621]
13213         [BZ #17628]
13214         * NEWS: Update.
13215         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13216         entries with Static TLS too.  Skip entries past the end of the
13217         allocated DTV, from Alan Modra.
13218         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13219         Static TLS DTV entry set up from...
13220         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13221         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13222         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13223         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13224         for Static TLS.
13225         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13226         that the slot we find is associated with the given map before
13227         using its generation count.
13228         * nptl_db/db_info.c: Include ldsodefs.h.
13229         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13230         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13231         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13232         (link_map::l_tls_offset): New struct field.
13233         (dtv_t::counter): Likewise.
13234         (rtld_global): New struct.
13235         (_rtld_global): New rtld variable.
13236         (dl_tls_dtv_slotinfo_list): New rtld global field.
13237         (dtv_slotinfo_list): New struct.
13238         (dtv_slotinfo): Likewise.
13239         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13240         (td_lookup): Rename to...
13241         (td_mod_lookup): ... this.  Use new mod parameter instead of
13242         LIBPTHREAD_SO.
13243         * nptl_db/td_thr_tlsbase.c: Include link.h.
13244         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13245         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13246         addresses even if the DTV is out of date or missing them.
13247         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13248         index zero-length arrays.
13249         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13250         (td_lookup): Make it a macro implemented in terms of...
13251         (td_mod_lookup): ... this declaration.
13252         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13253         (DB_MAIN_VARIABLE): Likewise.
13255 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13257         [BZ #18134]
13258         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13260 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13262         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13264 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13266         [BZ #18128]
13267         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13268         (atomic_add, atomic_increment_and_test)
13269         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13271 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13273         * stdlib/setenv.c (__add_to_environ):
13274         Dump core quickly if setenv (..., NULL, ...) is called.
13276 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13278         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13279         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13280         all the necessary asm magic in one place.
13281         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13282         using those.
13284 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13286         [BZ #14906]
13287         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13288         traced file mtime. Use consistent log message.
13289         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13290         (register_traced_file): Call install_watches. Always set mtime.
13291         (invalidate_cache): Iterate over all trace files. Call install_watches.
13292         (inotify_check_files): Don't inline. Handle watching parent
13293         directories and configuration file movement in and out.
13294         (handle_inotify_events): New function.
13295         (main_loop_poll): Call handle_inotify_events.
13296         (main_loop_epoll): Likewise.
13297         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13298         (struct traced_file): Use array of inotify fds. Add parent directory,
13299         and basename.
13300         (struct database_dyn): Remove unused file_mtime.
13301         (init_traced_file): New inline function.
13302         (define_traced_file): New macro.
13303         * nss/nss_db/db-init.c: Use define_traced_file.
13304         (_nss_db_init): Use init_traced_file.
13305         * nss/nss_files/files-init.c: Use define_traced_file.
13306         (_nss_files_init): Use init_traced_file.
13308 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13310         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13311         [_LIBC]: Do not include <stdlib.h>.
13312         [!_LIBC] (abort): Remove declaration.
13313         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13314         _FP_STATIC_ASSERT instead of conditionally calling abort.
13315         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13316         (_FP_EXTEND_CNAN): Likewise.
13317         (FP_TRUNC): Likewise.
13318         (__FP_CLZ): Likewise.
13319         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13321 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13323         * manual/string.texi (XPG basename): Fix prototype.
13325 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13327         [BZ #18080]
13328         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13329         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13330         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13331         (__setcontext): Likewise.
13332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13333         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13334         Call rt_sigprocmask syscall one time to set new signal mask
13335         and retrieve the current signal mask instead of two calls.
13336         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13337         (__swapcontext): Likewise.
13338         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13339         * stdlib/tst-setcontext2.c: New file.
13341 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13343         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13345 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13347         [BZ #18093]
13348         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13349         the wrong size.
13351 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13353         [BZ #18043]
13354         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13356 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13358         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13359         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13360         Remove define.
13361         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13362         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13363         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13364         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13365         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13366         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13367         define.
13368         * nptl_db/td_symbol_list.c (td_lookup): Remove
13369         HAVE_ASM_GLOBAL_DOT_NAME code.
13370         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13371         HAVE_ASM_GLOBAL_DOT_NAME check.
13372         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13373         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13374         (DOT_LABEL): Remove define.
13375         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13376         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13377         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13378         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13379         (__TLS_GET_ADDR): Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13381         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13383 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13385         [BZ #18111]
13386         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13387         (_FPU_SETCW): Initialize cw from fpsr before storing.
13388         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13389         (fesetexceptflag): Rewrite using fpu_control.h.
13390         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13392 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13394         [BZ #18110]
13395         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13396         asms.
13397         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13399 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13401         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13402         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13403         abort.
13404         (_FP_FMA): Likewise.
13405         (_FP_DIV): Likewise.
13407 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13409         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13410         with 0 in that case.
13411         * Makefile (summarize-tests): New canned sequence, factored out of
13412         commands for targets tests and xtests.  Display summary lines that
13413         don't start with PASS: or XFAIL: rather than ones that do start with
13414         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13415         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13416         do start with ERROR: or FAIL:.
13417         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13418         (except for [$(build-shared) = yes]).
13419         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13420         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13421         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13422         * nptl/Makefile: Revert 2015-03-04 changes.
13423         [$(CXX) empty] (tests-unsupported): New variable.
13424         * debug/Makefile: Likewise.
13426         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13427         gnulib file.  Replace __attribute with __attribute__ throughout.
13429 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13431         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13433 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13435         [BZ #18104]
13436         * math/auto-libm-test-in: Add another test of pow.
13437         * math/auto-libm-test-out: Regenerated.
13439 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13441         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13442         $(config-cflags-nofma).
13444 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13446         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13447         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13448         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13449         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13450         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13451         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13452         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13453         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13454         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13455         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13456         Add comment on closing #endif.
13458 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13460         * posix/wordexp.c (CHAR_IN_SET): New macro.
13461         (parse_param): Use it.
13463 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13465         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13467 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13469         [BZ #18043]
13470         * posix/wordexp.c (parse_param): Fix buffer overflow.
13471         * posix/wordexp-test.c (test_case): Add test case.
13473 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13475         [BZ #18042]
13476         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13477         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13479 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13481         [BZ #18043]
13482         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13483         (do_bz18043): Delete.
13484         (at_page_end): New.
13485         (testit): Refactor to have words at the edge of unreadable page.
13487 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13489         [BZ #16734]
13490         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13491         Cleanup read-only streams as well.
13492         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13494 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13496         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13497         <bits/libc-lockP.h>
13499 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13501         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13502         on [__KERNEL__].
13503         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
13504         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
13505         * soft-fp/op-common.h (_FP_DECL): Likewise.
13507 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13509         * elf/ifuncdep2.c (global): Replace
13510         __attribute__((visibility("protected"))) with
13511         asm (".protected global").
13512         * elf/ifuncmod1.c (global): Likewise.
13513         * elf/ifuncmod5.c (global): Likewise.
13515 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
13517         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
13518         <asm/sfp-machine.h> instead of <sfp-machine.h>.
13520 2015-03-06  Roland McGrath  <roland@hack.frob.com>
13522         * manual/install.texi (Configuring and compiling):
13523         Document test-wrapper-env-only.
13524         * INSTALL: Regenerated.
13526 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13528         [BZ #18043]
13529         * posix/wordexp.c (parse_param): Fix buffer overflow.
13530         * posix/wordexp-test.c (do_bz18043): Add test case.
13532 2015-03-06  Vincent Bernat  <vincent@bernat.im>
13534         * time/tst-strptime2.c (do_test): Ensure failing tests are
13535         reported correctly.
13536         * time/tst-strptime3.c (do_test): Likewise.
13538 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
13540         Fix aio_error thread-safety.
13541         * sysdeps/pthread/aio_error.c: New file
13542         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
13543         synchronization.
13545 2015-03-06  Florian Weimer  <fweimer@redhat.com>
13547         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
13548         (group_number, vfprintf): Use it.
13549         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
13550         (JUMP, REF): Use it.
13551         (WORK_BUFFER_SIZE): New enum constant.
13552         (process_arg, vfprintf): Use it.
13554 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
13556         * manual/errno.texi (Error Messages): Complete example function
13557         by adding missing #define.
13558         (program_invocation_name): Add statement indicating GNU
13559         extension and reference which header file declares the variable.
13560         (program_invocation_short_name): Likewise.
13562 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
13564         * manual/errno.texi (Error Messages): Delete strerror ISO C89
13565         compatibility note.
13567 2015-03-05  Roland McGrath  <roland@hack.frob.com>
13569         * Makeconfig (test-wrapper-env-only): New variable.
13570         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
13571         then use that with $(test-wrapper-env-only) rather than using
13572         $(test-wrapper-env) $(run-program-env) $($*-ENV).
13574 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
13576         [BZ #18082]
13577         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
13578         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
13579         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
13580         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
13581         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
13582         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
13583         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
13584         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
13585         Likewise.
13586         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
13587         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
13588         Likewise.
13589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
13590         Likewise.
13591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
13592         Likewise.
13593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
13594         Likewise.
13595         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
13596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
13597         Likewise.
13598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
13599         Likewise.
13600         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
13601         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
13603 2015-03-04  Roland McGrath  <roland@hack.frob.com>
13605         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
13606         (ETH_ALEN): New macro.
13607         (struct ether_addr): Use it for length of ether_addr_octet.
13609         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
13610         (setdb): Don't call __nss_configure_lookup for "rpc".
13611         (do_test): Don't call test_rpc.
13612         (output_rpcent, test_rpc): Functions moved ...
13613         * sunrpc/test-rpcent.c: ... to this new file.
13614         * sunrpc/Makefile (tests): Add it.
13616         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
13617         __xpg_sigpause.
13618         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
13619         * nptl/tst-signal6.c: Likewise.
13620         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
13621         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
13623         * configure.ac (libc_cv_cxx_link_ok): New check.
13624         Reset CXX to empty if it fails to link.
13625         * configure: Regenerated.
13626         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
13627         bug-atexit3-lib only if $(CXX) is nonempty.
13628         * nptl/Makefile (tests): Likewise for tst-cancel24.
13629         (tests, tests-static): Likewise for tst-cancel24-static.
13630         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
13631         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
13632         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
13633         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
13635 2015-03-04  Andreas Schwab  <schwab@suse.de>
13637         [BZ #17631]
13638         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
13639         for non-GCC compilers.
13640         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13641         Likewise.
13643 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13645         [BZ #17776]
13646         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
13647         integer before bitwise and assembly operations.
13648         (feclearexcept): Likewise.
13649         * math/test-fenvinline.c: New file.
13650         * math/Makefile: Add test-fenvinline test.
13652 2015-03-03  Alan Modra  <amodra@gmail.com>
13654         [BZ #16512]
13655         * scripts/localplt.awk: Strip off symbol version.
13656         * NEWS: Mention bug fix.
13658 2015-03-02  Roland McGrath  <roland@hack.frob.com>
13660         * sysdeps/pthread/timer_routines.c
13661         (timer_free_list, thread_free_list, thread_active_list): Make static.
13663 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
13665         [BZ #17779]
13666         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13667         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13668         Undefine.
13669         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13670         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13673         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
13674         Likewise.
13676 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
13678         [BZ #18036]
13679         * posix/fnmatch_loop.c (END): Detect invalid pattern.
13680         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
13682 2015-03-02  Andreas Schwab  <schwab@suse.de>
13684         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
13685         variable name.
13687 2015-03-02  Florian Weimer  <fweimer@redhat.com>
13689         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
13690         Return error status.
13692 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
13694         [BZ #15969]
13695         * locale/findlocale.c (_nl_find_locale): Introduce const
13696         version of loc_name and drop unsafe type casts.
13698 2015-02-27  Roland McGrath  <roland@hack.frob.com>
13700         * dlfcn/tststatic2.c (main): Converted to ...
13701         (do_test): ... this.
13702         (TEST_FUNCTION): New macro.
13703         Include test-skeleton.c.
13705 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
13707         [BZ #17711]
13708         * elf/Makefile (tests): Add vismain only if PIE is enabled.
13709         (tests-pie): Add vismain.
13710         (CFLAGS-vismain.c): New.
13711         * elf/vismain.c: Add comments for PIE requirement.
13713 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13715         [BZ #18046]
13716         [BZ #18047]
13717         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
13718         0x1p-56L as threshold for just returning the argument.
13719         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
13720         0x1p-32L as threshold for just returning the argument.
13721         * math/auto-libm-test-in: Add more tests of atanh.
13722         * math/auto-libm-test-out: Regenerated.
13723         * sysdeps/i386/fpu/libm-test-ulps: Update.
13724         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
13726 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13728         * string/bcopy.c (bcopy): Call memmove for performance.
13730 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
13732         * string/bzero.c (__bzero): Call memset for performance.
13734 2015-02-27  John David Anglin  <dave.anglin@bell.net>
13736         [BZ #18068]
13737         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
13738         to 00100000.
13740 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
13742         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
13744 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13746         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13747         (__kernel_standard): Use CSTR macro when setting exc.name.
13748         * sysdeps/ieee754/Makefile [$(subdir) = math]
13749         (CFLAGS-k_standard.c): Remove variable.
13751         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
13752         setting p and q from "else if" to "else".
13753         (qzero): Likewise.
13754         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
13755         (qone): Likewise.
13756         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
13757         (qzerof): Likewise.
13758         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
13759         (qonef): Likewise.
13760         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
13761         (qzero): Likewise.
13762         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
13763         (qone): Likewise.
13765         [BZ #18038]
13766         [BZ #18039]
13767         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
13768         return pi/2 for arguments below 0x1p-113L.
13769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
13770         return pi/2 for arguments below 0x1p-106L.
13771         * math/auto-libm-test-in: Add more tests of acos.
13772         * math/auto-libm-test-out: Regenerated.
13774         [BZ #16351]
13775         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
13776         (MO): New macro.
13777         (__ieee754_asin): Force underflow exception for results with small
13778         absolute value.
13779         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
13780         (MO): New macro.
13781         (__ieee754_asinf): Force underflow exception for results with
13782         small absolute value.
13783         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
13784         (__ieee754_asin): Force underflow exception for results with small
13785         absolute value.
13786         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
13787         (__ieee754_asinf): Force underflow exception for results with
13788         small absolute value.
13789         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
13790         (__ieee754_asinl): Force underflow exception for results with
13791         small absolute value.
13792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
13793         (__ieee754_asinl): Force underflow exception for results with
13794         small absolute value.
13795         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
13796         (__ieee754_asinl): Force underflow exception for results with
13797         small absolute value.
13798         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13799         Include <math.h>.
13800         * math/auto-libm-test-in: Do not mark underflow exceptions as
13801         possibly missing for bug 16351.
13802         * math/auto-libm-test-out: Regenerated.
13804         [BZ #18030]
13805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
13806         of power of 2 down when low part has opposite sign.
13807         * math/libm-test.inc (logb_test_data): Add more tests.
13809 2015-02-26  Andreas Schwab  <schwab@suse.de>
13811         [BZ #18032]
13812         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
13813         over collating symbol inside a bracket expression.  Minor cleanup.
13814         * posix/tst-fnmatch3.c (do_test): Add test case.
13816 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
13818         [BZ #18029]
13819         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
13820         Adjust exponent of power of 2 down when low part has opposite
13821         sign.
13822         * math/libm-test.inc (ilogb_test_data): Add more tests.
13824 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
13826         [BZ #15969]
13827         * locale/findlocale.c (_nl_find_locale): Fix constness error in
13828         the previous change.
13830         [BZ #15969]
13831         * locale/findlocale.c (_nl_find_locale): Retry archive search
13832         after alias expansion.
13834 2015-02-25  Roland McGrath  <roland@hack.frob.com>
13836         * iconv/tst-iconv3.c (main): Converted to ...
13837         (do_test): ... this.
13838         (TEST_FUNCTION): New macro.
13839         Include test-skeleton.c.
13841         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
13842         (convert): Make function static.
13843         (test_unalign): Likewise.  Add const to argument pointee types.
13844         (main): Replace with static function do_test.
13845         Print "Succeeded." only if RET is zero.
13846         (TEST_FUNCTION): New macro.
13847         Include test-skeleton.c.
13849         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
13850         returns a null pointer.
13852 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13854         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
13855         to __memcpy_ppc only for static builds.
13857 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
13859         [BZ #18020]
13860         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
13861         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
13862         * math/auto-libm-test-in: Add more tests of asinh.
13863         * math/auto-libm-test-out: Regenerated.
13864         * sysdeps/i386/fpu/libm-test-ulps: Update.
13865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13867 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
13869         [BZ #15850]
13870         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
13871         and ip6_mtuinfo definitions here.
13872         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
13873         in this define too.  Update comment.
13875 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
13877         * elf/sprof.c (load_shobj): Tweak error message to match others.
13879 2015-02-24  Kevin Easton  <kevin@guarana.org>
13881         [BZ #16145] (partial fix)
13882         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
13883         to reduce lock contention.
13885 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
13887         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
13888         (struct timex): Update time comment.
13889         (ADJ_SETOFFSET): Define.
13891 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13893         [BZ #18019]
13894         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13895         2**56 not 2**28 as threshold for log (2x) formula.
13896         * math/auto-libm-test-in: Add more tests of acosh.
13897         * math/auto-libm-test-out: Regenerated.
13898         * sysdeps/i386/fpu/libm-test-ulps: Update.
13899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13901 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13903         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
13904         parenthesis around the buf assignment.
13905         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
13907 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
13909         [BZ #16783]
13910         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
13911         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
13912         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
13913         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13914         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13915         * math/libm-test.inc (scalb_test_data): Add more tests.
13917 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
13919         [BZ #17916]
13920         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
13921         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
13923 2015-02-24  Eric Rannaud  <e@nanocritical.com>
13925         [BZ #17523]
13926         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
13927         * io/bits/fcntl2.h (open): Use it.
13928         (openat): Likewise.
13929         * io/open.c (__libc_open): Likewise.
13930         * io/open64.c (__libc_open64): Likewise.
13931         * io/open64_2.c (__open64_2): Likewise.
13932         * io/open_2.c (__open_2): Likewise.
13933         * io/openat.c (__openat): Likewise.
13934         * io/openat64.c (__openat64): Likewise.
13935         * io/openat64_2.c (__openat64_2): Likewise.
13936         * io/openat_2.c (__openat_2): Likewise.
13937         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13938         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13939         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13940         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13941         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13942         (__open_nocancel): Likewise.
13943         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13944         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13945         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13947 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13949         [BZ #14841]
13950         * resolv/gethnamaddr.c (getanswer): Skip logging if
13951         RES_USE_DNSSEC is set.
13952         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13954 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13956         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13958 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13960         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13961         201304L, for Unicode 7.
13963 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13965         [BZ #17836]
13966         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13967         shared library.  Add gmon-start.os otherwise.
13968         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13969         $(objpfx)gmon-start.os if builing shared library.
13970         ($(objpfx)g$(static-start-installed-name)): Likewise.
13972 2015-02-23  Andreas Schwab  <schwab@suse.de>
13974         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13976 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13978         [BZ #17269]
13979         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13980         (enlarge_userbuf): Likewise.
13982 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13984         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13985         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13986         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13987         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13989 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13991         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13992         expression inside statement expression.
13994 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13996         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13997         <sysdeps/nptl/lowlevellock.h> and remove macros and
13998         functions that are now defined there.
13999         (SYS_futex): Remove.
14000         (lll_compare_and_swap): Remove.
14001         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14003 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #17999]
14006         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14007         instead of scandirat.
14008         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14009         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14010         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14011         __scandirat.
14012         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14013         (__scandirat): Declare.  Use libc_hidden_proto.
14014         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14015         Remove variable.
14016         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14018 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #15319]
14021         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14022         (MO): New macro.
14023         (__ieee754_atan2): For results with small absolute value, force
14024         underflow exception and remove excess range and precision from
14025         return value.
14026         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14027         (MO): New macro.
14028         (__ieee754_atan2f): For results with small absolute value, force
14029         underflow exception and remove excess range and precision from
14030         return value.
14031         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14032         (MO): New macro.
14033         (__atan): For results with small absolute value, force underflow
14034         exception and remove excess range and precision from return value.
14035         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14036         (MO): New macro.
14037         (__atanf): For results with small absolute value, force underflow
14038         exception and remove excess range and precision from return value.
14039         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14040         <math.h>.
14041         (__ieee754_atan2): Force underflow exception for results with
14042         small absolute value.
14043         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14044         <math_private.h>.
14045         (atan): Force underflow exception for results with small absolute
14046         value.
14047         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14048         (__atanf): Force underflow exception for results with small
14049         absolute value.
14050         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14051         <math.h>.
14052         (__atanl): Force underflow exception for results with small
14053         absolute value.
14054         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14055         (__atanl): Force underflow exception for results with small
14056         absolute value.
14057         * sysdeps/x86/fpu/bits/mathinline.h
14058         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14059         (__ieee754_atan2): Only define inline for long double.
14060         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14061         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14062         * math/auto-libm-test-in: Do not mark underflow exceptions as
14063         possibly missing for bug 15319.  Add more tests of atan2.
14064         * math/auto-libm-test-out: Regenerated.
14065         * math/libm-test.inc (casin_test_data): Do not mark underflow
14066         exceptions as possibly missing for bug 15319.
14067         (casinh_test_data): Likewise.
14068         * sysdeps/i386/fpu/libm-test-ulps: Update.
14070 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14072         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14073         * sysdeps/mips/bits/endian.h: Fix comments.
14075 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14077         [BZ #17996]
14078         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14079         (hdestroy_r): Likewise.
14080         (hsearch_r): Likewise.
14081         (__hcreate_r): Declare and use libc_hidden_proto.
14082         (__hdestroy_r): Likewise.
14083         (__hsearch_r): Likewise.
14084         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14085         (hcreate): Call __hcreate_r instead of hcreate_r.
14086         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14087         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14088         as weak alias of __hcreate_r.
14089         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14090         __hdestroy_r.
14091         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14092         __hsearch_r.
14093         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14094         Remove variable.
14095         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14096         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14097         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14098         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14100 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14102         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14103         arena_lock into a single arena_get.
14105 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14107         * dl-reloc.c: Inlucde libc-internal.h.
14108         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14109         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14110         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14111         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14112         (grow_heap): Likewise.
14113         * malloc/malloc.c: Include libc-internal.h.
14114         (do_check_malloc): Call powerof2.
14115         (sysmalloc): Use pagesize. Call ALIGN_UP.
14116         (systrim): Use pagesize.
14117         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14118         (__libc_valloc): Use pagesize.
14119         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14121 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14123         [BZ #17991]
14124         * include/sys/resource.h (__getrlimit64): Declare.  Use
14125         libc_hidden_proto.
14126         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14127         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14128         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14129         getrlimit64.
14130         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14131         __getrlimit64.
14132         [!getrlimit64] (getrlimit64): Define as weak alias of
14133         __getrlimit64.  Use libc_hidden_weak.
14134         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14135         using __getrlimit64 not __new_getrlimit64.
14136         (__GI_getrlimit64): Likewise.
14137         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14138         Likewise.
14139         (__GI_getrlimit64): Likewise.
14140         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14142         (getrlimit): Add __getrlimit64 alias.
14143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14144         Likewise.
14145         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14146         Remove variable.
14147         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14148         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14150 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14152         * libio/fileops.c: Add missing sys/mman.h
14153         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14155 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14157         * manual/math.texi (Errors in Math Functions): Clarify goals
14158         regarding inexact and underflow exceptions.
14160 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14162         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14163         * sysdeps/mips/memset.S: Ditto.
14165 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14167         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14169 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14171         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14172         (__v1longjmp): Remove versioned symbol.
14173         (__v1siglongjmp): Remove alias and versioned symbol.
14174         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14175         (__v2siglongjmp): Likewise.
14177 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14179         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14181 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14183         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14185 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14187         [BZ #17987]
14188         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14189         zero result does not depend on the sign resulting from
14190         subtraction.
14191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14192         Likewise.
14193         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14194         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14195         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14196         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14197         * math/libm-test.inc (remquo_test_data): Add more tests.
14199 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14201         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14202         Problem reported by J William Piggott.
14204 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14206         [BZ #17978]
14207         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14208         products 4 * y and 2 * y where those would overflow.
14209         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14210         Likewise.
14211         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14212         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14213         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14214         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14215         * math/libm-test.inc (remquo_test_data): Add more tests.
14217         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14219         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14220         [defined _COMPILING_NEWLIB].
14221         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14222         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14224         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14225         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14227 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14229         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14230         acquired.
14232 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14234         [BZ #17792]
14235         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14236         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14237         HOST_STACK_END_ADDR): Likewise.
14239 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14241         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14242         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14243         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14245 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14247         * sysdeps/generic/c++-types.data: New file.
14248         * sysdeps/generic/ld.abilist: New file.
14249         * sysdeps/generic/libBrokenLocale.abilist: New file.
14250         * sysdeps/generic/libanl.abilist: New file.
14251         * sysdeps/generic/libc.abilist: New file.
14252         * sysdeps/generic/libcrypt.abilist: New file.
14253         * sysdeps/generic/libdl.abilist: New file.
14254         * sysdeps/generic/libm.abilist: New file.
14255         * sysdeps/generic/libpthread.abilist: New file.
14256         * sysdeps/generic/libresolv.abilist: New file.
14257         * sysdeps/generic/librt.abilist: New file.
14259 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14261         [BZ #17569]
14262         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14263         Compute absolute value of x as modified by fmod, not original
14264         value of x.
14265         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14266         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14267         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14268         RUN_TEST_ffI_f1_mod8.
14269         (remquo_test_data): Add more tests.
14271 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14273         * sysdeps/init_array/pt-crti.S: New file.
14275 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14277         [BZ #17967]
14278         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14279         __builtin_fmaf instead of relying on contraction of a * b + c.
14281 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14283         [BZ #17969]
14284         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14285         node.
14287 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14289         [BZ #17964]
14290         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14291         __builtin_fma instead of relying on contraction of a * b + c.
14293 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14295         * Makeconfig (ASFLAGS): Add -Werror=undef.
14296         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14297         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14298         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14300         * Makeconfig (after-link): New variable.
14301         (+link-pie, +link-pie-tests): Use it.
14302         (+link-static, +link-static-tests): Likewise.
14303         (+link, +link-tests): Likewise.
14304         * Makerules (build-module, build-module-asneeded): Likewise.
14305         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14306         Likewise.
14307         * elf/Makefile ($(objpfx)ld.so): Likewise.
14309 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14311         [BZ #17965]
14312         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14313         both struct timeval and struct timespec.
14315 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14317         [BZ #16560]
14318         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14319         and redefine.
14320         (__ieee754_exp2l): Do not multiply small fractional parts by
14321         M_LN2l.
14322         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14323         small argument.
14324         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14325         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14326         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14327         * math/auto-libm-test-in: Add more tests of exp2.
14328         * math/auto-libm-test-out: Regenerated.
14330 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14332         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14333         unaligned path.
14335 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14337         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14338         little endian.
14340 2015-02-12  Andreas Schwab  <schwab@suse.de>
14342         [BZ #15790]
14343         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14344         Filter out elision flags from value returned in kind.
14345         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14346         * nptl/tst-pthread-mutexattr.c: New file.
14348 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14350         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14351         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14352         into gnu-gnu, and update comment to refer to abi-tags.
14354 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #15467]
14357         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14358         (__sincos): Set errno to EDOM for infinite argument.
14359         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14360         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14361         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14362         (__sincosl): Set errno to EDOM for infinite argument.
14363         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14364         (__sincosl): Set errno to EDOM for infinite argument.
14365         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14366         (__sincosl): Set errno to EDOM for infinite argument.
14367         * math/libm-test.inc (sincos_test_data): Test errno setting.
14369 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14371         * string/strxfrm_l.c: Remove #define STRCMP.
14372         * string/strcoll_l.c: Remove #define STRLEN.
14373         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14374         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14376 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14378         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14379         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14380         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14381         * sysdeps/mips/mips64/Makefile: ... here.
14382         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14383         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14384         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14385         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14386         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14387         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14388         * sysdeps/mips/mips64/n64/Implies: Likewise.
14390 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14392         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14393         <sys/time.h>, <string.h>, and <errno.h>.
14394         (dest_offset, dest_address, value, zero): Remove unused variables.
14395         (ldouble): Remove typedef.
14396         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14397         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14398         1).  Fix code style.
14399         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14400         (check): Function removed.
14401         (CHECK): New macro.
14402         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14403         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14404         Don't call set_sigaction_FP and remove_sigaction_FP here.
14405         (ldouble_test): Just use 'long double' as macro argument, no need for
14406         the 'ldouble' typedef.
14407         (do_test): Set up SIGFPE handler at start, using plain signal rather
14408         than sigaction.  Fix code style.
14410 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14412         [BZ #17949]
14413         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14414         jump label.
14416 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14418         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14419         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14421         * sysdeps/powerpc/configure.ac: Remove file.
14422         * sysdeps/powerpc/configure: Likewise.
14424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14425         [sysdep_routines]: Remove wordcopy-power6 object.
14426         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14427         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14429         (__memmove_ppc32): Likewise.
14430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14431         file.
14432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14433         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14434         Remove preprocessor.
14436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14437         [sysdep_routines]: Remove wide chars objects.
14438         [wcsmbs]: New rule for wide char objects.
14440         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14441         Remove wordcopy-power6 obejct.
14442         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14443         Use local call for wordcopy and memcpy symbols.
14444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14445         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14446         implementation for loader.
14447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14450         Remove wordcopy-power7 object.
14451         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14452         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14453         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14454         (_wordcopy_fwd_dest_aligned): Likewise.
14455         (_wordcopy_bwd_aligned): Likewise.
14456         (_wordcopy_bwd_dest_aligned): Likewise.
14458         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14459         Rewrite to call __memmove_ppc instead of include default
14460         implementation.
14462         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14463         Remove wide chars objects.
14464         [wcsmbs]: New rule for wide char objects.
14466 2015-02-09  Andreas Schwab  <schwab@suse.de>
14468         [BZ #17912]
14469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14470         in terms of __O_DIRECTORY.
14472 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14474         * time/getdate.c: Include <stdbool.h>.
14475         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14476         call PTR_MANGLE.
14477         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14478         PTR_DEMANGLE.
14480 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14482         Add ersatz _Static_assert on older C hosts
14483         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14484         pre-C11 C platform that is not known to support _Static_assert.
14486 2015-02-07  Richard Braun  <rbraun@sceen.net>
14488         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14489         sigstate.
14490         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14492 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14494         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14495         priority against unexistent AIO_PRIO_DELTA_MAX.
14496         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14497         instead of int.
14498         * misc/fchflags.c (fchflags): Likewise.
14499         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14500         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14501         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14502         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
14503         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
14504         Declare macros.
14505         [__USE_MISC] (chflags, fchflags): Declare functions.
14506         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
14507         EINVAL when nfds is greater than FD_SETSIZE.
14508         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
14509         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
14510         45.
14511         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
14512         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
14513         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
14514         MACH_RCV_TIMED_OUT.
14515         * hurd/hurd/signal.h (_hurd_self_sigstate,
14516         _hurd_critical_section_lock, _hurd_critical_section_unlock):
14517         Explicit casts from void *.
14518         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
14519         * abi-tags: Rename gnu-gnu os into gnu.
14521         [BZ #4719]
14522         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
14523         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
14524         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
14525         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
14526         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
14527         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
14529         [BZ #17944]
14530         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
14531         duplicates ADDR->sun_path with sockaddr LEN limitation.
14532         * sysdeps/mach/hurd/connect.c: Include <string.h>
14533         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
14534         * sysdeps/mach/hurd/sendmsg.c: Likewise.
14535         * sysdeps/mach/hurd/sendto.c: Likewise.
14536         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
14537         implementing it by hand.
14539 2015-02-06  Roland McGrath  <roland@hack.frob.com>
14541         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
14542         Use sfi_breg on ldr.
14543         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
14544         Likewise.
14546         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14547         it's defined.
14548         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
14549         Test SIGSETXID only if it's defined.
14551         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
14553         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
14554         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
14556         * nptl/tst-align2.c: Moved ...
14557         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
14558         * nptl/Makefile (tests): Remove tst-align2.
14559         * sysdeps/unix/sysv/linux/Makefile
14560         [$(subdir) = nptl] (tests): Add tst-align-clone.
14561         * nptl/tst-getpid1.c: Moved ...
14562         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
14563         * nptl/tst-getpid2.c: Moved ...
14564         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
14565         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
14566         * sysdeps/unix/sysv/linux/Makefile
14567         [$(subdir) = nptl] (tests): ... here.
14568         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
14569         * sysdeps/unix/sysv/linux/Makefile
14570         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
14572         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
14573         Drop trailing \n from perror argument.  Use return rather than exit.
14575         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
14576         on [SA_SIGINFO].
14577         * nptl/tst-cancel21.c (do_test): Likewise.
14578         * debug/tst-backtrace6.c: Include <signal.h> first thing.
14579         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
14580         [!SA_SIGINFO]: Make it a stub test.
14582         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
14583         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
14585         * posix/tst-getlogin.c: Move to ...
14586         * login/tst-getlogin.c: ... here.
14587         * posix/Makefile (tests): Move tst-getlogin to ...
14588         * login/Makefile (tests): ... here.
14590         * libio/tst-atime.c (do_test): Move local variables SV and E
14591         inside [ST_NOATIME] conditional.
14593         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
14595         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
14597         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
14598         (wait_code): New function replaces macro.
14599         Call nanosleep rather than syscall.
14601         * nptl/pt-system.c: Rewritten.  Put everything under
14602         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14603         Use IFUNC to redirect when possible.
14605         * nptl/pt-longjmp.c: Rewritten.  Put everything under
14606         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14607         Use IFUNC to redirect when possible.
14609         * nptl/pt-fork.c: Rewritten.  Put everything under
14610         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
14611         Use IFUNC to redirect when possible.
14612         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
14614         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
14615         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
14616         unconditionally nowadays.  This included the only reference to
14617         __vdso_clock_gettime that appears outside libc proper.
14618         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
14619         Remove version set (containing only __vdso_clock_gettime).
14620         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
14621         Add attribute_hidden.
14622         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
14623         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
14624         libc_hidden_data_def.
14625         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14626         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14628         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
14629         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
14630         setrpcent, and getrpcport to ...
14631         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
14632         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
14633         getrpcbynumber_r, and getrpcent_r to ...
14634         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
14635         * inet/getrpcbyname.c: Moved ...
14636         * sunrpc/getrpcbyname.c: ... here.
14637         * inet/getrpcbyname_r.c: Moved ...
14638         * sunrpc/getrpcbyname_r.c: ... here.
14639         * inet/getrpcbynumber.c: Moved ...
14640         * sunrpc/getrpcbynumber.c: ... here.
14641         * inet/getrpcbynumber_r.c: Moved ...
14642         * sunrpc/getrpcbynumber_r.c: ... here.
14643         * inet/getrpcent.c: Moved ...
14644         * sunrpc/getrpcent.c: ... here.
14645         * inet/getrpcent_r.c: Moved ...
14646         * sunrpc/getrpcent_r.c: ... here.
14647         * inet/Makefile (routines): Move those to ...
14648         * sunrpc/Makefile (routines): ... here.
14649         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
14650         the $(subdirs) list.
14651         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
14652         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
14653         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
14654         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
14656         * elf/Makefile (routines): Include $(all-dl-routines), not just
14657         $(dl-routines).
14658         (rtld-routines): Likewise.  Use = rather than :=.
14659         * sysdeps/aarch64/Makefile [$(subdir) = elf]
14660         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
14661         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
14662         * sysdeps/arm/Makefile: Likewise.
14663         * sysdeps/i386/Makefile: Likewise.
14664         * sysdeps/x86_64/Makefile: Likewise.
14665         * sysdeps/hppa/Makefile [$(subdir) = elf]
14666         (sysdep_routines, sysdep-rtld-routines): Don't add
14667         $(sysdep-dl-routines) to these.
14668         * sysdeps/ia64/Makefile: Likewise.
14669         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
14670         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
14671         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
14672         Don't add dl-static to these; sysdep-dl-routines alone is enough.
14673         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
14674         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
14675         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
14676         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
14677         * sysdeps/powerpc/Makefile [$(subdir) = elf]
14678         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
14679         these; sysdep-dl-routines alone is enough.
14681 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #17932]
14684         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
14685         where multiplication results in zero and third argument is finite
14686         and nonzero.
14687         * math/auto-libm-test-in: Add more tests of fma.
14688         * math/auto-libm-test-out: Regenerated.
14690         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
14691         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
14692         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
14693         (_FP_CMP_EQ): Likewise.
14694         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
14696         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
14697         extra argument CHECK_NAN.  Redefine as wrapper around
14698         _FP_EXTEND_CNAN.
14700 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
14702         * version.h (RELEASE): Set to "stable".
14703         (VERSION): Set to "2.21"
14704         * include/features.h (__GLIBC_MINOR__): Set to 21.
14706         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
14708 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14709             Paul Eggert  <eggert@cs.ucla.edu>
14711         [BZ #16618]
14712         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
14713         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
14714         size in bytes. Store needed elements in wpmax. Use needed size
14715         in bytes for extend_alloca.
14717 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
14719         * manual/install.texi: Latest tested versions are GCC 4.9.2,
14720         binutls 2.25, and texinfo 5.2.
14721         * INSTALL: Regenerate.
14722         * sysdeps/nios2/configure: Regenerate.
14723         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
14724         * manual/contrib.texi: Update.
14725         * po/be.po: Update.
14726         * po/bg.po: Update.
14727         * po/ca.po: Update.
14728         * po/cs.po: Update.
14729         * po/da.po: Update.
14730         * po/de.po: Update.
14731         * po/el.po: Update.
14732         * po/eo.po: Update.
14733         * po/es.po: Update.
14734         * po/fi.po: Update.
14735         * po/fr.po: Update.
14736         * po/gl.po: Update.
14737         * po/hr.po: Update.
14738         * po/hu.po: Update.
14739         * po/ia.po: Update.
14740         * po/id.po: Update.
14741         * po/it.po: Update.
14742         * po/ja.po: Update.
14743         * po/ko.po: Update.
14744         * po/lt.po: Update.
14745         * po/nb.po: Update.
14746         * po/nl.po: Update.
14747         * po/pl.po: Update.
14748         * po/pt_BR.po: Update.
14749         * po/ru.po: Update.
14750         * po/rw.po: Update.
14751         * po/sk.po: Update.
14752         * po/sl.po: Update.
14753         * po/sv.po: Update.
14754         * po/tr.po: Update.
14755         * po/uk.po: Update.
14756         * po/vi.po: Update.
14757         * po/zh_CN.po: Update.
14758         * po/zh_TW.po: Update.
14760         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
14761         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
14762         * sysdeps/hppa/dl-irel.h: Remove #warning.
14763         * sysdeps/hppa/entry.h: Provide prototype for
14764         __canonicalize_funcptr_for_compare and cast argument.
14765         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
14766         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
14767         * sysdeps/hppa/sotruss-lib.c: New file.
14768         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
14769         (atomic_compare_and_exchange_val_acq): Use __typeof__.
14770         (atomic_compare_and_exchange_bool_acq): Likewise.
14771         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
14772         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
14774         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
14775         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
14776         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
14778 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
14780         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
14781         called function in non-PIC case.
14783 2015-01-31  David S. Miller  <davem@davemloft.net>
14785         * sysdeps/sparc/sparc32/bits/atomic.h
14786         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
14787         unlock not after it.
14788         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
14789         volatile register usage warnings from the compiler.
14791         * sysdeps/sparc/nptl/sem_init.c: Delete.
14792         * sysdeps/sparc/nptl/sem_post.c: Delete.
14793         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
14794         * sysdeps/sparc/nptl/sem_wait.c: Delete.
14795         * sysdeps/sparc/sparc32/sem_init.c: New file.
14796         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
14797         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
14798         padding explicitly initialized.
14799         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
14800         padding for in-semaphore spinlock.
14801         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
14802         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
14803         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
14804         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
14805         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
14806         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
14807         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
14808         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
14809         version.
14810         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
14811         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
14813 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
14815         [BZ #17801]
14816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14817         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
14818         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
14819         New.
14820         (index_AVX_Fast_Unaligned_Load): Likewise.
14821         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
14822         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
14823         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
14824         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
14825         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
14826         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
14827         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
14828         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
14829         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
14831 2015-01-29  Andreas Schwab  <schwab@suse.de>
14833         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
14835 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
14837         [BZ #17892]
14838         * nscd/nscd_stat.c (send_stats): Initialize DATA.
14840 2015-01-28  Martin Sebor  <msebor@redhat.com>
14842         * math/README.libm-test: Clarify. Add "How to read the test output."
14844 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
14846         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
14847         Define to 0.
14849 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
14851         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
14852         (__HAVE_64B_ATOMICS): Define to 0.
14854 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14856         [BZ #17885]
14857         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
14858         value to set as new flag.
14860         [BZ #16576]
14861         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
14862         and use _ARCH_PPCSQ instead.
14863         (__ieee754_sqrt): Likewise.
14864         (__ieee754_sqrtf): Likewise.
14865         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
14866         _ARCH_PPCSQ is defined.
14867         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
14868         fsqrt instruction.
14869         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
14870         _ARCH_PPCSQ is defined.
14871         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
14872         fsqrts instruction.
14873         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
14875 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14877         * iconv/loop.c: Suppress array out of bound warning caused by GCC
14878         bug (GCC BZ #64739).
14880 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
14882         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
14883         Mark _retval as used.
14884         (lll_futex_wake_unlock): Likewise.
14885         (lll_futex_timed_wait_requeue_pi): Likewise.
14887         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14888         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
14889         register variables.
14891         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
14892         libm_hidden_def.
14894         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
14895         (__bswap_64): Mark as __always_inline.
14897 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
14899         [BZ #15378]
14900         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
14901         when none of the search directories exist.
14903 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14905         [BZ #17869]
14906         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
14907         power8 in .machine directive.
14909         [BZ #17868]
14910         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
14911         set dependency from opd value.
14913 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14916         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
14917         architecture.
14919 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
14921         [BZ #17870]
14922         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
14923         with uint64_t.
14924         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
14925         (uint64_t) 1.
14926         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
14927         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
14928         Replace 1UL with (uint64_t) 1.
14929         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
14930         int with uint64_t.
14932 2015-01-23  Roland McGrath  <roland@hack.frob.com>
14934         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
14935         (if_freenameindex): Likewise.
14937         * resource/getrlimit64.c: Add missing libc_hidden_def.
14939 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14941         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14942         __label__.
14943         (_FP_FMA): Likewise.
14944         (_FP_TO_INT_ROUND): Likewise.
14945         (_FP_FROM_INT): Likewise.
14947 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14949         [BZ #16418]
14950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14951         Make code racy and cancel safe.
14953 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14955         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14956         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14957         attribution.
14959         * pwd/tst-getpw.c: Rewrite.
14961         [BZ #17702]
14962         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14963         (modules-names): Add moddummy1 and moddummy2.
14964         ($(objpfx)tst-rec-dlopen): Define.
14965         * dlfcn/moddummy1.c: New file.
14966         * dlfcn/moddummy2.c: New file.
14967         * dlfcn/tst-rec-dlopen.c: New file.
14968         * elf/dl-cache.c (_dl_load_cache_lookup):
14969         Return char*. Copy result with alloca/strcpy/strdup.
14970         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14971         returns char*. Free cached. If not saving realname
14972         free cached.
14973         * elf/dl-open.c (dl_open_worker): Do not assert that
14974         _r_debug->r_state is RT_CONSISTENT.
14975         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14976         returns char*.
14978 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14979             Carlos O'Donell  <carlos@redhat.com>
14981         [BZ #12674]
14982         * nptl/sem_waitcommon.c: New file.
14983         * nptl/sem_wait.c: Include sem_waitcommon.c.
14984         (__sem_wait_cleanup, do_futex_wait): Remove.
14985         (__new_sem_wait): Adapt.
14986         (__new_sem_trywait): New function.
14987         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14988         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14989         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14990         (sem_timedwait): Adapt.
14991         * nptl/sem_post.c (__new_sem_post): Adapt.
14992         (futex_wake): New function.
14993         (__old_sem_post): Add release MO fence.
14994         * nptl/sem_open.c (sem_open): Adapt.
14995         * nptl/sem_init.c (__new_sem_init): Adapt.
14996         (futex_private_if_supported): New function.
14997         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14998         (__old_sem_getvalue): Add using previous code.
14999         * sysdeps/nptl/internaltypes.h: Adapt.
15000         * nptl/tst-sem13.c (do_test): Adapt.
15001         * nptl/tst-sem11.c (main): Adapt.
15002         * nptl/sem_trywait.c: Remove.
15003         * nptl/DESIGN-sem.txt: Remove.
15004         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15005         (gen-as-const-headers): Remove structsem.sym.
15006         * nptl/structsem.sym: Remove.
15007         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15008         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15009         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15010         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15011         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15012         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15013         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15014         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15015         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15016         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15017         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15018         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15019         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15020         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15021         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15022         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15023         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15024         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15025         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15026         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15027         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15028         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15030 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15032         * INSTALL: Regenerated.
15034         * po/libc.pot: Regenerated.
15036 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15037             Sandra Loosemore  <sandra@codesourcery.com>
15038             Andrew Jenner  <andrew@codesourcery.com>
15039             Joseph Myers  <joseph@codesourcery.com>
15040             Nathan Sidwell  <nathan@codesourcery.com>
15042         * NEWS: Mention new Nios II port.
15043         * sysdeps/nios2/Implies: New file.
15044         * sysdeps/nios2/Makefile: New file.
15045         * sysdeps/nios2/Subdirs: New file.
15046         * sysdeps/nios2/Versions: New file.
15047         * sysdeps/nios2/__longjmp.S: New file.
15048         * sysdeps/nios2/abort-instr.h: New file.
15049         * sysdeps/nios2/backtrace.c: New file.
15050         * sysdeps/nios2/bits/endian.h: New file.
15051         * sysdeps/nios2/bits/fenv.h: New file.
15052         * sysdeps/nios2/bits/link.h: New file.
15053         * sysdeps/nios2/bits/setjmp.h: New file.
15054         * sysdeps/nios2/bsd-_setjmp.S: New file.
15055         * sysdeps/nios2/bsd-setjmp.S: New file.
15056         * sysdeps/nios2/configure: New generated file.
15057         * sysdeps/nios2/configure.ac: New file.
15058         * sysdeps/nios2/crti.S: New file.
15059         * sysdeps/nios2/crtn.S: New file.
15060         * sysdeps/nios2/dl-init.c: New file.
15061         * sysdeps/nios2/dl-machine.h: New file.
15062         * sysdeps/nios2/dl-sysdep.h: New file.
15063         * sysdeps/nios2/dl-tls.h: New file.
15064         * sysdeps/nios2/dl-trampoline.S: New file.
15065         * sysdeps/nios2/gccframe.h: New file.
15066         * sysdeps/nios2/gmp-mparam.h: New file.
15067         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15068         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15069         * sysdeps/nios2/ldsodefs.h: New file.
15070         * sysdeps/nios2/libc-tls.c: New file.
15071         * sysdeps/nios2/libm-test-ulps: New file.
15072         * sysdeps/nios2/machine-gmon.h: New file.
15073         * sysdeps/nios2/math-tests.h: New file.
15074         * sysdeps/nios2/math_private.h: New file.
15075         * sysdeps/nios2/memusage.h: New file.
15076         * sysdeps/nios2/nptl/Makefile: New file.
15077         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15078         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15079         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15080         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15081         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15082         * sysdeps/nios2/nptl/tls.h: New file.
15083         * sysdeps/nios2/preconfigure: New file.
15084         * sysdeps/nios2/s_fma.c: New file.
15085         * sysdeps/nios2/s_fmaf.c: New file.
15086         * sysdeps/nios2/setjmp.S: New file.
15087         * sysdeps/nios2/sfp-machine.h: New file.
15088         * sysdeps/nios2/sotruss-lib.c: New file.
15089         * sysdeps/nios2/stackguard-macros.h: New file.
15090         * sysdeps/nios2/stackinfo.h: New file.
15091         * sysdeps/nios2/start.S: New file.
15092         * sysdeps/nios2/sysdep.h: New file.
15093         * sysdeps/nios2/tls-macros.h: New file.
15094         * sysdeps/nios2/tst-audit.h: New file.
15095         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15096         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15097         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15098         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15099         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15100         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15101         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15102         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15103         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15104         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15105         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15106         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15107         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15108         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15109         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15110         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15111         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15112         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15113         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15114         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15115         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15116         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15117         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15118         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15119         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15120         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15121         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15122         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15123         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15124         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15125         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15126         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15127         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15128         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15129         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15130         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15131         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15132         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15133         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15134         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15135         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15136         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15137         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15138         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15140 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15142         [BZ #17844]
15143         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15144         (getutent): Use weak_alias in non SHARED case
15145         and default_symbol_version in SHARED case.
15146         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15147         (getutent_r, pututline): Likewise.
15148         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15149         (getutid): Likewise.
15150         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15151         (getutid_r): Likewise.
15152         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15153         (getutline): Likewise.
15154         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15155         (getutline_r): Likewise.
15156         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15157         (updwtmp): Likewise.
15159 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15161         [BZ #17848]
15162         * sysdeps/s390/s390-32/memcmp.S
15163         (memcmp_g5): Rename to __memcmp_g5.
15164         * sysdeps/s390/s390-32/memcpy.S
15165         (memcpy_g5): Rename to __memcpy_g5.
15166         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15167         (memcpy_mvcle) Rename to __memcpy_mvcle.
15168         * sysdeps/s390/s390-32/memset.S
15169         (memset_g5): Rename to __memset_g5.
15170         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15171         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15172         and use prefixed functions.
15173         * sysdeps/s390/s390-32/multiarch/memcmp.S
15174         (memcmp_z196): Rename to __memcmp_z196.
15175         (memcmp_z10): Rename to __memcmp_z10.
15176         (memcmp): Set alias to __memcmp_g5.
15177         (bcmp): Set alias to __memcmp_g5.
15178         * sysdeps/s390/s390-32/multiarch/memcpy.S
15179         (memcpy_z196): Rename to __memcpy_z196.
15180         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15181         (memcpy_z10): Rename to __memcpy_z10.
15182         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15183         (memcpy): Set alias to __memcpy_g5.
15184         * sysdeps/s390/s390-32/multiarch/memset.S
15185         (memset_z196): Rename to __memset_z196.
15186         Jump to __memset_mvcle instead of memset_mvcle.
15187         (memset_z10): Rename to __memset_z10.
15188         Jump to __memset_mvcle instead of memset_mvcle.
15189         (memset_mvcle) Rename to __memset_mvcle.
15190         (memset): Set alias to __memset_g5.
15191         * sysdeps/s390/s390-64/memcmp.S
15192         (memcmp_z900): Rename to __memcmp_z900.
15193         * sysdeps/s390/s390-64/memcpy.S
15194         (memcpy_z900): Rename to __memcpy_z900.
15195         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15196         (memcpy_mvcle) Rename to __memcpy_mvcle.
15197         * sysdeps/s390/s390-64/memset.S
15198         (memset_z900): Rename to __memset_z900.
15199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15200         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15201         and use prefixed functions.
15202         * sysdeps/s390/s390-64/multiarch/memcmp.S
15203         (memcmp_z196): Rename to __memcmp_z196.
15204         (memcmp_z10): Rename to __memcmp_z10.
15205         (memcmp): Set alias to __memcmp_z900.
15206         (bcmp): Set alias to __memcmp_z900.
15207         * sysdeps/s390/s390-64/multiarch/memcpy.S
15208         (memcpy_z196): Rename to __memcpy_z196.
15209         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15210         (memcpy_z10): Rename to __memcpy_z10.
15211         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15212         (memcpy): Set alias to __memcpy_z900.
15213         * sysdeps/s390/s390-64/multiarch/memset.S
15214         (memset_z196): Rename to __memset_z196.
15215         Jump to __memset_mvcle instead of memset_mvcle.
15216         (memset_z10): Rename to __memset_z10.
15217         Jump to __memset_mvcle instead of memset_mvcle.
15218         (memset_mvcle) Rename to __memset_mvcle.
15219         (memset): Set alias to __memset_z900.
15221 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15223         [BZ #17748]
15224         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15225         __fesetenv instead of fesetenv.
15227 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15229         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15230         macro.
15232 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15234         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15235         regression on LE.
15237         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15238         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15239         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15240         strncmp-power8 object.
15241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15242         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15243         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15244         * NEWS: Update.
15246 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15247             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15249         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15250         trailing byte check.
15252 2015-01-13  David S. Miller  <davem@davemloft.net>
15254         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15256 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15258         * login/logout.c (logout): Use memset rather than bzero.
15259         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15260         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15261         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15262         (_gethtbyaddr): Likewise.
15263         * locale/programs/simple-hash.c (bcopy): Macro removed.
15265 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15267         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15268         Add strcmp-power8 object.
15269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15270         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15271         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15272         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15273         __strcmp_power8 implementation.
15274         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15275         * NEWS: Update.
15277         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15278         Add strncpy-power8 and stpncpy-power8 objects.
15279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15280         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15281         implementations.
15282         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15283         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15284         __stpncpy_power8 implementation.
15285         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15286         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15287         __strncpy_power8 implementation.
15288         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15289         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15290         * NEWS: Update.
15292         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15293         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15294         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15297         strncat-power8 object.
15298         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15299         __strcat_power8 implementation.
15300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15301         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15302         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15303         optimized strcat for power8.
15305         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15306         strcpy-power8 and stpcpy-power8 objects.
15307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15308         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15309         implementations.
15310         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15311         multiarch stpcpy implementation for POWER8.
15312         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15313         multiarch strcpy implementation for POWER8.
15314         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15315         __strcpy_power8 function.
15316         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15317         stpcpy for POWER8.
15318         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15319         strcpy for POWER8.
15320         * NEWS: Update.
15322 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15324         [BZ #16009]
15325         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15326         weights and rules. Use do_xfrm_cached if data fits in cache,
15327         do_xfrm otherwise.  Moved former main loop to...
15328         * (do_xfrm_cached): New function.
15329         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15330         find_idx, find_position and stack_push.
15331         * (find_idx): New function.
15332         * (find_position): Likewise.
15333         * localedata/sort-test.sh: Added test run for do_xfrm.
15334         * localedata/xfrm-test.c (main): Added command line option
15335         -nocache to run the test with strings that are too large for
15336         the STRXFRM cache.
15338 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15340         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15341         variable to lll_futex_wake call, not the value itself.
15343 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15345         [BZ #17803]
15346         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15347         twom64.  Adjust value to 0x1p-64L.
15348         (__scalblnl): Only return standard underflowing result for K <=
15349         -64 not K <= -63; adjust exponent for underflowing result by 64
15350         not 63.
15351         * math/libm-test.inc (scalbn_test_data): Add more tests.
15352         (scalbln_test_data): Likewise.
15354         [BZ #17834]
15355         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15356         0x1p63L.
15357         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15358         not HX.
15359         * math/libm-test.inc (scalbn_test_data): Add more tests.
15360         (scalbln_test_data): Likewise.
15362 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15363             Stefani Seibold  <stefani@seibold.net>
15365         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15366         (sysdep_routines): Add dl-vdso here, ...
15367         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15368         (sysdep_routines): ... not here.
15369         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15370         fallback when vDSO is not presented.
15371         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15372         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15373         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15374         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15375         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15376         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15377         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15378         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15379         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15381         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15382         fallback configurable symbol when vDSO is not available.
15383         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15384         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15385         be able to redefine fallback symbol when vDSO is not available.
15386         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15387         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15389 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15391         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15392         (TLS_INIT_TP): Add tm_capable initialization.
15393         (TLS_DEFINE_INIT_TP): Likewise.
15394         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15395         TCB.
15396         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15397         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15398         calculation.
15399         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15400         transactoion is lock elision is built and TCB tm_capable is set.
15401         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15403         (INTERNAL_SYSCALL_NCS): Likewise.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15405         (INTERNAL_SYSCALL_NCS): Likewise.
15406         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15408         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15409         for powerpc.
15410         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15411         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15412         and remove it for 32 bits case.
15413         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15415         initialization.
15416         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15417         Disable lock elision with rdlocks if elision is not available.
15419         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15420         (sysdep_routines): Add lock elision objects.
15421         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15422         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15423         [pthread_mutex_t] (__elision): Add field.
15424         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15425         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15426         elision definitions for powerpc.
15427         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15428         implementation of lock elision for powerpc.
15429         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15430         implementation of timed lock elision for powerpc.
15431         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15432         implementation of trylock with lock elision for powerpc.
15433         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15434         implementaion of unlock for lock elision for powerpc.
15435         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15436         automatic enable lock elision for mutexes.
15437         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15438         transaction execution definitions for powerpc.
15439         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15440         definitions.
15441         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15442         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15443         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15444         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15445         * NEWS: Update.
15447 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15449         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15450         for #include of <shm-directory.h>.
15452 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15454         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15455         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15457 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15459         [BZ #17791]
15460         * NEWS: Mention bug fix.
15461         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15462         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15463         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15465 2015-01-09  Torvald Riegel <triegel@redhat.com>
15467         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15469 2015-01-09  Torvald Riegel <triegel@redhat.com>
15471         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15473 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15475         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15476         pointer and cast to uintptr_t.
15478 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15480         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15481         removed.
15482         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15484 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15486         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15487         of 0.
15489 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15491         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15492         <nptl/pthreadP.h> instead.
15493         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15495         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15496         already defined.
15497         [__SIGRTMIN] (init): Function removed.
15498         [__SIGRTMIN] (initialized): Variable removed.
15499         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15500         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15501         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15502         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
15503         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
15504         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
15505         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
15506         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
15507         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
15508         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
15509         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
15510         * sysdeps/nptl/allocrtsig.c: New file.
15511         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
15512         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
15513         * sysdeps/generic/testrtsig.h: File removed.
15515         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
15516         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
15518         * nptl/nptl-init.c (pthread_functions): Conditionalize
15519         .ptr__nptl_setxid initialization on [SIGSETXID].
15521         * sysdeps/nptl/sys/procfs.h: New file.
15522         * nptl_db/Makefile (headers): Add it.
15523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
15525         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
15526         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
15527         * nptl/pthread_attr_setaffinity.c: Include it.
15528         * nptl/pthread_setattr_default_np.c: Likewise.
15529         * nptl/check-cpuset.h: New file.
15531 2015-01-08  Richard Henderson  <rth@redhat.com>
15533         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
15534         (CFLAGS-tst-execstack-prog.c): Likewise.
15535         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
15537 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
15538             Sandra Loosemore  <sandra@codesourcery.com>
15539             Andrew Jenner  <andrew@codesourcery.com>
15540             Joseph Myers  <joseph@codesourcery.com>
15541             Nathan Sidwell  <nathan@codesourcery.com>
15543         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
15544         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15545         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
15546         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
15547         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
15548         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
15549         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
15550         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
15551         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
15552         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
15553         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
15554         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
15555         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
15556         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
15557         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
15558         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
15559         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
15561 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15563         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
15564         timespec struct member in syscall macro.
15565         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15566         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
15567         first timeval struct member in syscall macro.
15568         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
15570 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
15572         [BZ #17748]
15573         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
15574         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
15575         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
15576         __feupdateenv and define as weak alias of __feupdateenv.  Use
15577         libm_hidden_weak.
15578         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
15579         libm_hidden_def.
15580         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
15581         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
15582         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15583         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15584         libm_hidden_def.
15585         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
15586         __feupdateenv and define as weak alias of __feupdateenv.  Use
15587         libm_hidden_weak.
15588         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
15589         libm_hidden_def.
15590         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
15591         __feupdateenv and define as weak alias of __feupdateenv.  Use
15592         libm_hidden_weak.
15593         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
15594         libm_hidden_def.
15595         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15596         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15597         (__feupdateenv): Likewise.
15598         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
15599         __feupdateenv and define as weak alias of __feupdateenv.  Use
15600         libm_hidden_weak.
15601         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15602         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
15603         libm_hidden_def.
15604         * sysdeps/tile/math_private.h (__feupdateenv): New inline
15605         function.
15606         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
15607         libm_hidden_def.
15608         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
15609         __feupdateenv instead of feupdateenv.
15610         (default_libc_feupdateenv_test): Likewise.
15611         (libc_feresetround_ctx): Likewise.
15613 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15615         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
15616         prototype.
15618 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
15620         * posix/regcomp.c (parse_bracket_exp): Initialize type to
15621         COLL_SYM in a couple of places to avoid uninitialized variable
15622         wanings on tilegx gcc 4.8.2.
15624 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15626         * sysdeps/aarch64/strcpy.S: New file.
15627         * sysdeps/aarch64/stpcpy.S: New file.
15628         * NEWS: Updated.
15630 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
15632         * sysdeps/aarch64/strrchr.S: New file.
15633         * NEWS: Updated.
15635 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
15637         [BZ #17658]
15638         * stdlib/setenv.c: Fix memory leak when setting large,
15639         duplicate string.
15641 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
15643         [BZ #17273]
15644         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
15645         and tabs from buffer before parsing fstab entry.
15646         * misc/tst-mntent.c (main): Add test for mount entry with
15647         trailing spaces and tabs.
15649 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
15651         [BZ #17748]
15652         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
15653         * math/fesetround.c (fesetround): Rename to __fesetround and
15654         define as weak alias of __fesetround.  Use libm_hidden_weak.
15655         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
15656         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
15657         * sysdeps/arm/fesetround.c (fesetround): Likewise.
15658         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
15659         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
15660         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
15661         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
15662         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
15663         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
15664         __fesetround_inline.
15665         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
15666         __fesetround_inline instead of __fesetround.
15667         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
15668         __fesetround and define as weak alias of __fesetround.  Use
15669         libm_hidden_weak.  Call __fesetround_inline instead of
15670         __fesetround.
15671         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
15672         __fesetround and define as weak alias of __fesetround.  Use
15673         libm_hidden_weak.
15674         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
15675         Likewise.
15676         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
15677         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15678         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
15679         * sysdeps/tile/math_private.h (__fesetround): New inline function.
15680         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
15681         __fesetround and define as weak alias of __fesetround.  Use
15682         libm_hidden_weak.
15683         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
15684         __fesetround instead of fesetround.
15685         (default_libc_feholdexcept_setround): Likewise.
15686         (libc_feholdsetround_ctx): Likewise.
15687         (libc_feholdsetround_noex_ctx): Likewise.
15689         [BZ #17748]
15690         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
15691         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
15692         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15693         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15694         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15695         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
15696         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15697         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15698         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15699         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15700         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15701         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15702         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15703         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15704         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
15705         libm_hidden_def.
15706         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
15707         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
15708         Likewise.
15709         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
15710         define as weak alias of __fesetenv.  Use libm_hidden_weak.
15711         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15712         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
15713         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
15714         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
15715         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
15716         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
15717         __fesetenv instead of fesetenv.
15718         (libc_feresetround_noex_ctx): Likewise.
15719         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15720         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
15721         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
15722         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15723         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15724         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15725         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15726         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
15727         (__feupdateenv): Likewise.
15728         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15729         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15730         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15731         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
15733 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15735         [BZ #17806]
15736         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
15737         addresses have been freed.
15739 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
15741         * resolv/res_init.c (__res_vinit): Improve comments about nserv
15742         and nservall.
15744 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
15746         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
15747         Clean up check_pf allocation pattern. addresses
15749 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15751         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
15752         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
15753         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
15754         * nptl/pthread_exit.c (__pthread_exit): Likewise.
15755         * nptl/pthread_join.c (pthread_join): Likewise.
15756         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
15757         * sysdeps/posix/waitid.c (__waitid): Likewise.
15758         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15759         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15760         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15761         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15763         Likewise.
15764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15765         (__libc_pread64): Likewise.
15766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15767         (__libc_pwrite): Likewise.
15768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15769         (__libc_pwrite64): Likewsie.
15770         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15771         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15772         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15773         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15774         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15775         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15776         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15778         Likewise.
15779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15780         (__libc_pread64): Likewise.
15781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
15782         Likewise.
15783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15784         (__libc_pwrite64): Likewise.
15785         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15786         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15787         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
15788         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
15789         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15790         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15791         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
15792         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15793         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15794         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15795         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
15796         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15797         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15798         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
15799         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15800         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15801         Likewise.
15803 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
15805         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
15806         (CFLAGS-test-double.c): Likewise.
15807         (CFLAGS-test-ldouble.c): Likewise.
15808         (CPPFLAGS-test-ifloat.c): Likewise.
15809         (CPPFLAGS-test-idouble.c): Likewise.
15810         (CPPFLAGS-test-ildoubl.c): Likewise.
15811         (CFLAGS-test-test-fenv.c): Remove variable.
15812         (CFLAGS-test-misc.c): Likewise.
15814 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
15816         [BZ #17797]
15817         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
15818         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
15819         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
15820         CLOCKS_PER_SEC == 1000000.
15821         * time/clocktest.c (main): Replace %ld with %jd and cast to
15822         intmax_t.
15824 2015-01-05  Roland McGrath  <roland@hack.frob.com>
15826         * sysdeps/generic/unwind-resume.h: New file.
15827         * sysdeps/gnu/unwind-resume.c: Include it.
15828         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
15829         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
15830         argument list.
15831         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
15832         global rather than static.
15833         (_Unwind_Resume): Update user.
15834         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
15835         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
15836         rather than static.  Add __attribute__ ((cold)).
15837         (_Unwind_Resume, __gcc_personality_v0): Update callers.
15838         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15839         * sysdeps/arm/arm-unwind-resume.S: New file.
15840         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
15841         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
15842         * sysdeps/arm/Makefile [$(subdir) = csu]
15843         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
15844         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15845         Add rt-arm-unwind-resume.
15846         [$(subdir) = nptl]
15847         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15848         Add pt-arm-unwind-resume.
15849         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
15850         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
15852 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15854         [BZ #17748]
15855         * include/fenv.h (__feholdexcept): Declare.  Use
15856         libm_hidden_proto.
15857         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
15858         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
15859         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15860         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
15861         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
15862         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
15863         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
15864         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15865         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
15866         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
15867         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15868         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
15869         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
15870         (feholdexcept): Likewise.
15871         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15872         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15873         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15874         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
15875         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
15876         __feholdexcept instead of feholdexcept.
15877         (default_libc_feholdexcept_setround): Likewise.
15879 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15881         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
15882         to avoid using stl/str to align destination.
15884 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15886         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
15888 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15890         [BZ #17796]
15891         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
15892         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
15893         Define as weak alias not strong alias.
15895 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
15897         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15898         bltzal with addiupc.
15899         (RTLD_START): Ditto.
15901 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
15903         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
15904         for __vdso_* functions in declarations.
15905         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
15906         definitions.
15907         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
15908         INTERNAL_VSYSCALL): Use struct return types to check for error.
15910         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
15911         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
15912         function with cast from llround().
15913         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
15914         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15915         Define.
15917 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
15919         [BZ #17793]
15920         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
15921         Define as weak alias not strong alias.
15923         [BZ #17635]
15924         * ctype/ctype-c99.c: New file.  isblank implementation moved from
15925         ...
15926         * ctype/ctype-extn.c: ... here.
15927         (__isblank_l): Move to ...
15928         * ctype/ctype-c99_l.c: ... here.  New file.
15929         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
15930         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
15931         Remove variable.
15932         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
15933         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
15934         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15935         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
15936         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15938         [BZ #17777]
15939         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15940         (posix_fadvise64): Define as weak alias not strong alias.
15941         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15942         (posix_fallocate64): Likewise.
15943         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15944         Remove variable.
15945         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15946         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15947         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15948         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15949         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15951 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15953         [BZ #16191]
15954         * NEWS: Mention bug fix.
15955         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15956         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15957         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15958         (HOST_STACK_END_ADDR): Likewise.
15960 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15962         [BZ #17748]
15963         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15964         * math/fegetround.c (fegetround): Rename to __fegetround and
15965         define as weak alias of __fegetround.  Use libm_hidden_weak.
15966         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15967         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15968         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15969         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15970         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15971         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15972         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15973         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15974         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15975         Undefine after rather than before function definition; use
15976         parentheses around function name in definition.
15977         (__fegetround): Also undefine macro after function definition.
15978         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15979         __fegetround and define as weak alias of __fegetround.  Use
15980         libm_hidden_weak.  Do not undefine as macro.
15981         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15982         Likewise.
15983         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15984         __fegetround and define as weak alias of __fegetround.  Use
15985         libm_hidden_weak.
15986         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15987         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15988         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15989         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15990         __fegetround and define as weak alias of __fegetround.  Use
15991         libm_hidden_weak.
15992         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15993         __fegetround instead of fegetround.
15995         [BZ #17782]
15996         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15997         Condition macro definition on [__USE_MISC].
15999         [BZ #17781]
16000         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16001         (struct sigaction): Change type of sa_flags field to int.
16003         [BZ #17780]
16004         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16005         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16006         __glibc_reserved0.
16008         * nptl/version.c (banner): Use single year in copyright notice.
16010         * NEWS: Update copyright dates.
16011         * catgets/gencat.c (print_version): Likewise.
16012         * csu/version.c (banner): Likewise.
16013         * debug/catchsegv.sh: Likewise.
16014         * debug/pcprofiledump.c (print_version): Likewise.
16015         * debug/xtrace.sh (do_version): Likewise.
16016         * elf/ldconfig.c (print_version): Likewise.
16017         * elf/ldd.bash.in: Likewise.
16018         * elf/pldd.c (print_version): Likewise.
16019         * elf/sotruss.sh: Likewise.
16020         * elf/sprof.c (print_version): Likewise.
16021         * iconv/iconv_prog.c (print_version): Likewise.
16022         * iconv/iconvconfig.c (print_version): Likewise.
16023         * locale/programs/locale.c (print_version): Likewise.
16024         * locale/programs/localedef.c (print_version): Likewise.
16025         * login/programs/pt_chown.c (print_version): Likewise.
16026         * malloc/memusage.sh (do_version): Likewise.
16027         * malloc/memusagestat.c (print_version): Likewise.
16028         * malloc/mtrace.pl: Likewise.
16029         * manual/libc.texinfo: Likewise.
16030         * nptl/version.c (banner): Likewise.
16031         * nscd/nscd.c (print_version): Likewise.
16032         * nss/getent.c (print_version): Likewise.
16033         * nss/makedb.c (print_version): Likewise.
16034         * posix/getconf.c (main): Likewise.
16035         * scripts/test-installation.pl: Likewise.
16036         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16038 2015-01-02  Will Newton  <will.newton@linaro.org>
16040         * sysdeps/arm/armv7/configure: Removed.
16041         * sysdeps/arm/armv7/configure.ac: Likewise.
16043 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16045         * All files with FSF copyright notices: Update copyright dates
16046         using scripts/update-copyrights.
16047         * intl/plural.c: Regenerated.
16048         * locale/programs/charmap-kw.h: Likewise.
16049         * locale/programs/locfile-kw.h: Likewise.
16051 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16053         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16055 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16057         [BZ #17748]
16058         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16059         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16060         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16061         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16062         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16063         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16064         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16065         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16066         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16067         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16068         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16069         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16070         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16071         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16072         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16073         libm_hidden_def.
16074         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16075         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16076         Likewise.
16077         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16078         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16079         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16080         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16081         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16082         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16083         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16084         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16085         __fegetenv instead of fegetenv.
16086         (libc_feholdsetround_noex_ctx): Likewise.
16088 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16090         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16091         (Elf_MIPS_ABIFlags_v0): New structure.
16092         (EF_MIPS_FP64): Define.
16093         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16094         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16095         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16096         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16097         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16098         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16099         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16100         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16101         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16102         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16103         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16104         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16105         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16106         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16107         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16108         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16109         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16110         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16111         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16112         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16113         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16114         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16115         field.
16116         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16117         EF_MIPS_FP64.
16118         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16119         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16120         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16121         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16122         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16123         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16124         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16125         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16126         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16127         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16128         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16129         record the current FP ABI extension.
16130         (mips-mode-switch): Define to show if kernel headers support mode
16131         switching.
16132         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16133         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16134         supported SYSV ABI version to 3.
16135         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16136         feature.
16138 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16139             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16141         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16142         path.
16143         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16145 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16147         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16148         __fegetround and redefine to call __fegetround.  Remove condition
16149         on [!__NO_MATH_INLINES].
16150         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16151         function.
16152         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16154         Remove macro.
16155         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16156         instead of <fenv_libc.h>.
16157         (__llrintl): Call fegetround instead of __fegetround.
16158         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16159         instead of <fenv_libc.h>.
16160         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16161         (__lrintl): Call fegetround instead of __fegetround.
16162         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16163         instead of <fenv_libc.h>.
16164         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16165         (__rintl): Call fegetround instead of __fegetround.
16167 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16169         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16170         arrays.
16172 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16174         [BZ #17775]
16175         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16176         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16177         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16179 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16181         * sysdeps/i386/tls-macros.h: Include <features.h>.
16182         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16183         (TLS_IE): Likewise.
16184         (TLS_LD): Likewise.
16185         (TLS_GD): Likewise.
16186         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16187         define for GCC >= 5.0.
16189 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16191         * math/test-fenv.c (test_single_exception, set_single_exc,
16192         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16193         feexcp_mask_test, feenable_test, fe_single_test): Add
16194         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16195         case where they are not used.
16196         * math/libm-test.inc: Likewise.
16197         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16198         unused in the absence of FP rounding/exception support.
16199         * stdio-common/tst-printf-round.c: Likewise.
16200         * stdlib/tst-strtod-round.c: Likewise.
16201         * stdlib/tst-strtod-underflow.c: Likewise.
16203 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16205         [BZ #17723]
16206         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16207         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16208         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16209         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16210         libm_hidden_weak.
16211         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16212         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16213         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16214         libm_hidden_def.
16215         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16216         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16217         libm_hidden_weak.
16218         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16219         Likewise.
16220         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16221         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16222         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16223         libm_hidden_weak.
16224         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16225         libm_hidden_def.
16226         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16227         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16228         (__feraiseexcept): Likewise.
16229         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16230         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16231         libm_hidden_weak.
16232         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16233         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16234         libm_hidden_def.
16235         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16236         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16237         Use libm_hidden_def.
16238         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16239         libm_hidden_def.
16240         (feraiseexcept): Define as weak not strong alias.  Use
16241         libm_hidden_weak.
16242         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16243         New inline function.  Factored out of ...
16244         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16245         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16246         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16247         feraiseexcept.
16248         * math/w_acos.c (__acos): Likewise.
16249         * math/w_asin.c (__asin): Likewise.
16250         * math/w_ilogb.c (__ilogb): Likewise.
16251         * math/w_j0.c (y0): Likewise.
16252         * math/w_j1.c (y1): Likewise.
16253         * math/w_jn.c (yn): Likewise.
16254         * math/w_log.c (__log): Likewise.
16255         * math/w_log10.c (__log10): Likewise.
16256         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16257         * sysdeps/aarch64/fpu/math_private.h
16258         (libc_feupdateenv_test_aarch64): Likewise.
16259         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16260         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16261         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16262         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16263         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16264         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16265         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16266         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16267         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16268         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16270 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16272         [BZ #17732]
16273         * io/test-utime.c (main): Replace %ld with %jd and cast to
16274         intmax_t.
16275         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16276         * nptl/tst-mutex5.c: Include <stdint.h>.
16277         (do_test): Replace %ld with %jd and cast to intmax_t.
16278         * posix/tst-regex.c (run_test): Likewise.
16279         (run_test_backwards): Likewise.
16280         * rt/tst-clock.c: Include <stdint.h>.
16281         (clock_test): Replace %ld with %jd and cast to intmax_t.
16282         * rt/tst-cpuclock1.c: Include <stdint.h>.
16283         (do_test): Replace %lu with %ju and cast to uintmax_t.
16284         * rt/tst-cpuclock2.c: Include <stdint.h>.
16285         (do_test): Replace %lu with %ju and cast to uintmax_t.
16286         * rt/tst-mqueue1.c: Include <stdint.h>.
16287         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16288         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16289         intmax_t.
16290         * rt/tst-mqueue4.c (do_test): Likewise.
16291         * rt/tst-timer4.c: Include <stdint.h>.
16292         (check_ts): Replace %ld with %jd and cast to intmax_t.
16293         (do_test): Likewise.
16294         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16295         and cast to intmax_t.
16296         * sysdeps/pthread/tst-timer.c (main): Likewise.
16297         * time/clocktest.c (main): Likewise.
16298         * time/tst-posixtz.c (do_test): Likewise.
16299         * timezone/tst-timezone.c (main): Likewise.
16301 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16302             H.J. Lu  <hongjiu.lu@intel.com>
16304         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16305         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16306         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16307         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16308         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16309         version if bit_Fast_Unaligned_Load is set.
16310         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16311         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16312         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16313         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16314         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16315         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16317         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16318         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16319         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16320         to 4.
16321         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16322         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16323         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16324         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16326 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16328         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16329         instead of #if to avoid a Wundef warning.
16330         * stdlib/tst-limits.c (do_test): Likewise.
16332         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16333         parallel other exception macros.
16334         (fegetenv): Convert from macro to extern inline so that it applies
16335         retroactively to inline functions already seen by the compiler.
16336         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16338         * posix/Makefile (before-compile): Use $(objpfx) for
16339         posix-conf-vars-def.h.
16341 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343         * posix/getconf.c (main): Use size_t for type of I.
16344         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16345         NSPEC.
16347         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16348         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16349         * posix/posix-envs.def: Likewise.
16350         * sysdeps/posix/sysconf.c: Likewise.
16351         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16352         (specs): Remove array.
16353         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16354         array.
16356         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16357         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16358         (__sysconf): Use CONF_IS_* macros.
16360         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16361         ($(objpfx)posix-conf-vars-def.h): New target.
16362         * posix/posix-conf-vars.list: New file.
16363         * posix/posix-conf-vars.h: New file.
16364         * posix/confstr.c: Include posix-conf-vars.h.
16365         (confstr): Use CONF_IS_* macros.
16366         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16367         CONF_IS_* macros.
16368         * scripts/gen-posix-conf-vars.awk: New file.
16370 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16372         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16373         fegetround): Add no-op macros to avoid linknamespace issues.
16375         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16376         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16378         * sysdeps/unix/sysv/linux/tile/sysdep.h
16379         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16380         assembly-specific section to avoid a redefinition warning.
16382         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16383         long before casting to pointer to avoid a cast warning.
16385 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16387         * sysdeps/tile/tilegx/Implies: New file.
16389 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16391         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16393 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16395         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16397 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16399         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16400         not define.
16401         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16402         <kernel-features.h>.
16403         (__utimes) [__NR_utimes]: Make code unconditional.
16404         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16405         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16406         (__ASSUME_UTIMES): Do not undefine.
16407         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16408         (__ASSUME_UTIMES): Likewise.
16409         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16410         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16411         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16412         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16414 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16416         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16418 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16420         [BZ #17747]
16421         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16422         alias to weak alias for j0l, y0l.
16423         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16424         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16426         [BZ #17746]
16427         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16428         conversion.
16430 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16432         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16433         to zero if not already defined.
16435 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16437         [BZ #17724]
16438         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16439         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16440         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16441         (char *) casts added.
16442         * sysdeps/ieee754/k_standardf.c: New file.
16443         * sysdeps/ieee754/k_standardl.c: Likewise.
16444         * math/Makefile (libm-support): Remove k_standard.
16445         (libm-calls): Add k_standard.
16447 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16449         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16450         Optimize to avoid an unnecessary FPCR read.
16452 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16454         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16455         Optimize to reduce FPCR/FPSR accesses.
16457 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16459         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16460         Call libc_fetestexcept_aarch64.
16462 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16464         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16465         Call libc_fesetround_aarch64.
16467 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16469         [BZ #17733]
16470         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16471         (__bind): Do not define as weak alias.
16472         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16473         define.
16474         (__getsockname): Do not define as weak alias.
16476 2014-12-22  Will Newton  <will.newton@linaro.org>
16478         * manual/install.texi: Document that we require bison 2.7
16479         or above.
16480         * INSTALL: Regenerate.
16481         * configure.ac: Use AC_CHECK_PROG_VER instead of
16482         AC_PATH_PROG when checking for bison and check for
16483         version 2.7 or above.
16484         * configure: Regenerate.
16486 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16488         [BZ #17745]
16489         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16490         * sysdeps/tile/ffsll.c (ffsll): To here.
16492         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16494 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16496         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16497         if not defined.
16498         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16499         definition.
16500         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16501         hidden ___tls_get_addr.
16502         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16503         hidden __tls_get_addr.
16504         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
16505         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
16506         Likewise.
16508 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
16510         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
16511         _dl_init call.
16513 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16515         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
16516         from "call _dl_init@PLT".
16517         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
16519 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
16521         * manual/search.texi: (Array Sort Function): Clarify stable sorting
16522         guarantees.
16524 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
16526         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
16528 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16530         [BZ #17744]
16531         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
16532         strnlen.
16534 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16536         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
16537         of multu on MIPSr6.
16538         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
16539         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
16540         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
16541         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
16542         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
16544 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
16546         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
16547         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
16548         (PTR_SUBU): Use subu for mips32r6/mips64r6.
16549         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
16550         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
16551         mips32r6/mips64r6.
16552         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
16554 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
16556         * string/strncat.c (STRNCAT): Simplify implementation.
16558 2014-12-19  David S. Miller  <davem@davemloft.net>
16560         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
16561         access the quad as both a long double and as a series of 4 words.
16563         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
16564         link_map->l_info array access.
16566 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
16568         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
16570         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
16571         * math/atest-exp2.c (TIMEOUT): Likewise.
16572         * math/atest-sincos.c (TIMEOUT): Likewise.
16574 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16576         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
16577         -Wno-error with -fno-builtin-lround.
16579 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16581         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
16582         Contains futex constants and functions moved over from ...
16583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
16584         <lowlevellock-futex.h>.
16585         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16586         (lll_timedwait_tid): Add comments and parentheses around macro
16587         arguments.
16589 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16591         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
16592         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
16593         (__lll_private_flag): Remove.
16594         (lll_futex_wait): Likewise.
16595         (lll_futex_timed_wait): Likewise.
16596         (lll_futex_wake): Likewise.
16597         (lll_futex_requeue): Likewise.
16598         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
16599         (__lll_timedwait_tid): Spell out argument names.
16600         (lll_timedwait_tid): Add comments and parentheses around macro
16601         arguments.
16602         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
16603         LLL_SHARED and LLL_PRIVATE usable from assembly code.
16605 2014-12-19  Torvald Riegel  <triegel@redhat.com>
16607         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
16608         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16609         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16610         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
16611         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
16612         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
16613         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
16614         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
16615         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
16616         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
16617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
16618         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
16619         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
16620         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
16621         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
16622         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
16623         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
16624         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
16625         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
16627 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16629         * sysdeps/x86_64/x32/Makefile: New file.
16631 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
16633         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
16634         1L with (mp_limb_t) 1.
16636 2014-12-17  Roland McGrath  <roland@hack.frob.com>
16638         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
16639         * nptl/libc_pthread_init.c: ... here.
16640         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
16641         * nptl/register-atfork.c: ... here.
16643         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
16644         Use pthread_sigmask rather than INTERNAL_SYSCALL.
16645         Use assert_perror to check its return value.
16646         (__gai_create_helper_thread): Likewise.
16648         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
16650         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
16652 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
16654         [BZ #17725]
16655         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
16656         __profil_counter.
16657         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
16658         Likewise.
16659         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
16660         Likewise.
16661         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
16662         Likewise.
16663         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
16664         (profil_counter): Likewise.
16665         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
16666         (profil_counter): Likewise.
16667         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
16668         Likewise.
16669         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
16670         Likewise.
16671         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
16672         (profil_counter): Likewise.
16673         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
16674         Likewise.
16675         [!__profil_counter] (profil_counter): Define as weak alias of
16676         __profil_counter.
16677         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
16678         (profil_counter): Rename to __profil_counter.
16679         [!__profil_counter] (profil_counter): Define as weak alias of
16680         __profil_counter.
16681         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
16682         (profil_counter): Rename to __profil_counter.
16683         [!__profil_counter] (profil_counter): Define as weak alias of
16684         __profil_counter.
16685         * sysdeps/posix/profil.c: Update comment referring to
16686         profil_counter.
16687         (__profil): Use __profil_counter instead of profil_counter.
16688         * sysdeps/posix/sprofil.c (profil_counter): Rename to
16689         __profil_counter.  Use __profil_counter_ushort and
16690         __profil_counter_uint in definitions.
16691         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
16692         instead of profil_counter_uint and profil_counter_ushort.
16694         [BZ #17722]
16695         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
16696         define as weak alias of __inet_makeaddr.
16697         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
16698         as weak alias of __inet_addr.
16699         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
16700         as weak alias of __inet_pton.  Use libc_hidden_weak.
16701         * include/arpa/inet.h (__inet_pton): Declare.  Use
16702         libc_hidden_proto.
16703         (inet_makeaddr): Don't use libc_hidden_proto.
16704         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
16705         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
16706         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16707         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
16708         Remove variable.
16709         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
16710         (test-xfail-POSIX/time.h/linknamespace): Likewise.
16712 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
16714         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
16716 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16718         * stdio-common/bug-vfprintf-nargs.c (do_test):
16719         Cast value to intptr_t to avoid format warning
16720         for usage with PRIdPTR printing macro.
16722 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16724         * libio/tst-widetext.c (do_test):
16725         Use format type %td instead of %Zd for ptrdiff_t
16726         in order to avoid format warning.
16728 2014-12-17  Andreas Schwab  <schwab@suse.de>
16730         * nscd/mem.c (gc): Add size_t cast to match printf format.
16732 2014-12-16  Roland McGrath  <roland@hack.frob.com>
16734         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
16735         (init): Apply PTR_MANGLE to pointers before storing them.
16736         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
16737         before using them.
16739 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
16741         [BZ #17719]
16742         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
16743         define as weak alias of __memrchr.
16744         (__memrchr): Do not define as strong alias of memrchr.
16745         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
16746         Remove variable.
16747         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
16748         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
16749         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
16751         [BZ #17717]
16752         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
16753         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16754         (if_indextoname): Rename to __if_indextoname and define as weak
16755         alias of __if_indextoname.  Use libc_hidden_weak.
16756         (if_freenameindex): Rename to __if_freenameindex and define as
16757         weak alias of __if_freenameindex.
16758         (if_nameindex): Rename to __if_nameindex and define as weak alias
16759         of __if_nameindex.
16760         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
16761         __if_nametoindex and define as weak alias of __if_nametoindex.
16762         Use libc_hidden_weak.
16763         (if_freenameindex): Rename to __if_freenameindex and define as
16764         weak alias of __if_freenameindex.
16765         (if_nameindex): Rename to __if_nameindex and define as weak alias
16766         of __if_nameindex.
16767         (if_indextoname): Rename to __if_indextoname and define as weak
16768         alias of __if_indextoname.  Use libc_hidden_weak.
16769         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
16770         __if_nametoindex and define as weak alias of __if_nametoindex.
16771         Use libc_hidden_weak.
16772         (if_freenameindex): Rename to __if_freenameindex and define as
16773         weak alias of __if_freenameindex.  Use libc_hidden_weak.
16774         (if_nameindex_netlink): Use __if_freenameindex instead of
16775         if_freenameindex.
16776         (if_nameindex): Rename to __if_nameindex and define as weak alias
16777         of __if_nameindex.  Use libc_hidden_weak.
16778         (if_indextoname): Rename to __if_indextoname and define as weak
16779         alias of __if_indextoname.  Use libc_hidden_weak.
16780         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
16781         libc_hidden_proto.
16782         [!_ISOMAC] (__if_freenameindex): Likewise.
16783         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
16784         if_nametoindex.
16785         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
16786         variable.
16787         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
16788         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
16789         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
16790         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
16791         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
16792         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
16793         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
16795         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
16796         Remove variable.
16797         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
16798         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
16800 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16802         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
16803         subscript above bounds'
16805         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
16806         bounds.
16808 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
16810         * libio/tst-fopenloc.c: Use test-skeleton.c.
16812         * stdlib/tst-bsearch.c: Use test-skeleton.c.
16813         (entry): Rename to ITEM.
16814         (do_test, comp): Adjust.
16816         * stdio-common/tst-fseek.c: Use test-skeleton.c.
16818 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16820         * string/tester.c: Include <libc-internal.h>.
16821         (test_memset): Ignore -Wmemset-transposed-args.
16823 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16825         * misc/tst-mntent2.c (do_test): Fix warning.
16827 2014-12-16  Torvald Riegel  <triegel@redhat.com>
16829         * elf/tst-unique4lib.cc(a): Mark as used.
16831 2014-12-16  Florian Weimer  <fweimer@redhat.com>
16833         [BZ #17630]
16834         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
16835         names.
16837 2014-12-16  Allan McRae  <allan@archlinux.org>
16839         * stdio-common/Makefile (tests): Re-add bug26.
16841 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
16843         [BZ #17657]
16844         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
16845         static array.
16847 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
16849         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
16850         (__lll_lock_wait): Likewise.
16851         (__lll_timedlock_wait): Likewise.
16852         (__lll_timedwait_tid): Likewise.
16853         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
16854         (__lll_robust_timedlock_wait): Likewise.
16855         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
16856         (lll_cond_trylock): Likewise.
16857         (__lll_lock): Likewise.
16858         (__lll_robust_lock): Likewise.
16859         (__lll_cond_lock): Likewise.
16860         (lll_robust_cond_lock): Likewise.
16861         (__lll_timedlock): Likewise.
16862         (__lll_robust_timedlock): Likewise.
16863         (__lll_unlock): Likewise.
16864         (__lll_robust_unlock): Likewise.
16865         (lll_wait_tid): Likewise.
16866         (lll_timedwait_tid): Likewise.
16868 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16870         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
16872 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16874         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
16876 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16878         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
16879         * stdio-common/tst-sprintf.c: Likewise.
16881 2014-12-15  Torvald Riegel  <triegel@redhat.com>
16883         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
16885 2014-12-15  Jeff Law  <law@redhat.com>
16887         [BZ #16617]
16888         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
16889         on the heap.  (CVE-2012-3406)
16890         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
16891         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
16892         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
16894 2014-12-15  Will Newton  <will.newton@linaro.org>
16896         * manual/install.texi: Bump required version of texinfo
16897         to 4.7 from 4.5.
16898         * INSTALL: Regenerated.
16899         * configure.ac: Check for makeinfo version 4.7 and above.
16900         * configure: Regenerated.
16902 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16904         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
16905         PREFIX, string constant to insert between directory and name.
16906         * sysdeps/posix/shm_open.c: Update caller.
16907         * sysdeps/posix/shm_unlink.c: Likewise.
16908         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
16909         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
16910         (SEM_SHM_PREFIX): New macro.
16911         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
16912         [$(have-thread-library) = no].
16913         * nptl/Makefile (libpthread-routines): Add shm-directory.
16914         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
16915         * sysdeps/nptl/shm-directory.h: New file.
16916         * sysdeps/posix/shm-directory.c
16917         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
16918         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16919         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
16920         INTERNAL_SYSCALL.
16921         (__where_is_shmfs): Function removed.
16922         (mountpoint, defaultmount, defaultdir, __namedsem_once):
16923         Variables removed.
16924         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
16925         Use SHM_GET_NAME.
16926         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
16928         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
16929         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
16930         unconditional for use inside libpthread.
16931         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
16933 2014-12-12  Roland McGrath  <roland@hack.frob.com>
16935         * nptl/pthread_getaffinity.c: New file.
16936         * nptl/pthread_setaffinity.c: New file.
16937         * nptl/pthread_getname.c: New file.
16938         * nptl/pthread_setname.c: New file.
16940         * nptl/pthread_create.c (START_THREAD_DEFN)
16941         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16943 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16944             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16946         * resolv/res_send.c (send_vc): Disable warning resplen may
16947         be used uninitialized.
16949 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16951         * nptl/tst-mutex6.c
16952         (ATTR_NULL): New define checks ATTR against NULL.
16953         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16954         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16956 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16958         [BZ #17581]
16959         * malloc/hooks.c
16960         (mem2mem_check): Revert my previous change.
16961         (malloc_check_get_size): Revert my previous change.
16962         (mem2chunk_check): Revert my previous change.
16964 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16966         * sysdeps/posix/shm-directory.c: New file.
16967         * sysdeps/posix/shm-directory.h: New file.
16968         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16969         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16970         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16971         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16972         Transmute EPERM to EACCES.
16973         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16974         from ...
16975         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16976         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16978 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16980         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16981         pointer and cast to uintptr_t.
16982         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16983         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16984         Add cast to avoid warning.
16985         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16987 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16989         * nptl/semaphore.h: Move to ...
16990         * sysdeps/pthread/semaphore.h: ... here.
16991         * Makefile (installed-headers): Change nptl/semaphore.h to
16992         sysdeps/pthread/semaphore.h.
16994 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16996         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16997         generated error format strings.
16999         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17000         -Wformat-extra-args warnings for scanf formats.
17001         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17002         test of zero-length format (duh).
17003         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17004         corner-case scanf format test.
17005         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17006         generated fprintf format string.
17007         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17008         corner-case sprintf format tests.
17009         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17010         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17011         -Wformat-extra-args warnings throughout.
17012         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17013         (CFLAGS-scanf4.c): Likewise.
17014         (CFLAGS-scanf7.c): Likewise.
17015         (CFLAGS-tst-sprintf.c): Likewise.
17016         (CFLAGS-tst-printf.c): Likewise.
17017         (CFLAGS-tst-printfsz.c): Likewise.
17019 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17021         * include/cpio.h: New file.
17022         * include/fmtmsg.h: Likewise.
17024         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17025         corresponding format argument to size_t.
17026         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17027         arguments.
17028         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17029         corresponding format argument to size_t.
17030         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17031         arguments.
17032         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17033         corresponding format argument to size_t.
17034         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17035         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17036         (CFLAGS-tst-mbswcs2.c): Likewise.
17037         (CFLAGS-tst-mbswcs3.c): Likewise.
17038         (CFLAGS-tst-mbswcs4.c): Likewise.
17039         (CFLAGS-tst-mbswcs5.c): Likewise.
17040         (CFLAGS-tst-trans.c): Likewise
17042 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17044         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17045         rather than assuming they won't contain any '%'s.
17047 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17049         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17050         inhibit_loop_to_libcall to avoid recursive calls.
17051         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17052         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17054 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17056         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17057         prototype.
17059 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17061         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17062         integer value instead of boolean.
17064 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17066         * malloc/malloc.c: Fix powerof2 check.
17068 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17070         * locale/programs/locfile.h (maybe_swap_uint32):
17071         Remove inline and add unused attribute.
17073 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17075         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17076         Truncating assembler expression to a .long expression.
17078 2014-12-11  Andreas Schwab  <schwab@suse.de>
17080         * elf/rtld.c (struct map_args): Constify str member.
17081         (do_preload): Constify fname argument.
17083 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17085         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17086         constants definition.
17088 2014-12-11  Andreas Schwab  <schwab@suse.de>
17090         [BZ #16657]
17091         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17092         FORCE_ELISION instead of DO_ELISION.
17093         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17094         Remove.
17095         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17096         Likewise.
17098         * iconvdata/gconv-modules: Remove duplicate entry.
17100 2014-12-11  Will Newton  <will.newton@linaro.org>
17102         Merge gettext 0.19.3 into intl/.
17104         This involves a number of cosmetic changes to comments
17105         and ANSI function definitions and prototypes throughout
17106         all the files. The gettext copyright header is used but
17107         with the date ranges taken from the glibc copy.
17109         * NEWS: Add gettext merge to 2.21.
17110         * intl/bindtextdom.c: Switch to gettext copyright.
17111         Use ANSI definitions and prototypes.
17112         Use gl_* locking primitives rather than __libc_* ones.
17113         Use __builtin_expect rather than __glibc_likely/unlikely.
17114         * intl/dcgettext.c: Switch to gettext copyright.
17115         Use ANSI definitions and prototypes.
17116         * intl/dcigettext.c: Switch to gettext copyright.
17117         Use ANSI definitions and prototypes.
17118         (INTDIV0_RAISES_SIGFPE): New define.
17119         Use gl_* locking primitives rather than __libc_* ones.
17120         Include eval-plural.h instead of plural-eval.c.
17121         Use __builtin_expect rather than __glibc_likely/unlikely.
17122         * intl/dcngettext.c: Switch to gettext copyright.
17123         Use ANSI definitions and prototypes.
17124         * intl/dgettext.c: Likewise.
17125         * intl/dngettext.c: Likewise.
17126         * intl/plural-eval.c: Renamed to...
17127         * intl/eval-plural.h: ...this.
17128         * intl/explodename.c: Switch to gettext copyright.
17129         Use ANSI definitions and prototypes.
17130         (_nl_explode_name): Use strchr instead of __rawmemchr.
17131         * intl/finddomain.c: Switch to gettext copyright.
17132         Use ANSI definitions and prototypes.
17133         Use gl_* locking primitives rather than __libc_* ones.
17134         (_nl_find_domain): Use malloc rather than alloca for
17135         allocation of temporary locale name.
17136         * intl/gettext.c: Switch to gettext copyright.
17137         Use ANSI definitions and prototypes.
17138         * intl/gettextP.h: Switch to gettext copyright.
17139         Use ANSI definitions and prototypes.
17140         Use gl_* locking primitives rather than __libc_* ones.
17141         * intl/gmo.h: Switch to gettext copyright.
17142         (struct sysdep_string): Move struct segment_pair outside of
17143         struct definition.
17144         * intl/hash-string.c: Use ANSI definitions and prototypes.
17145         * intl/hash-string.h: Switch to gettext copyright.
17146         Use ANSI definitions and prototypes.
17147         * intl/l10nflist.c: Switch to gettext copyright.
17148         Use ANSI definitions and prototypes.
17149         (_nl_normalize_codeset): Avoid integer overflow.
17150         * intl/loadinfo.h: Switch to gettext copyright.
17151         Use ANSI definitions and prototypes.
17152         (LIBINTL_DLL_EXPORTED): New define.
17153         (PATH_SEPARATOR): New define.
17154         * intl/loadmsgcat.c: Switch to gettext copyright.
17155         * intl/localealias.c: Switch to gettext copyright.
17156         Use ANSI definitions and prototypes.
17157         (_nl_expand_alias): Use PATH_SEPARATOR.
17158         * intl/ngettext.c: Switch to gettext copyright.
17159         Use ANSI definitions and prototypes.
17160         * intl/plural-exp.c: Likewise.
17161         * intl/plural-exp.h: Switch to gettext copyright.
17162         Use ANSI definitions and prototypes.
17163         (struct expression): Move definition of enum operator outside
17164         of struct definition.
17165         * intl/plural.c: Regenerate.
17166         * intl/plural.y: Switch to gettext copyright.
17167         Use ANSI definitions and prototypes.
17168         Port to bison 3.0.
17169         * intl/textdomain.c: Switch to gettext copyright.
17170         Use ANSI definitions and prototypes.
17171         Use gl_* locking primitives rather than __libc_* ones.
17173 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17175         * debug/warning-nop.c: Add used atrribute.
17177 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17179         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17181         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17182         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17183         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17185 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17186             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17188         [BZ #17634]
17189         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17190         Undefine after defining function.  Define as weak alias of
17191         __wcschr.  Use libc_hidden_weak.
17192         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17193         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17194         (libc_hidden_def): Also define __GI___wcschr alias.
17195         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17196         __wcschr and define as weak alias of __wcschr.
17197         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17198         __wcschr.
17199         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17200         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17201         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17202         libc_hidden_weak.  Do not use libc_hidden_def.
17203         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17204         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17205         __GI___wcschr alias.
17206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17207         [IS_IN (libc)] (wcschr): Define as macro expanding to
17208         __redirect_wcschr.
17209         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17210         [IS_IN (libc)] (__wcschr_power6): Likewise.
17211         [IS_IN (libc)] (__wcschr_power7): Likewise.
17212         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17213         instead of wcschr.
17214         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17215         __libc_wcschr.
17216         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17217         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17218         __wcschr and define as weak alias of __wcschr.  Use
17219         libc_hidden_builtin_def.
17220         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17221         as weak alias of __wcschr.  Use libc_hidden_weak.
17222         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17223         wcschr.
17224         * time/era.c (_nl_init_era_entries): Likewise.
17225         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17226         variable.
17227         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17228         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17230 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17232         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17233         format for long int variable.
17235 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17237         [BZ #10672]
17238         * manual/search.texi: (Array Sort Function): Remove claim how to make
17239         qsort stable.
17241 2014-12-10  Andreas Schwab  <schwab@suse.de>
17243         [BZ #12847]
17244         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17245         user-controlled locks.
17247 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17249         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17250         register.
17252 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17254         * configure.ac (--disable-werror): New configure option.
17255         (enable_werror): New AC_SUBST.
17256         * configure: Regenerated.
17257         * config.make.in (enable-werror): New variable.
17258         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17259         -Wno-error=undef.
17260         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17261         * manual/install.texi (Configuring and compiling): Document
17262         --disable-werror.
17263         * INSTALL: Regenerated.
17264         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17265         (CFLAGS-tst-chk2.c): Likewise.
17266         (CFLAGS-tst-chk3.c): Likewise.
17267         (CFLAGS-tst-chk4.cc): Likewise.
17268         (CFLAGS-tst-chk5.cc): Likewise.
17269         (CFLAGS-tst-chk6.cc): Likewise.
17270         (CFLAGS-tst-lfschk1.c): Likewise.
17271         (CFLAGS-tst-lfschk2.c): Likewise.
17272         (CFLAGS-tst-lfschk3.c): Likewise.
17273         (CFLAGS-tst-lfschk4.cc): Likewise.
17274         (CFLAGS-tst-lfschk5.cc): Likewise.
17275         (CFLAGS-tst-lfschk6.cc): Likewise.
17277         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17278         (main): Disable -Wdeprecated-declarations around calls to
17279         register_printf_function.
17281         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17282         (do_test): Disable -Wdiv-by-zero around some calls to
17283         fwrite_unlocked and fread_unlocked.
17285         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17286         (DIAG_POP_NEEDS_COMMENT): Likewise.
17287         (_DIAG_STR1): Likewise.
17288         (_DIAG_STR): Likewise.
17289         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17290         * stdio-common/bug21.c: Include <libc-internal.h>.
17291         (do_test): Disable -Wformat around call to sscanf.
17292         * stdio-common/scanf14.c: Include <libc-internal.h>.
17293         (main): Disable -Wformat around some calls to scanf functions.
17295 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17297         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17299 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17301         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17302         stack variable alignment.
17304 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17306         [BZ #17682]
17307         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17308         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17309         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17310         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17311         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17312         __getrlimit instead of getrlimit.
17313         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17314         __gettimeofday instead of gettimeofday.
17315         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17316         Likewise.
17317         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17318         Likewise.
17319         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17320         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17321         Remove variable.
17322         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17323         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17325 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17327         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17328         for wide-character tests.
17330 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17332         * io/openat64.c: #include <libc-internal.h>
17333         (__openat64): Prototypify.  Use ignore_value on MODE.
17334         * io/openat.c: Likewise.
17335         * misc/reboot.c: #include <libc-internal.h>
17336         (reboot): Prototypify.  Use ignore_value on HOWTO.
17337         * misc/ptrace.c: #include <libc-internal.h>
17338         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17340 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17342         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17343         XPG4, UNIX98 and XOPEN2K.
17344         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17345         Remove variable.
17346         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17348 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17350         * libio/fileops.c: Use ISO C style for function definitions.
17351         * libio/iofopen.c: Likewise.
17352         * libio/wfileops.c: Likewise.
17354         [BZ #17653]
17355         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17356         offset on EOF.
17357         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17358         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17359         (fgets_func): Function pointer to fgets and fgetws.
17360         (do_ftell_test): Add test to verify ftell value after read
17361         EOF.
17362         (do_test): Set fgets_func.
17364         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17365         O_TRUNC flag for w and w+ modes.
17366         (do_rewind_test): Likewise.
17367         (do_ftell_test): Likewise.
17368         (do_write_test): Likewise.
17370         [BZ #17647]
17371         * libio/fileops.c (do_ftell): Seek only when there are
17372         unflushed writes.
17373         * libio/wfileops.c (do_ftell_wide): Likewise.
17374         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17375         test case.
17376         (do_one_test): Call it.
17378 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17380         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17381         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17382         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17383         Remove variable.
17384         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17385         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17386         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17388 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17390         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17391         Remove variable.
17392         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17394         [BZ #17668]
17395         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17396         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17397         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17398         __freeifaddrs.  Use libc_hidden_weak.
17399         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17400         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17401         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17402         __freeifaddrs.  Use libc_hidden_weak.
17403         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17404         __getifaddrs and define as weak alias of __getifaddrs.  Use
17405         libc_hidden_weak.
17406         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17407         __freeifaddrs.  Use libc_hidden_weak.
17408         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17409         Remove variable.
17410         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17411         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17413 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17415         [BZ #17601]
17416         * sysdeps/mips/start.S (__start): Use indirect jump to call
17417         __libc_start_main.
17419 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17421         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17423         * nptl/tst-mutex1.c: Include <stdbool.h>.
17424         [!ATTR] (ATTR_NULL): New macro.
17425         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17426         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17427         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17429         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17430         to char *.
17432         [BZ #17665]
17433         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17434         Change conditional to [__USE_MISC].
17436         [BZ #17664]
17437         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17438         fgets_unlocked.
17439         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17440         __fgets_unlocked.
17441         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17442         fgets_unlocked.
17443         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17444         Remove variable.
17445         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17446         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17447         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17448         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17449         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17450         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17451         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17452         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17453         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17455         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17457 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17460         Remove strpbrk objects.
17461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17462         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17463         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17465         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17466         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17468         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17469         Remove strcspn objects.
17470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17471         (__libc_ifunc_impl_list): Remove strcspn implementation.
17472         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17473         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17474         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17475         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17478         Remove strspn objetcs.
17479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17480         (__libc_ifunc_impl_list): Remove strspn implementation.
17481         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17482         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17483         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17484         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17486 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17488         [BZ #17581]
17489         * malloc/hooks.c
17490         (mem2mem_check): Add a terminator to the chain of checking blocks.
17491         (malloc_check_get_size): Use it here.
17492         (mem2chunk_check): Ditto.
17494 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17496         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17497         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17499 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17501         * bits/ioctl-types.h: Indent preprocessor directives correctly.
17503         * nptl/nptl-init.c: Include libc-internal.h.
17504         (__pthread_initialize_minimal_internal): Use ROUND_UP.
17506         * elf/ldconfig.c (search_dir): Expand comment.
17508 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
17510         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
17511         variable.
17512         (linknamespace-symlist-stdlibs-tests): Likewise.
17513         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
17514         instead of $(objpfx)symlist-stdlibs.
17515         (linknamespace-libs-isoc): New variable.
17516         (linknamespace-libs): Use $(linknamespace-libs-isoc).
17517         (linknamespace-libs-ISO): New variable.
17518         (linknamespace-libs-ISO99): Likewise.
17519         (linknamespace-libs-ISO11): Likewise.
17520         (linknamespace-libs-XPG3): Likewise.
17521         (linknamespace-libs-XPG4): Likewise.
17522         (linknamespace-libs-POSIX): Likewise.
17523         (linknamespace-libs-UNIX98): Likewise.
17524         (linknamespace-libs-XOPEN2K): Likewise.
17525         (linknamespace-libs-POSIX2008): Likewise.
17526         (linknamespace-libs-XOPEN2K8): Likewise.
17527         ($(objpfx)symlist-stdlibs): Replace by
17528         $(linknamespace-symlist-stdlibs-tests).  Use
17529         $(linknamespace-libs-$*) as set of libraries.
17530         ($(linknamespace-header-tests)): Update dependencies.  Use
17531         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
17532         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
17533         * conform/linknamespace.pl: Remove comment about considering
17534         definitions of symbols from irrelevant libraries.
17536 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
17538         [BZ #13862]
17539         * elf/dl-tls.c: Include <atomic.h>.
17540         (oom): Remove #ifdef SHARED/#endif.
17541         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
17542         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
17543         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
17544         big enough.
17545         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
17546         * nptl/Makefile (tests): Add tst-stack4.
17547         (modules-names): Add tst-stack4mod.
17548         ($(objpfx)tst-stack4): New.
17549         (tst-stack4mod.sos): Likewise.
17550         ($(objpfx)tst-stack4.out): Likewise.
17551         ($(tst-stack4mod.sos)): Likewise.
17552         (clean): Likewise.
17553         * nptl/tst-stack4.c: New file.
17554         * nptl/tst-stack4mod.c: Likewise.
17556 2014-11-27  J. Brown  <jb999@gmx.de>
17558         * sysdeps/x86/bits/string.h: Add recent CPUs.
17560 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17562         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
17563         sigblock.
17565         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
17566         feof.
17568         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
17569         variable.
17571 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
17573         * nscd/connections.c: Include libc-internal.h because of macro
17574         usage ignore_value.
17576 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17578         * string/bits/string3.h (__warn_memset_zero_len): Don't
17579         declare for gcc newer than 5.0.
17580         (memset): Don't test for zero-length __LEN for gcc newer than
17581         5.0.
17583 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
17585         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
17586         size_t for %zu format.
17588         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
17589         difference, not %ju.
17591 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17593         * include/libc-internal.h (ignore_value): New macro.
17594         * nscd/connections.c (restart): Wrap calls to setuid and setgid
17595         with ignore_value.
17597         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
17598         definition.
17600         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
17601         pthread_cleanup_push to void *.
17603         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
17604         Undefine.
17606         [BZ #16619]
17607         [BZ #16740]
17608         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
17609         instead of 1L << 52.
17611         * libio/bug-rewind.c (do_test): Check fwscanf return values.
17612         * libio/bug-rewind2.c (do_test): Likewise.
17614         * debug/test-stpcpy_chk-ifunc.c: Remove file.
17615         * debug/test-strcpy_chk-ifunc.c: Likewise.
17616         * wcsmbs/test-wcschr-ifunc.c: Likewise.
17617         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17618         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17619         * wcsmbs/test-wcslen-ifunc.c: Likewise.
17620         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17621         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17622         * Rules [$(multi-arch) = no] (tests): Do not filter out
17623         $(tests-ifunc).
17624         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
17625         * debug/Makefile (tests-ifunc): Remove variable.
17626         (tests): Do not add $(tests-ifunc).
17627         * wcsmbs/Makefile (tests-ifunc): Remove variable.
17628         (tests): Do not add $(tests-ifunc).
17629         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
17630         [TEST_IFUNC]: Remove conditionals.
17631         * string/test-string.h (TEST_IFUNC): Remove macro.
17632         [TEST_IFUNC]: Remove conditionals.
17634         * string/test-strchr.c [!WIDE] (L): New macro.
17635         [WIDE] (L): Likewise.
17636         (check1): Use CHAR instead of char.  Use L on string and character
17637         constants.
17639 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
17641         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
17642         tests.
17643         * sysdeps/powerpc/bits/atomic.h
17644         (__arch_atomic_exchange_and_add_32_acq): Add definition.
17645         (__arch_atomic_exchange_and_add_32_rel): Likewise.
17646         (atomic_exchange_and_add_acq): Likewise.
17647         (atomic_exchange_and_add_rel): Likewise.
17648         * sysdeps/powerpc/powerpc32/bits/atomic.h
17649         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17650         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17651         * sysdeps/powerpc/powerpc64/bits/atomic.h
17652         (__arch_atomic_exchange_and_add_64_acq): Add definition.
17653         (__arch_atomic_exchange_and_add_64_rel): Likewise.
17655 2014-11-26  Torvald Riegel  <triegel@redhat.com>
17657         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
17658         Change synchronization of __sched_fifo_min_prio and
17659         __sched_fifo_max_prio.
17660         * nptl/pthread_mutexattr_getprioceiling.c
17661         (pthread_mutexattr_getprioceiling): Likewise.
17662         * nptl/pthread_mutexattr_setprioceiling.c
17663         (pthread_mutexattr_setprioceiling): Likewise.
17664         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
17665         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
17666         Likewise.
17668 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
17670         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17671         void.
17673 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17675         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
17676         third argument const.
17678 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
17680         fnmatch: work around GCC compiler warning bug with uninit var
17681         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
17682         This works around a bug with x86-64 GCC 4.9.2 and earlier
17683         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
17684         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
17685         used uninitialized in this function [-Wmaybe-uninitialized]".
17687 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
17689         * posix/bug-regex31.c (main): Return RES not 0.
17691 2014-11-25  Anton Blanchard <anton@samba.org>
17693         * sysdeps/powerpc/bits/atomic.h
17694         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
17696 2014-11-24  Sterling Augustine  <saugustine@google.com>
17698         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
17700 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
17702         [BZ #17608]
17703         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
17705 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
17707         [BZ #17633]
17708         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
17709         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
17710         variable.
17711         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17712         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17714 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17716         * string/strncpy.c (strncpy): Improve performance by using memset.
17718 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
17720         * string/strcpy.c (strcpy):
17721         Improve performance by using strlen and memcpy.
17723 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
17725         * string/strcoll_l.c (get_next_seq): __always_inline.
17726         * string/strcoll_l.c (do_compare): __always_inline.
17728 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17730         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
17731         defined.
17732         * include/mqueue.h: Likewise.
17733         * include/stdlib.h: Likewise.
17735         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
17736         (get_null_defines): Adjust.
17737         * sunrpc/Makefile: Adjust comment.
17738         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
17739         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
17740         (CFLAGS-interp.c): Likewise.
17741         (CFLAGS-ldconfig.c): Likewise.
17742         (CPPFLAGS-.os): Likewise.
17743         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17744         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17745         * extra-modules.mk (extra-modules.mk): Likewise.
17746         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
17747         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
17748         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
17749         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
17750         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
17751         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
17752         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
17753         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
17754         * iconvdata/Makefile (CPPFLAGS): Likewise.
17755         (cpp-srcs-left): Add libof for all iconvdata routines.
17756         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
17757         * include/assert.h: Likewise.
17758         * include/ctype.h: Likewise.
17759         * include/errno.h: Likewise.
17760         * include/libc-symbols.h: Likewise.
17761         * include/math.h: Likewise.
17762         * include/netdb.h: Likewise.
17763         * include/resolv.h: Likewise.
17764         * include/stdio.h: Likewise.
17765         * include/stdlib.h: Likewise.
17766         * include/string.h: Likewise.
17767         * include/sys/stat.h: Likewise.
17768         * include/wctype.h: Likewise.
17769         * intl/l10nflist.c: Likewise.
17770         * libidn/idn-stub.c: Likewise.
17771         * libio/libioP.h: Likewise.
17772         * nptl/libc_multiple_threads.c: Likewise.
17773         * nptl/pthreadP.h: Likewise.
17774         * posix/regex_internal.h: Likewise.
17775         * resolv/res_hconf.c: Likewise.
17776         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
17777         * sysdeps/arm/memmove.S: Likewise.
17778         * sysdeps/arm/sysdep.h: Likewise.
17779         * sysdeps/generic/_itoa.h: Likewise.
17780         * sysdeps/generic/symbol-hacks.h: Likewise.
17781         * sysdeps/gnu/errlist.awk: Likewise.
17782         * sysdeps/gnu/errlist.c: Likewise.
17783         * sysdeps/i386/i586/memcpy.S: Likewise.
17784         * sysdeps/i386/i586/memset.S: Likewise.
17785         * sysdeps/i386/i686/memcpy.S: Likewise.
17786         * sysdeps/i386/i686/memmove.S: Likewise.
17787         * sysdeps/i386/i686/mempcpy.S: Likewise.
17788         * sysdeps/i386/i686/memset.S: Likewise.
17789         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
17790         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17791         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
17792         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
17793         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17794         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17795         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
17796         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17797         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
17798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
17799         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17800         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17801         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17802         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17803         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17804         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17805         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
17806         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
17807         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
17808         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17809         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17810         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17811         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17812         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17813         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17814         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17815         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
17816         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17817         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
17818         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17819         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17820         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17822         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17824         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17825         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17826         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17827         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17828         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17829         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17830         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17831         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17832         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17833         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17834         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17835         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
17836         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
17837         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17838         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17839         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17840         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
17841         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
17842         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17843         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17844         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
17845         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17846         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
17847         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
17848         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17849         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17850         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17851         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
17852         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17853         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17854         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
17855         * sysdeps/posix/closedir.c: Likewise.
17856         * sysdeps/posix/opendir.c: Likewise.
17857         * sysdeps/posix/readdir.c: Likewise.
17858         * sysdeps/posix/rewinddir.c: Likewise.
17859         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
17860         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
17861         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17862         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17863         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17864         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
17865         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
17866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
17867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
17868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
17869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
17870         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
17871         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
17872         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
17873         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
17874         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
17875         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
17876         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
17877         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
17878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
17879         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
17880         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
17881         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
17882         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
17883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
17884         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
17885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
17886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
17887         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
17888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
17889         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
17890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
17891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
17892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
17893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
17894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
17895         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17896         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17897         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
17898         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
17899         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
17900         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
17901         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
17902         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
17903         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
17904         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
17905         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
17906         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
17907         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
17908         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
17909         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
17910         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
17911         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17912         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
17913         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
17914         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
17915         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
17916         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
17917         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
17918         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
17919         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
17920         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
17921         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17922         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
17923         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
17924         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
17925         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
17926         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
17927         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
17928         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
17929         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
17930         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
17931         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
17932         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
17933         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
17934         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
17935         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
17936         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17937         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17938         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17939         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17941         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17943         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17945         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17946         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17947         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17948         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17949         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17950         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17951         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17952         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17953         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17954         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17955         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17956         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17957         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17958         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17959         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17960         * sysdeps/unix/alpha/sysdep.S: Likewise.
17961         * sysdeps/unix/alpha/sysdep.h: Likewise.
17962         * sysdeps/unix/make-syscalls.sh: Likewise.
17963         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17965         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17966         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17967         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17968         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17969         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17970         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17971         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17972         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17973         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17974         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17976         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17977         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17978         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17979         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17980         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17981         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17982         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17983         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17984         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17985         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17986         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17987         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17988         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17989         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17992         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17993         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17997         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18001         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18002         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18003         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18004         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18005         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18006         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18007         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18010         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18012         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18013         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18014         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18015         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18016         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18017         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18019         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18021         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18022         * sysdeps/x86_64/memcpy.S: Likewise.
18023         * sysdeps/x86_64/memmove.c: Likewise.
18024         * sysdeps/x86_64/memset.S: Likewise.
18025         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18026         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18027         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18028         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18029         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18030         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18032         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18033         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18034         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18035         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18036         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18037         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18038         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18039         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18041         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18042         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18043         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18044         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18045         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18046         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18047         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18049         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18050         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18051         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18052         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18053         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18054         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18055         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18056         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18057         * sysdeps/x86_64/strcmp.S: Likewise.
18059         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18061         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18062         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18063         * elf/rtld-Rules: Likewise.
18064         * elf/setup-vdso.h: Likewise.
18065         * include/assert.h: Likewise.
18066         * include/bits/stdlib-float.h: Likewise.
18067         * include/errno.h: Likewise.
18068         * include/sys/stat.h: Likewise.
18069         * include/unistd.h: Likewise.
18070         * sysdeps/aarch64/setjmp.S: Likewise.
18071         * sysdeps/alpha/setjmp.S: Likewise.
18072         * sysdeps/arm/__longjmp.S: Likewise.
18073         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18074         * sysdeps/arm/setjmp.S: Likewise.
18075         * sysdeps/arm/sysdep.h: Likewise.
18076         * sysdeps/generic/_itoa.h: Likewise.
18077         * sysdeps/generic/dl-sysdep.h: Likewise.
18078         * sysdeps/generic/ldsodefs.h: Likewise.
18079         * sysdeps/i386/dl-tls.h: Likewise.
18080         * sysdeps/i386/setjmp.S: Likewise.
18081         * sysdeps/m68k/setjmp.c: Likewise.
18082         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18083         * sysdeps/mach/hurd/opendir.c: Likewise.
18084         * sysdeps/posix/getcwd.c: Likewise.
18085         * sysdeps/posix/opendir.c: Likewise.
18086         * sysdeps/posix/profil.c: Likewise.
18087         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18088         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18089         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18090         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18091         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18092         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18093         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18094         * sysdeps/s390/dl-tls.h: Likewise.
18095         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18096         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18097         * sysdeps/sh/sh3/setjmp.S: Likewise.
18098         * sysdeps/sh/sh4/setjmp.S: Likewise.
18099         * sysdeps/unix/alpha/sysdep.h: Likewise.
18100         * sysdeps/unix/arm/sysdep.S: Likewise.
18101         * sysdeps/unix/i386/sysdep.S: Likewise.
18102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18103         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18105         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18106         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18107         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18108         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18109         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18110         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18111         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18112         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18113         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18117         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18120         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18121         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18122         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18125         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18126         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18127         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18130         * sysdeps/x86_64/setjmp.S: Likewise.
18132         * include/math.h: Use IS_IN instead of IS_IN_libm.
18133         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18134         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18135         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18136         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18137         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18138         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18139         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18140         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18141         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18142         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18143         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18144         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18145         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18146         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18147         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18148         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18149         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18150         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18151         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18152         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18153         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18154         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18155         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18156         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18157         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18158         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18159         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18160         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18161         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18162         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18163         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18164         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18165         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18167         Likewise.
18168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18169         Likewise.
18170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18171         Likewise.
18172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18173         Likewise.
18174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18175         Likewise.
18176         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18177         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18178         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18179         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18180         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18181         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18187         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18188         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18189         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18190         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18191         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18192         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18193         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18194         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18195         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18196         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18197         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18198         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18199         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18200         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18202         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18204         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18205         * nptl/pthreadP.h: Likewise.
18206         * nptl_db/structs.def: Likewise.
18207         * sysdeps/arm/sysdep.h: Likewise.
18208         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18209         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18210         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18211         * sysdeps/unix/alpha/sysdep.h: Likewise.
18212         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18213         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18214         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18215         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18216         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18217         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18218         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18219         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18220         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18221         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18222         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18223         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18224         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18225         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18230         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18231         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18232         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18233         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18234         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18235         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18236         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18237         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18239         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18240         * nptl/pthreadP.h: Likewise.
18241         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18242         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18243         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18244         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18245         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18246         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18247         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18248         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18249         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18250         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18251         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18252         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18256         Likewise.
18257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18259         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18261         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18262         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18263         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18264         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18266         * dlfcn/dladdr.c: Use IS_IN.
18267         * dlfcn/dladdr1.c: Likewise.
18268         * dlfcn/dlclose.c: Likewise.
18269         * dlfcn/dlerror.c: Likewise.
18270         * dlfcn/dlinfo.c: Likewise.
18271         * dlfcn/dlmopen.c: Likewise.
18272         * dlfcn/dlopen.c: Likewise.
18273         * dlfcn/dlsym.c: Likewise.
18274         * dlfcn/dlvsym.c: Likewise.
18276         * include/ifaddrs.h: Use IS_IN.
18277         * inet/check_pf.c: Likewise.
18278         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18279         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18281         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18282         IS_IN_ldconfig.
18283         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18284         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18286         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18287         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18288         IS_IN (libc).
18290         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18292         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18293         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18294         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18295         * include/libc-symbols.h (IS_IN_LIB): New macro.
18296         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18297         * include/netdb.h: Likewise.
18298         * include/stap-probe.h: Remove all uses of IN_LIB.
18300         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18301         instead of IN_MODULE.
18302         * include/libc-symbols.h (IN_MODULE): Define using
18303         MODULE_NAME.
18304         (PASTE_NAME, PASTE_NAME1): New macros.
18305         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18306         of IN_LIB.
18307         (STAP_PROBE_ASM): Likewise.
18309 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18311         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18312         __mach_init in dlopened libc.
18314 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18316         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18317         * sysdeps/arm/preconfigure: Regenerate.
18319 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18321         * nptl/pthread_create.c (__pthread_create_2_1): Set
18322         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18323         when copying values from IATTR into PD.
18325 2014-11-21  Will Newton  <will.newton@linaro.org>
18326             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18328         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18329         Refactor inline-asm.  Also add comment.
18331         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18332         ElfW macro instead of hardcoded Elf64 types.
18333         (la_aarch64_gnu_pltenter): Likewise.
18334         * sysdeps/aarch64/dl-machine.h
18335         (elf_machine_runtime_setup): Use ElfW(Addr).
18337         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18338         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18339         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18340         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18341         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18342         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18343         (R_AARCH64_TLS_DTPMOD): This.
18344         (R_AARCH64_TLS_DTPREL64): Rename to ...
18345         (R_AARCH64_TLS_DTPREL): This.
18346         (R_AARCH64_TLS_TPREL64): Rename to ...
18347         (R_AARCH64_TLS_TPREL): This.
18348         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18349         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18350         R_AARCH64_TLS_TPREL64.
18351         (elf_machine_rela): Likewise.
18353 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18355         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18356         by setting it to 0.  64b atomics are not supported currently.
18358 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18360         [BZ #16469]
18361         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18362         search domain names.
18364 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18366         [BZ #16469]
18367         * NEWS: Update.
18368         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18369         trailing dot.
18370         * posix/tst-getaddrinfo5.c: New.
18371         * posix/Makefile (tests): Add it.
18373 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18375         [BZ #14498]
18376         * NEWS: Fixed.
18377         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18378         after parsing line but before break_if_match.
18379         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18380         if there is a protocol mismatch.
18382 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18384         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18385         because the potential race is on the user-supplied stream.
18387 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18389         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18390         string literal if not passed a buffer.
18391         * manual/job.texi (ctermid): Update reasoning, note deviation
18392         from posix, suggest mtasurace when not passed a buffer, for
18393         future non-preliminary safety notes.
18395 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18397         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18398         of not passing it a buffer.
18399         Reported by Peng Haitao.
18401 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18403         * manual/Makefile ($(objpfx)stamp-summary): Require
18404         check-safety.sh to pass.
18405         * manual/check-safety.sh: Wish for verification that every
18406         @deftypefn and @deftypefun is followed by a @safety remark.
18408 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18410         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18412         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18413         PTHREAD_CANCEL_ASYNCHRONOUS.
18414         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18415         send SIGCANCEL.
18417         * nptl/default-sched.h: New file.
18418         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18419         * nptl/pthread_create.c: Include it.
18420         (__pthread_create_2_1): Use collect_default_sched instead of making
18421         Linux syscalls here directly.
18423 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18425         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18426         __pthread_once): Use C11 atomics.
18428 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18430         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18432 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18434         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18435         atomic_thread_fence_acquire, atomic_thread_fence_release,
18436         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18437         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18438         atomic_compare_exchange_weak_relaxed,
18439         atomic_compare_exchange_weak_acquire,
18440         atomic_compare_exchange_weak_release,
18441         atomic_exchange_acquire, atomic_exchange_release,
18442         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18443         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18444         atomic_fetch_and_acquire,
18445         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18447 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18449         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18450         USE_ATOMIC_COMPILER_BUILTINS): Define.
18451         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18453         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18455         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18457         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18459         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18461         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18462         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18463         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18465         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18467         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18468         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18469         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18471         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18473         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18474         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18475         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18476         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18477         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18478         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18479         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18480         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18481         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18482         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18483         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18484         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18485         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18486         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18487         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18488         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18489         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18492 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18494         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18495         the sched_priority value here.  It was already checked when the user
18496         called pthread_attr_setschedparam.
18498         * nptl/tst-bad-schedattr.c: New file.
18499         * nptl/Makefile (tests): Add it.
18501 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18502             Florian Weimer  <fweimer@redhat.com>
18503             Joseph Myers  <joseph@codesourcery.com>
18504             Adam Conrad  <adconrad@0c3.net>
18505             Andreas Schwab  <schwab@suse.de>
18506             Brooks  <bmoses@google.com>
18508         [BZ #17625]
18509         * wordexp-test.c (__dso_handle): Add prototype.
18510         (__register_atfork): Likewise.
18511         (__app_register_atfork): New function.
18512         (registered_forks): New global.
18513         (register_fork): New function.
18514         (test_case): Add 3 new tests for WRDE_CMDSUB.
18515         (main): Call __app_register_atfork.
18516         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
18517         fork count is non-zero fail the test.
18518         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
18519         is set.
18520         (parse_dollars): Remove check for WRDE_NOCMD.
18521         (parse_dquote): Likewise.
18523 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18525         * Makeconfig (built-modules): List non-library modules to be
18526         built.
18527         (module-cppflags): Include libc-modules.h for
18528         everything except shlib-versions.v.i.
18529         (CPPFLAGS): Use it.
18530         (before-compile): Add libc-modules.h.
18531         ($(common-objpfx)libc-modules.h,
18532         $(common-objpfx)libc-modules.stmp): New targets.
18533         (common-generated): Add libc-modules.h and libc-modules.stmp.
18534         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
18535         * include/libc-symbols.h: Don't include libc-modules.h.
18536         * include/libc-modules.h: Remove file.
18537         * scripts/gen-libc-modules.awk: New script to generate
18538         libc-modules.h.
18539         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
18540         Depend on libc-modules.stmp.
18542         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
18544         * Makeconfig (in-module): Get value of libof set for the
18545         translation unit.
18546         (CPPFLAGS): Use $(in-module).
18547         * Makerules: Don't suffix routine names for nonlib.
18548         * include/libc-modules.h: New file.
18549         * include/libc-symbols.h: Include libc-modules.h
18550         (IS_IN): New macro to replace IS_IN_* macros.
18551         * elf/Makefile: Set libof-* for each routine.
18552         * elf/rtld-Rules: Likewise.
18553         * extra-modules.mk: Likewise.
18554         * iconv/Makefile: Likewise.
18555         * iconvdata/Makefile: Likewise.
18556         * locale/Makefile: Likewise.
18557         * malloc/Makefile: Likewise.
18558         * nss/Makefile: Likewise.
18559         * sysdeps/gnu/Makefile: Likewise.
18560         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
18561         * sysdeps/unix/sysv/linux/Makefile: Likewise.
18562         * sysdeps/s390/s390-64/Makefile: Likewise.
18563         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
18564         CPPFLAGS for nscd instead of nonlib.
18566 2014-11-18  Roland McGrath  <roland@hack.frob.com>
18568         * nptl/createthread.c: New file.
18570         * nptl/createthread.c: Moved ...
18571         * sysdeps/unix/sysv/linux/createthread.c: ... here.
18573         * nptl/createthread.c: Add proper top-line comment.
18574         (do_clone): Folded into ...
18575         (create_thread): ... here.  Take new arguments STOPPED_START and
18576         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
18577         increment __nptl_threads, do event-reporting logic, do
18578         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
18579         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
18580         resource cleanup if sched_setaffinity or sched_setscheduler fails,
18581         just send SIGCANCEL.
18582         * nptl/pthread_create.c: Forward-declare create_thread before
18583         including createthread.c.
18584         (start_thread): Use new macro START_THREAD_DEFN to replace defining
18585         declaration, and new macro START_THREAD_SELF to replace argument.
18586         Remove return statement.
18587         (report_thread_creation): New function.
18588         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
18589         synchronization logic, and __nptl_nthreads increment here, around
18590         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
18591         PD->parent_cancelhandling here, before create_thread.  When
18592         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
18593         __deallocate_stack, and ENOMEM translation here.
18595 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
18597         [BZ #17616]
18598         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
18599         (mptwo): Rename to __mptwo.
18600         (__inv): Use __mptwo instead of mptwo.
18601         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
18602         (mptwo): Rename to __mptwo.
18603         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
18604         of mpone and __mptwo instead of mptwo.
18605         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
18606         instead of mpone.
18607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18608         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
18609         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
18610         of mpone and __mptwo instead of mptwo.
18611         (__mpranred): Use __mpone instead of mpone.
18612         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
18613         variable.
18614         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18615         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18616         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18617         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18618         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18619         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18620         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18621         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18622         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18623         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18624         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18625         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18626         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18627         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18628         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18629         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18630         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18631         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18632         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18634 2014-11-18  Tom de Vries  <tom@codesoucery.com>
18636         * manual/signal.texi (Primitives Interrupted by Signals): In section,
18637         replace BSD Handler xref with BSD Signal Handling.
18639 2014-11-17  Richard Henderson  <rth@redhat.com>
18641         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
18642         (_FP_PACK_RAW_2): Remove.
18643         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
18644         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
18645         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
18646         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
18647         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
18648         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
18649         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
18650         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
18651         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
18652         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
18653         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
18654         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
18655         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
18656         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
18657         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
18658         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
18660 2014-11-14  Roland McGrath  <roland@hack.frob.com>
18662         * signal/signal.h [__USE_MISC]
18663         (struct sigvec): Remove type.
18664         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
18665         (sigvec): Remove declaration.
18666         * sysdeps/posix/sigvec.c: Moved ...
18667         * signal/sigvec.c: ... here, replacing old file.
18668         (struct sigvec): New type, copied from old signal.h definition.
18669         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
18670         (__sigvec): Convert definition to prototype.
18671         (sigvec): Replace weak_alias with compat_symbol.
18672         * signal/Versions (libc: GLIBC_2.21): New version set.
18673         * include/signal.h: Remove __sigvec declaration.
18674         * sysdeps/unix/bsd/sigvec.c: Remove file.
18675         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
18676         * manual/signal.texi (BSD Handler): Remove subsection.
18677         Move siginterrupt up to ...
18678         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
18679         (Blocking in BSD): Fold subsection into its parent.
18680         * NEWS: Mention sigvec removal.
18682 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18684         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
18685         (DLA_FMS): Make definition conditional only on [__FMA4__].
18686         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
18687         definition.
18689         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
18690         Make definition conditional only on [PROF].
18691         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
18692         definition.
18693         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
18694         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
18696         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
18697         !__GNUC__].
18698         * include/signal.h (__sigpause): Move declaration above call to
18699         libc_hidden_proto.
18700         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
18701         variable.
18702         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18703         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18705 2014-11-14  David S. Miller  <davem@davemloft.net>
18707         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
18708         Define before including <string/memcpy.c> and <string/mempcpy.c>.
18710 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
18712         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
18713         * configure: Regenerated.
18714         * manual/install.texi (Tools for Compilation): Document a
18715         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
18716         compiler verified to work.
18717         * INSTALL: Regenerated.
18719         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
18720         redeclare with asm name.
18721         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
18722         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
18723         including <string.h>.
18724         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18725         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
18726         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18727         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
18728         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18729         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18730         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
18732 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
18734         * stdlib/strtol.c (__strtol): Use prototype definition.
18736         [BZ #17594]
18737         * stdlib/strtol.c (SYM__): New macro.
18738         (SYM__1): Likewise.
18739         (__strtol): Likewise.
18740         (strtol): Rename to __strtol and define as weak alias of
18741         __strtol.  Use libc_hidden_weak.
18743 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18745         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
18746         Use numbered labels in inline assembly.
18748 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18750         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
18751         Add setjmp LIBC_PROBE.
18752         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
18753         Likewise.
18754         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
18755         Add longjmp, longjmp_target LIBC_PROBE.
18756         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
18757         Likewise.
18759 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18761         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18762         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
18763         to get rid of unused variable warning.
18765 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18767         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
18768         Check for unwind_backtrace ==  NULL only in SHARED case.
18769         (__backchain_backtrace): Compile only in SHARED case.
18770         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
18771         Likewise.
18772         (__backchain_backtrace): Declare as static.
18774 2014-11-12  Roland McGrath  <roland@hack.frob.com>
18776         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
18777         (__libc_multiple_threads_ptr): Variable moved ...
18778         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
18780 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
18782         * conform/GlibcConform.pm: New file.
18783         * conform/conformtest.pl: Use GlibcConform module.
18784         * conform/linknamespace.pl: New file.
18785         * conform/list-header-symbols.pl: Likewise.
18786         * conform/Makefile (linknamespace-symlists-base): New variable.
18787         (linknamespace-symlists-tests): Likewise.
18788         (linknamespace-header-base): Likewise.
18789         (linknamespace-header-tests): Likewise.
18790         (tests-special): Add new tests.
18791         ($(linknamespace-symlists-tests)): New rule.
18792         (linknamespace-libs): New variable.
18793         ($(objpfx)symlist-stdlibs): New rule.
18794         ($(linknamespace-header-tests)): Likewise.
18795         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
18796         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
18797         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
18798         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
18799         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
18800         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
18801         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
18802         (test-xfail-ISO/math.h/linknamespace): Likewise.
18803         (test-xfail-ISO/signal.h/linknamespace): Likewise.
18804         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
18805         (test-xfail-ISO/time.h/linknamespace): Likewise.
18806         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
18807         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
18808         (test-xfail-ISO99/math.h/linknamespace): Likewise.
18809         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
18810         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18811         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
18812         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
18813         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18814         (test-xfail-ISO11/math.h/linknamespace): Likewise.
18815         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
18816         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18817         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
18818         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18819         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
18820         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
18821         (test-xfail-XPG3/math.h/linknamespace): Likewise.
18822         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
18823         (test-xfail-XPG3/search.h/linknamespace): Likewise.
18824         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
18825         (test-xfail-XPG3/time.h/linknamespace): Likewise.
18826         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
18827         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18828         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18829         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
18830         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18831         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18832         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
18833         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
18834         (test-xfail-XPG4/math.h/linknamespace): Likewise.
18835         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
18836         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
18837         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18838         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18839         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18840         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
18841         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
18842         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
18843         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
18844         (test-xfail-XPG4/time.h/linknamespace): Likewise.
18845         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
18846         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18847         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
18848         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18849         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18850         (test-xfail-POSIX/math.h/linknamespace): Likewise.
18851         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
18852         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
18853         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18854         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
18855         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
18856         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18857         (test-xfail-POSIX/time.h/linknamespace): Likewise.
18858         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
18859         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18860         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
18861         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18862         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18863         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18864         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18865         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
18866         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
18867         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
18868         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
18869         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18870         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
18871         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
18872         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
18873         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
18874         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18875         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
18876         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18877         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18878         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18879         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18880         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18881         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
18882         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
18883         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
18884         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18885         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
18886         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
18887         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
18888         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18889         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18890         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18891         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
18892         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
18893         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
18894         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18895         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
18896         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
18897         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
18898         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18899         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18900         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18901         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
18902         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
18903         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
18904         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18905         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18906         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18907         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18908         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18909         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
18910         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18911         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18912         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18913         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18914         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
18915         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
18916         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18917         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
18918         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18919         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18920         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
18921         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18922         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18923         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18924         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18925         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18926         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18927         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18928         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18929         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18930         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
18931         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18932         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
18933         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18934         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
18935         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18936         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18937         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18938         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18939         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18940         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18941         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18942         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18943         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18944         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18945         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18946         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18947         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18948         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18949         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18950         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18951         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18952         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18953         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18954         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18955         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18957         [BZ #17589]
18958         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18959         of fgets_unlocked.
18961         [BZ #17585]
18962         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18963         (memmem): Rename to __memmem and define as weak alias of
18964         __memmem.  Use libc_hidden_weak.
18965         (__memmem): Use libc_hidden_def.
18966         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18967         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18968         memmem.
18970         [BZ #17582]
18971         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18972         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18973         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18974         and define as weak alias of __fgets_unlocked.  Use
18975         libc_hidden_weak.
18976         (__fgets_unlocked): Use libc_hidden_def.
18977         * include/stdio.h (__fgets_unlocked): Declare.  Use
18978         libc_hidden_proto.
18979         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18980         __fgets_unlocked instead of fgets_unlocked.
18981         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18982         (GET_NPROCS_CONF_PARSER): Likewise.
18983         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18984         (GET_NPROCS_CONF_PARSER): Likewise.
18986         [BZ #17574]
18987         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18988         weak alias of __wmemset.  Use libc_hidden_weak.
18989         (__wmemset): Use libc_hidden_def.
18990         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18991         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18992         of wmemset.
18994         [BZ #17573]
18995         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18996         with asm name __mempcpy.
18997         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18999         [BZ #17572]
19000         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19001         and define as weak alias of __rawmemchr.
19002         (__rawmemchr): Do not define as strong alias of rawmemchr.
19004         [BZ #17571]
19005         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19006         alias of __qsort_r.
19007         (qsort): Call __qsort_r instead of qsort_r.
19008         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19009         (__qsort_r): Declare.  Call libc_hidden_proto.
19010         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19011         instead of qsort_r.
19012         * nscd/gai.c (__qsort_r): Define to qsort_r.
19013         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19014         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19015         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19017         [BZ #17570]
19018         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19019         define as weak alias of __malloc_info.
19021         [BZ #17584]
19022         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19023         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19024         (__rewinddir): Use libc_hidden_def.
19025         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19026         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19027         (__rewinddir): Use libc_hidden_def.
19028         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19029         weak alias of __rewinddir.  Don't use libc_hidden_def.
19030         (__rewinddir): Use libc_hidden_def.
19031         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19032         (__rewinddir): Use libc_hidden_proto.
19033         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19034         rewinddir.
19035         (__getcwd): Use __rewinddir instead of rewinddir.
19037         [BZ #17583]
19038         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19039         alias of __fileno.  Use libc_hidden_weak.
19040         (__fileno): Use libc_hidden_def.
19041         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19042         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19043         alias of __ftello.
19044         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19045         __ftello.
19046         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19047         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19048         libc_hidden_def.
19049         (fread_unlocked): Don't use libc_hidden_ver.
19050         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19051         and define as weak alias of __fread_unlocked.  Don't use
19052         libc_hidden_def.
19053         (__fread_unlocked): Use libc_hidden_def.
19054         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19055         (ftello): Don't use libc_hidden_proto.
19056         (__ftello): Declare.  Use libc_hidden_proto.
19057         (fread_unlocked): Don't use libc_hidden_proto.
19058         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19059         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19060         and __ftello instead of fileno, fread_unlocked and ftello.
19062 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19064         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19065         GOT12.
19066         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19067         Likewise.
19068         (_dl_start_user): Likewise.
19069         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19071 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19072             Siddhesh Poyarekar  <siddhesh@redhat.com>
19074         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19075         Move argv and envp down instead of moving argc up.
19076         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19078 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19080         [BZ #17506]
19081         * test-skeleton.c (main): Return successful if one of
19082         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19083         * string/tst-strcoll-overflow.c: Define expected status.
19085 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19087         [BZ #17475]
19088         * locale/iso-639.def: Define Bhili and Tulu language codes.
19090 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19092         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19094 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19096         [BZ #17555]
19097         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19099 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19101         * configure.ac: Updated check of minimal required version to
19102         2.22.
19103         * manual/install.texi (Tools for Compilation): Updated version
19104         number.
19105         * configure: Regenerated.
19106         * INSTALL: Likewise.
19108 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19110         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19111         __tls_get_addr.
19113 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19115         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19116         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19117         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19118         libc_hidden_weak.
19119         (waitpid): Define as alias of __waitpid.
19120         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19121         __waitpid.
19122         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19123         libc_hidden_weak.
19124         (waitpid): Define as alias of __waitpid.
19125         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19126         __libc_waitpid alias.
19127         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19128         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19129         Likewise.
19130         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19131         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19132         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19133         alias.
19134         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19135         __waitpid.
19136         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19137         libc_hidden_weak.
19138         (waitpid): Define as alias of __waitpid.
19140 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19142         * manual/llio.texi: Add comment that write safety has been
19143         fixed in Linux.
19145         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19146         (localplt-build-dso): Add elf/ld.so.
19147         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19148         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19149         and free for ld.so.
19150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19151         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19153         Likewise.
19154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19155         Likewise.
19156         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19157         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19158         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19159         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19160         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19161         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19162         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19163         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19164         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19165         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19166         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19168 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19170         [BZ #14132]
19171         * include/libc-symbols.h (INTUSE): Remove macro.
19172         (INTDEF): Likewise.
19173         (INTVARDEF): Likewise.
19174         (_INTVARDEF): Likewise.
19175         (INTDEF2): Likewise.
19176         (INTVARDEF2): Likewise.
19177         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19178         rtld_hidden_def instead of INTVARDEF.
19179         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19180         (_dl_starting_up_internal): Remove declaration.
19181         (_dl_starting_up): Use rtld_hidden_proto.
19182         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19183         declaration.
19184         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19185         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19186         _dl_starting_up.
19187         * elf/dl-writev.h (_dl_writev): Likewise.
19188         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19189         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19190         _dl_starting_up_internal.
19192 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19194         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19195         test-skeleton.c.
19197 2014-11-05  Will Newton  <will.newton@linaro.org>
19199         * benchtests/Makefile: (bench-malloc): Add malloc thread
19200         scalability benchmark.
19201         * benchtests/bench-malloc-threads.c: New file.
19203 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19205         * sysdeps/aarch64/strchrnul.S: New file.
19207 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19209         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19210         definition.
19211         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19212         Likwise.
19213         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19214         Likewise.
19215         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19216         Likewise.
19217         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19218         Likewise.
19219         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19220         Likewise.
19222 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19224         * catgets/test-gencat.c: Use test-skeleton.c.
19225         * catgets/tst-catgets.c: Likewise.
19226         * csu/tst-empty.c: Likewise.
19227         * elf/tst-audit2.c: Likewise.
19228         * elf/tst-global1.c: Likewise.
19229         * elf/tst-pathopt.c: Likewise.
19230         * elf/tst-piemod1.c: Likewise.
19231         * elf/tst-tls10.c: Likewise.
19232         * elf/tst-tls11.c: Likewise.
19233         * elf/tst-tls12.c: Likewise.
19234         * gnulib/tst-gcc.c: Likewise.
19235         * iconvdata/tst-e2big.c: Likewise.
19236         * iconvdata/tst-loading.c: Likewise.
19237         * iconv/tst-iconv1.c: Likewise.
19238         * iconv/tst-iconv2.c: Likewise.
19239         * inet/test-inet6_opt.c: Likewise.
19240         * inet/tst-gethnm.c: Likewise.
19241         * inet/tst-network.c: Likewise.
19242         * inet/tst-ntoa.c: Likewise.
19243         * intl/tst-codeset.c: Likewise.
19244         * intl/tst-gettext2.c: Likewise.
19245         * intl/tst-gettext3.c: Likewise.
19246         * intl/tst-ngettext.c: Likewise.
19247         * intl/tst-translit.c: Likewise.
19248         * io/test-stat.c: Likewise.
19249         * libio/test-fmemopen.c: Likewise.
19250         * libio/tst-freopen.c: Likewise.
19251         * libio/tst-sscanf.c: Likewise.
19252         * libio/tst-ungetwc1.c: Likewise.
19253         * libio/tst-ungetwc2.c: Likewise.
19254         * libio/tst-widetext.c: Likewise.
19255         * localedata/tst-ctype.c: Likewise.
19256         * localedata/tst-digits.c: Likewise.
19257         * localedata/tst-leaks.c: Likewise.
19258         * localedata/tst-mbswcs1.c: Likewise.
19259         * localedata/tst-mbswcs2.c: Likewise.
19260         * localedata/tst-mbswcs3.c: Likewise.
19261         * localedata/tst-mbswcs4.c: Likewise.
19262         * localedata/tst-mbswcs5.c: Likewise.
19263         * localedata/tst-setlocale.c: Likewise.
19264         * localedata/tst-trans.c: Likewise.
19265         * localedata/tst-wctype.c: Likewise.
19266         * localedata/tst-xlocale1.c: Likewise.
19267         * login/tst-grantpt.c: Likewise.
19268         * malloc/tst-calloc.c: Likewise.
19269         * malloc/tst-malloc.c: Likewise.
19270         * malloc/tst-mallocstate.c: Likewise.
19271         * malloc/tst-mcheck.c: Likewise.
19272         * malloc/tst-mtrace.c: Likewise.
19273         * malloc/tst-obstack.c: Likewise.
19274         * math/atest-exp2.c: Likewise.
19275         * math/atest-exp.c: Likewise.
19276         * math/atest-sincos.c: Likewise.
19277         * math/test-matherr.c: Likewise.
19278         * math/test-misc.c: Likewise.
19279         * math/test-powl.c: Likewise.
19280         * math/tst-definitions.c: Likewise.
19281         * misc/tst-dirname.c: Likewise.
19282         * misc/tst-efgcvt.c: Likewise.
19283         * misc/tst-fdset.c: Likewise.
19284         * misc/tst-hsearch.c: Likewise.
19285         * misc/tst-mntent2.c: Likewise.
19286         * nptl/tst-sem7.c: Likewise.
19287         * nptl/tst-sem8.c: Likewise.
19288         * nptl/tst-sem9.c: Likewise.
19289         * nss/test-netdb.c: Likewise.
19290         * posix/tst-fnmatch.c: Likewise.
19291         * posix/tst-getlogin.c: Likewise.
19292         * posix/tst-gnuglob.c: Likewise.
19293         * posix/tst-mmap.c: Likewise.
19294         * pwd/tst-getpw.c: Likewise.
19295         * resolv/tst-inet_ntop.c: Likewise.
19296         * rt/tst-timer.c: Likewise.
19297         * stdio-common/test-fseek.c: Likewise.
19298         * stdio-common/test-popen.c: Likewise.
19299         * stdio-common/test-vfprintf.c: Likewise.
19300         * stdio-common/tst-cookie.c: Likewise.
19301         * stdio-common/tst-fileno.c: Likewise.
19302         * stdio-common/tst-gets.c: Likewise.
19303         * stdio-common/tst-obprintf.c: Likewise.
19304         * stdio-common/tst-perror.c: Likewise.
19305         * stdio-common/tst-sprintf2.c: Likewise.
19306         * stdio-common/tst-sprintf3.c: Likewise.
19307         * stdio-common/tst-sprintf.c: Likewise.
19308         * stdio-common/tst-swprintf.c: Likewise.
19309         * stdio-common/tst-tmpnam.c: Likewise.
19310         * stdio-common/tst-unbputc.c: Likewise.
19311         * stdio-common/tst-wc-printf.c: Likewise.
19312         * stdlib/tst-environ.c: Likewise.
19313         * stdlib/tst-fmtmsg.c: Likewise.
19314         * stdlib/tst-limits.c: Likewise.
19315         * stdlib/tst-rand48-2.c: Likewise.
19316         * stdlib/tst-rand48.c: Likewise.
19317         * stdlib/tst-random2.c: Likewise.
19318         * stdlib/tst-random.c: Likewise.
19319         * stdlib/tst-strtol.c: Likewise.
19320         * stdlib/tst-strtoll.c: Likewise.
19321         * stdlib/tst-tls-atexit.c: Likewise.
19322         * stdlib/tst-xpg-basename.c: Likewise.
19323         * string/test-ffs.c: Likewise.
19324         * string/tst-bswap.c: Likewise.
19325         * string/tst-inlcall.c: Likewise.
19326         * string/tst-strtok.c: Likewise.
19327         * string/tst-strxfrm.c: Likewise.
19328         * sysdeps/x86_64/tst-audit10.c: Likewise.
19329         * sysdeps/x86_64/tst-audit3.c: Likewise.
19330         * sysdeps/x86_64/tst-audit4.c: Likewise.
19331         * sysdeps/x86_64/tst-audit5.c: Likewise.
19332         * time/tst-ftime_l.c: Likewise.
19333         * time/tst-getdate.c: Likewise.
19334         * time/tst-mktime3.c: Likewise.
19335         * time/tst-mktime.c: Likewise.
19336         * time/tst-posixtz.c: Likewise.
19337         * time/tst-strptime2.c: Likewise.
19338         * time/tst-strptime3.c: Likewise.
19339         * wcsmbs/tst-btowc.c: Likewise.
19340         * wcsmbs/tst-mbrtowc.c: Likewise.
19341         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19342         * wcsmbs/tst-wchar-h.c: Likewise.
19343         * wcsmbs/tst-wcpncpy.c: Likewise.
19344         * wcsmbs/tst-wcrtomb.c: Likewise.
19345         * wcsmbs/tst-wcsnlen.c: Likewise.
19346         * wcsmbs/tst-wcstof.c: Likewise.
19348 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19350         [BZ #14132]
19351         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19352         INTDEF.
19353         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19354         declaration.
19355         (_dl_mcount): Use rtld_hidden_proto.
19356         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19357         _dl_mcount.
19358         * elf/rtld.c (_rtld_global_ro): Likewise.
19360         [BZ #14132]
19361         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19362         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19363         of _dl_init_internal.
19364         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19365         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19366         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19367         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19368         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19369         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19370         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19371         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19372         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19373         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19374         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19375         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19376         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19377         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19378         * sysdeps/tile/dl-start.S (_start): Likewise.
19379         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19380         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19382         [BZ #14132]
19383         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19384         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19385         (rtld_progname): Make macro definition unconditional.
19386         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19387         INTDEF.
19388         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19389         (dl_main): Likewise.
19390         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19391         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19392         instead of _dl_argv_internal.
19393         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19394         __GI__dl_argv instead of INTUSE(_dl_argv).
19395         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19396         __GI__dl_argv instead of _dl_argv_internal.
19398         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19399         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19400         macro.
19401         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19402         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19403         New macro.
19404         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19405         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19406         macro.
19407         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19408         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19410 2014-11-04  Andreas Schwab  <schwab@suse.de>
19412         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19414 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19416         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19417         mtvsrd instruction in binary form.
19419 2014-11-03  Andreas Schwab  <schwab@suse.de>
19421         [BZ #17522]
19422         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19423         for less than MB_LEN_MAX use a local buffer of that size.
19424         * libio/tst-fputws.c: New file.
19425         * libio/Makefile (tests): Add tst-fputws.
19427 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19429         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19430         the size of the fpu_fr.fpu_dregs[] array.
19432 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19434         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19435         (__nanosleep): Do not define as alias.
19436         (nanosleep): Define as alias of __nanosleep.
19437         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19438         __libc_nanosleep name.
19440 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19442         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19443         install.texi in comment.
19445 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19447         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19448         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19449         ... add here and use lwsync or sync ...
19450         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19451         ... and add here using lwsync.
19453 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19455         * elf/dl-machine-reject-phdr.h: New file.
19456         * elf/dl-load.c: #include that.
19457         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19458         if that returned true.
19460 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19462         [BZ #17496]
19463         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19464         gen-as-const-headers chunk.  Add a big scare comment after the last
19465         safe place to touch before-compile.
19467 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19469         * manual/install.texi (Tools for Compilation): Update autoconf
19470         version requirements.
19471         * INSTALL: Regenerated.
19473         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19474         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19475         (__libc_pselect): Likewise.
19477         [BZ #14138]
19478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19483 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19485         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19486         correct barrier instruction.
19487         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19488         Likewise.
19489         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19490         Likewise.
19492 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19494         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19495         after defining inlines.  Instead, just use parens to defeat macro
19496         expansion of __isctype in its declaration.
19498 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19500         * include/sys/uio.h (__libc_readv): Remove declaration.
19501         (__libc_writev): Likewise.
19502         * misc/readv.c (__libc_readv): Rename to __readv.
19503         (__readv): Do not define as alias.
19504         (readv): Define as alias of __readv.
19505         * misc/writev.c (__libc_writev): Rename to __writev.
19506         (__writev): Do not define as alias.
19507         (writev): Define as alias of __writev.
19508         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
19509         (__readv): Do not define as alias.
19510         (readv): Define unconditionally as alias of __readv.
19511         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
19512         (__writev): Do not define as alias.
19513         (writev): Define unconditionally as alias of __writev.
19514         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
19515         name.
19516         (writev): Do not define __libc_writev name.
19518 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19520         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
19521         (convert_charseq): New function, broken out of ...
19522         (use_from_charmap): ... here.  Call it.
19523         (use_to_charmap): Use convert_charseq and free instead of duplicating
19524         its code with a variable-length stack struct.
19526 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19528         * include/fcntl.h (__libc_creat): Remove declaration.
19529         * io/creat.c (__libc_creat): Rename to creat.
19530         (creat): Do not define as alias.
19531         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
19532         of creat instead of __libc_creat.
19533         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
19534         to creat.
19535         (creat): Do not define as alias.
19536         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
19537         __libc_creat.
19538         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
19539         __libc_creat name.
19540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
19541         Likewise.
19543 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
19545         * manual/llio.texi: Add comments discussing why write() may be
19546         considered MT-unsafe on Linux.
19548 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
19550         * dl-load.c (local_strdup): Remove.
19551         (expand_dynamic_string_token): Use __strdup.
19552         (decompose_rpath): Likewise.
19553         (_dl_map_object): Likewise.
19555 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
19557         [BZ #14132]
19558         * sysdeps/generic/unwind-dw2-fde.c
19559         (__register_frame_info_bases_internal): Do not declare.
19560         (__register_frame_info_table_bases_internal): Likewise.
19561         (__deregister_frame_info_bases_internal): Likewise.
19562         (__register_frame_info_bases): Declare and use hidden_proto before
19563         definition.  Use hidden_def instead of INTDEF.
19564         (__register_frame_info_table_bases): Likewise.
19565         (__deregister_frame_info_bases): Likewise.
19566         (__register_frame_info): Do not use INTUSE.
19567         (__register_frame): Likewise.
19568         (__register_frame_info_table): Likewise.
19569         (__register_frame_table): Likewise.
19570         (__deregister_frame_info): Likewise.
19571         (__deregister_frame): Likewise.
19573 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
19575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19576         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
19577         not undefine.
19578         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
19579         Likewise.
19580         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
19581         Likewise.
19583 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
19585         [BZ #14138]
19586         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
19587         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
19588         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
19589         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
19590         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
19591         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
19592         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
19593         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
19594         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
19595         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
19596         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
19597         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
19598         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
19599         syscall.
19600         (setfsuid): Likewise.
19601         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
19602         (setfsuid): Likewise.
19603         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
19604         (setfsuid): Likewise.
19605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
19606         Likewise.
19607         (setfsuid): Likewise.
19608         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
19609         (setfsuid): Likewise.
19610         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
19611         Likewise.
19612         (setfsuid): Likewise.
19614 2014-10-27  Andreas Schwab  <schwab@suse.de>
19616         [BZ #17501]
19617         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
19618         check for Slow_SSE4_2 feature bit.
19619         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
19620         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19621         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
19622         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
19624 2014-10-24  Roland McGrath  <roland@hack.frob.com>
19626         * configure.ac: Validate compiler version with a empirical test of
19627         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
19628         $CC -v output.
19629         * configure: Regenerated.
19631         * inet/htons.c (htons): Prototypify.
19632         * inet/htonl.c (htonl): Likewise.
19634 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19636         * string/strncat.c (strncat): Improve performance by using strlen.
19638 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19640         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
19642 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19644         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
19645         Call libc_fetestexcept_aarch64.
19647 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19649         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
19650         Call libc_feholdexcept_aarch64.
19652 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19654         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
19655         Call get_rounding_mode.
19657 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19659         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19660         Simplify logic.
19662 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
19664         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
19665         Simplify logic.
19667 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
19669         [BZ #14138]
19670         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
19671         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
19672         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
19673         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
19674         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
19675         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
19676         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
19677         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
19678         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
19679         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
19680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19681         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
19682         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
19683         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
19684         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
19685         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
19686         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
19687         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
19688         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
19689         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
19690         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
19691         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
19692         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
19693         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
19694         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
19695         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
19696         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
19697         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
19698         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
19699         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
19700         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
19701         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
19702         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
19703         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
19704         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
19705         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
19706         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
19707         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
19708         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
19709         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
19710         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
19711         syscall.
19712         (geteuid): Likewise.
19713         (getgid): Likewise.
19714         (getuid): Likewise.
19715         (getresgid): Likewise.
19716         (getresuid): Likewise.
19717         (getgroups): Likewise.
19718         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
19719         (geteuid): Likewise.
19720         (getgid): Likewise.
19721         (getuid): Likewise.
19722         (getresgid): Likewise.
19723         (getresuid): Likewise.
19724         (getgroups): Likewise.
19725         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
19726         (geteuid): Likewise.
19727         (getgid): Likewise.
19728         (getuid): Likewise.
19729         (getresgid): Likewise.
19730         (getresuid): Likewise.
19731         (getgroups): Likewise.
19732         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
19733         Likewise.
19734         (geteuid): Likewise.
19735         (getgid): Likewise.
19736         (getuid): Likewise.
19737         (getresgid): Likewise.
19738         (getresuid): Likewise.
19739         (getgroups): Likewise.
19740         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
19741         (geteuid): Likewise.
19742         (getgid): Likewise.
19743         (getuid): Likewise.
19744         (getresgid): Likewise.
19745         (getresuid): Likewise.
19746         (getgroups): Likewise.
19747         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
19748         Likewise.
19749         (geteuid): Likewise.
19750         (getgid): Likewise.
19751         (getuid): Likewise.
19752         (getgroups): Likewise.
19754         [BZ #14138]
19755         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
19756         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
19757         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
19758         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19759         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
19760         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
19761         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
19762         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
19763         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
19764         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
19765         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
19766         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
19767         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
19768         __chown.
19769         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
19770         (lchown): Likewise.
19771         (fchown): Likewise.
19772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
19773         Likewise.
19774         (lchown): Likewise.
19775         (fchown): Likewise.
19776         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
19777         (lchown): Likewise.
19778         (fchown): Likewise.
19779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
19780         Likewise.
19781         (lchown): Likewise.
19782         (fchown): Likewise.
19784 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19786         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
19787         Simplify logic.
19789 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19791         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19792         Cleanup logic.
19794 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19796         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
19797         Remove unused include.
19799 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
19801         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
19802         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
19803         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
19804         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
19806 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
19807             Helge Deller <deller@gmx.de>
19809         [BZ #17508]
19810         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
19811         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
19812         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
19814 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
19816         [BZ #14132]
19817         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
19818         Remove macro definition.
19819         (__ashrdi3_v_glibc20): Likewise.
19820         (__lshrdi3_v_glibc20): Likewise.
19821         (__cmpdi2_v_glibc20): Likewise.
19822         (__ucmpdi2_v_glibc20): Likewise.
19823         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
19824         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19825         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19826         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19827         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19828         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
19830 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19832         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
19833         old GNU extension [0] syntax.
19834         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
19835         alloca rather than an array member with variable length.
19836         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
19837         * nscd/nscd.c (invalidate_db): New function, broken out of ...
19838         (parse_opt): ... here.  Likewise use alloca there.
19839         Validate the -i argument before checking for rootness.
19840         (send_shutdown): New function, broken out of ...
19841         (parse_opt): ... here.
19843 2014-10-22  Roland McGrath  <roland@hack.frob.com>
19845         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
19846         macro to get at the _rt_local_ro field.
19847         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
19848         ([PIC] case) or _dl_hwcap ([!PIC] case).
19849         * sysdeps/arm/setjmp.S: Likewise.
19851         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
19852         * sysdeps/arm/configure.ac: New check to define it.
19853         * sysdeps/arm/configure: Regenerated.
19854         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
19855         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
19856         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
19857         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
19858         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
19859         Use move/movt pair instead of a load.
19860         (LDST_GLOBAL): Macro removed.
19861         (LDR_GLOBAL): New macro replaces it.
19862         (LDR_HIDDEN): New macro.
19863         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
19864         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
19866         * setjmp/tst-setjmp-static.c: New file.
19867         * setjmp/Makefile (tests): Add it.
19868         (tests-static): New variable.
19870 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
19872         [BZ #17485]
19873         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
19875 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
19877         [BZ #14132]
19878         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
19880 2014-10-21  Roland McGrath  <roland@hack.frob.com>
19882         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
19884 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19886         * io/fts.c (dirent_not_directory): New function.
19887         (fts_build): Call it.
19889 2014-10-20  Roland McGrath  <roland@hack.frob.com>
19891         * nptl/version.c (__nptl_main): Use normal __write rather than
19892         INTERNAL_SYSCALL.
19893         (banner): Update copyright years.
19895         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
19896         gettimeofday.
19897         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
19898         * nptl/pthread_cond_timedwait.c: Likewise.
19899         * nptl/pthread_mutex_timedlock.c: Likewise.
19900         * nptl/sem_timedwait.c: Likewise.
19902         * sysdeps/nptl/bits/libc-lock.h
19903         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19904         (__libc_lock_init_recursive): Return void, not 0.
19905         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
19906         (__libc_rwlock_init): Likewise.
19907         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
19909 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19911         [BZ #15215]
19912         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
19913         (__pthread_once_slow): ... here.
19914         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
19915         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
19917 2014-10-20  Torvald Riegel  <triegel@redhat.com>
19919         [BZ #15215]
19920         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
19921         __PTHREAD_ONCE_FORK_GEN_INCR): New.
19922         * sysdeps/nptl/fork.c (__libc_fork): Use them.
19923         * nptl/pthread_once.c (__pthread_once): Likewise.
19924         Update comments.
19926 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
19928         [BZ #14138]
19929         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
19930         name.
19931         (writev): Use __libc_writev as strong name.
19932         * sysdeps/unix/sysv/linux/readv.c: Remove file.
19933         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19935 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19937         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19939         * sysdeps/i386/nptl/tls.h
19940         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19941         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19942         New macros.
19943         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19944         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19945         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19946         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19947         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19948         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19950         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19951         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19952         on [__NR_futex].
19953         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19954         broken out of ...
19955         (__pthread_mutex_init): ... here.  Call it.
19956         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19957         Conditionalize PI cases on [__NR_futex].
19958         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19959         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19960         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19962         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19963         conditional on [SIGSETXID].
19964         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19965         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19966         is defined.  Likewise for SIGSETXID.
19967         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19968         Conditionalize definitions on [SIGSETXID].
19969         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19970         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19971         unblocking on [SIGCANCEL].
19973         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19974         [__NR_set_robust_list].
19976 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19978         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19979         (do_compare): Likewise.
19981 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19983         [BZ #15884]
19984         * string/strcoll_l.c: Don't include stdio.h.
19985         (coll_seq): Remove members idxarr and rulearr.
19986         (get_next_seq_cached): Remove function.
19987         (get_next_seq): Likewise.
19988         (get_next_seq_nocache): Rename to get_next_seq.
19989         (do_compare): Remove function.
19990         (do_compare_nocache): Rename to do_compare.
19991         (STRCOLL): Remove weight and rules cache.
19993 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19995         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19996         * sysdeps/arm/sfp-machine.h: ... to here.
19997         * sysdeps/arm/Implies: Remove arm/soft-fp.
19999 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20001         * conform/data/sys/utsname.h-data (*_t): Allow.
20002         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20003         [POSIX] (WEXITED): Do not expect constant.
20004         [POSIX] (WSTOPPED): Likewise.
20005         [POSIX] (WNOHANG): Likewise.
20006         [POSIX] (WNOWAIT): Likewise.
20007         [POSIX] (siginfo_t): Do not expect type or elements.
20008         [POSIX] (pid_t): Do not expect type.
20009         [POSIX] (signal.h): Do not allow header.
20010         [POSIX] (sys/resource.h): Likewise.
20011         [POSIX] (si_*): Do not allow pattern.
20012         [POSIX] (W*): Likewise.
20013         [POSIX] (P_*): Likewise.
20014         [POSIX] (BUS_*): Likewise.
20015         [POSIX] (CLD_*): Likewise.
20016         [POSIX] (FPE_*): Likewise.
20017         [POSIX] (ILL_*): Likewise.
20018         [POSIX] (POLL_*): Likewise.
20019         [POSIX] (SEGV_*): Likewise.
20020         [POSIX] (SI_*): Likewise.
20021         [POSIX] (TRAP_*): Likewise.
20022         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20023         variable.
20025 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20027         [BZ #12926]
20028         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20029         infinite loop when __recvmsg returns 0.
20031 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20033         * CANCEL-FCT-WAIVE: Remove file.
20034         * CANCEL-FILE-WAIVE: Likewise.
20036         [BZ #14132]
20037         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20038         instead of INTVARDEF.
20039         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20040         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20041         rtld_hidden_data_def instead of INTVARDEF.
20042         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20043         * elf/dl-deps.c (expand_dst): Likewise.
20044         * elf/dl-load.c (_dl_dst_count): Likewise.
20045         (_dl_dst_substitute): Likewise.
20046         (decompose_rpath): Likewise.
20047         (_dl_init_paths): Likewise.
20048         (open_path): Likewise.
20049         (_dl_map_object): Likewise.
20050         * elf/rtld.c (dl_main): Likewise.
20051         (process_dl_audit): Likewise.
20052         (process_envvars): Likewise.
20053         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20054         Remove declaration.
20055         (__libc_enable_secure): Use rtld_hidden_proto.
20057 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20059         * elf/dl-load.c
20060         (add_path): New function broken out of _dl_rtld_di_serinfo.
20061         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20063 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20065         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20066         parentheses around macro arguments.
20067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20070         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20071         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20072         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20073         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20074         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20077         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20078         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20079         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20080         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20081         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20082         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20083         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20088         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20089         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20090         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20091         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20092         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20094         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20095         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20096         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20097         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20098         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20099         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20100         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20101         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20102         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20103         Likewise.
20104         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20106         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20108         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20109         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20110         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20111         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20112         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20113         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20114         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20115         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20116         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20117         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20118         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20119         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20120         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20121         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20122         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20123         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20125         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20126         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20127         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20128         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20129         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20130         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20131         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20132         (_FP_FRAC_SRS_1): Likewise.
20133         (_FP_FRAC_CLZ_1): Likewise.
20134         (_FP_MUL_MEAT_1_imm): Likewise.
20135         (_FP_MUL_MEAT_1_wide): Likewise.
20136         (_FP_MUL_MEAT_1_hard): Likewise.
20137         (_FP_SQRT_MEAT_1): Likewise.
20138         (_FP_FRAC_ASSEMBLE_1): Likewise.
20139         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20140         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20141         (__FP_CLZ_2): Likewise.
20142         (_FP_MUL_MEAT_2_wide): Likewise.
20143         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20144         (_FP_MUL_MEAT_2_gmp): Likewise.
20145         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20146         (_FP_SQRT_MEAT_2): Likewise.
20147         (_FP_FRAC_ASSEMBLE_2): Likewise.
20148         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20149         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20150         (_FP_FRAC_CLZ_4): Likewise.
20151         (_FP_MUL_MEAT_4_wide): Likewise.
20152         (_FP_MUL_MEAT_4_gmp): Likewise.
20153         (_FP_SQRT_MEAT_4): Likewise.
20154         (_FP_FRAC_ASSEMBLE_4): Likewise.
20155         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20156         * soft-fp/op-common.h (_FP_CMP): Likewise.
20157         (_FP_CMP_EQ): Likewise.
20158         (_FP_CMP_UNORD): Likewise.
20159         (_FP_TO_INT): Likewise.
20160         (_FP_FROM_INT): Likewise.
20161         [!__FP_CLZ] (__FP_CLZ): Likewise.
20162         (_FP_DIV_HELP_imm): Likewise.
20163         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20164         Likewise.
20165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20168         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20170         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20171         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20176         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20177         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20178         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20179         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20180         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20181         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20186         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20193         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20194         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20195         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20197         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20198         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20199         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20200         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20201         (FP_UNPACK_RAW_SP): Likewise.
20202         (FP_PACK_RAW_S): Likewise.
20203         (FP_PACK_RAW_SP): Likewise.
20204         (FP_UNPACK_S): Likewise.
20205         (FP_UNPACK_SP): Likewise.
20206         (FP_UNPACK_SEMIRAW_S): Likewise.
20207         (FP_UNPACK_SEMIRAW_SP): Likewise.
20208         (FP_PACK_S): Likewise.
20209         (FP_PACK_SP): Likewise.
20210         (FP_PACK_SEMIRAW_S): Likewise.
20211         (FP_PACK_SEMIRAW_SP): Likewise.
20212         (_FP_SQRT_MEAT_S): Likewise.
20213         (FP_CMP_S): Likewise.
20214         (FP_CMP_EQ_S): Likewise.
20215         (FP_CMP_UNORD_S): Likewise.
20216         (FP_TO_INT_S): Likewise.
20217         (FP_FROM_INT_S): Likewise.
20219         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20221         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20222         (FP_EX_INVALID_IMZ): Likewise.
20223         (FP_EX_INVALID_IMZ_FMA): Likewise.
20224         (FP_EX_INVALID_ISI): Likewise.
20225         (FP_EX_INVALID_ZDZ): Likewise.
20226         (FP_EX_INVALID_IDI): Likewise.
20227         (FP_EX_INVALID_SQRT): Likewise.
20228         (FP_EX_INVALID_CVI): Likewise.
20229         (FP_EX_INVALID_VC): Likewise.
20230         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20231         "invalid" exceptions.
20232         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20233         (_FP_ADD_INTERNAL): Likewise.
20234         (_FP_MUL): Likewise.
20235         (_FP_FMA): Likewise.
20236         (_FP_DIV): Likewise.
20237         (_FP_CMP_CHECK_NAN): Likewise.
20238         (_FP_SQRT): Likewise.
20239         (_FP_TO_INT): Likewise.
20240         (FP_EXTEND): Likewise.
20242 2014-10-09  Allan McRae  <allan@archlinux.org>
20244         * po/fr.po: Update French translation from translation project.
20246 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20248         [BZ #14132]
20249         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20250         of INTDEF.
20251         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20252         (__cxa_atexit): Use libc_hidden_proto.
20253         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20255         [BZ #14132]
20256         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20257         declaration.
20258         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20259         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20260         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20261         [!_ISOMAC] (__iswctype_internal): Likewise.
20262         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20263         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20264         alias.
20265         (fcntl): Remove __fcntl_internal alias.
20266         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20267         __connect_internal alias.
20268         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20269         Likewise.
20271         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20272         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20273         FP_DENORM_ZERO.
20274         (_FP_CHECK_FLUSH_ZERO): New macro.
20275         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20276         (_FP_CMP): Likewise.
20277         (_FP_CMP_EQ): Likewise.
20278         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20279         FP_DENORM_ZERO.
20280         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20281         (FP_TRUNC): Likewise.
20283         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20284         treated as invalid conversion, not as normal exponent.
20286         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20287         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20288         (_FP_CMP_EQ): Likewise.
20289         (_FP_CMP_UNORD): Likewise.
20290         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20291         (FP_CMP_EQ_D): Likewise.
20292         (FP_CMP_UNORD_D): Likewise.
20293         * soft-fp/extended.h (FP_CMP_E): Likewise.
20294         (FP_CMP_EQ_E): Likewise.
20295         (FP_CMP_UNORD_E): Likewise.
20296         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20297         (FP_CMP_EQ_Q): Likewise.
20298         (FP_CMP_UNORD_Q): Likewise.
20299         * soft-fp/single.h (FP_CMP_S): Likewise.
20300         (FP_CMP_EQ_S): Likewise.
20301         (FP_CMP_UNORD_S): Likewise.
20302         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20303         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20304         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20305         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20306         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20307         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20308         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20309         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20310         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20311         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20312         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20313         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20314         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20315         to FP_CMP_Q.
20316         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20317         FP_CMP_Q.
20318         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20319         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20320         FP_CMP_EQ_Q.
20321         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20322         FP_CMP_Q.
20323         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20324         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20325         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20326         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20327         FP_CMP_EQ_Q.
20328         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20329         FP_CMP_Q.
20330         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20331         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20332         FP_CMP_EQ_Q.
20333         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20334         FP_CMP_Q.
20335         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20336         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20337         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20338         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20339         FP_CMP_EQ_Q.
20341         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20342         a subnormal result, set the underflow exception if trapping on
20343         underflow is enabled.
20344         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20345         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20346         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20347         redefine to 0.
20348         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20349         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20350         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20351         * soft-fp/extendxftf2.c (__extendxftf2): Use
20352         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20354         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20355         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20356         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20357         FP_HANDLE_EXCEPTIONS.
20358         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20359         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20360         FP_HANDLE_EXCEPTIONS.
20361         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20362         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20363         FP_HANDLE_EXCEPTIONS.
20364         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20365         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20366         FP_HANDLE_EXCEPTIONS.
20368 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20370         [BZ #14132]
20371         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20372         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20373         use INTUSE.
20374         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20375         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20376         Remove alias.
20377         (__adjtimex): Define using libc_hidden_ver.
20378         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20379         Remove declaration.
20380         (ntp_gettime): Call __adjtimex directly.
20381         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20382         Remove declaration.
20383         (ntp_gettimex): Call __adjtimex directly.
20384         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20385         __adjtimex_internal alias.
20387 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20389         [BZ #17460]
20390         * nscd/nscd.c (more_help): Rewrite list of tables collection
20391         using xstrdup and asprintf.
20393         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20395 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20396             Roland McGrath  <roland@hack.frob.com>
20398         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20399         (do_lookup_unique): ... local function 'enter' here; update callers.
20401 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20403         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20404         compat_symbol calls on [SHARED].
20405         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20406         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20407         Remove.
20408         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20409         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20410         (oldsetrlimit): Remove.
20411         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20413         (lchown): New syscall entry.
20414         (oldsetrlimit): Remove.
20415         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20417         (oldsetrlimit): Remove.
20418         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20420         [BZ #14138]
20421         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20422         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20423         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20424         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20426         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20427         (fchown): Likewise.
20428         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20429         (fchown): Likewise.
20430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20431         Likewise.
20433 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20435         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20436         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20437         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20438         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20439         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20440         Likewise.
20441         (__old_sem_post): Likewise.
20443 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20445         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20446         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20447         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20448         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20449         Use INLINE_VSYSCALL macro.
20450         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20451         __vdso_clock_gettime.
20452         * sysdeps/unix/sysv/linux/tile/init-first.c
20453         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20454         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20455         __vdso_clock_gettime.
20457         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20458         to set up frame more cleanly.
20460         * sysdeps/tile/memcmp.c: New file.
20462         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20464         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20465         * sysdeps/tile/tilegx/strcasestr.c: New file.
20466         * sysdeps/tile/tilegx/strnlen.c: New file.
20467         * sysdeps/tile/tilegx/strstr.c: New file.
20469         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20471 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20473         * nptl/tst-setuid3.c: Write errors to stdout.
20475 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20477         * elf/dl-deps.c
20478         (preload): New functions broken out of _dl_map_object_deps.
20479         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20481 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20483         [BZ #14138]
20484         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20485         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20487 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20489         * sysdeps/mips/strcmp.S: New.
20491 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20493         [BZ #14138]
20494         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20495         (linkat): Likewise.
20496         (mkdirat): Likewise.
20497         (readlinkat): Likewise.
20498         (renameat): Likewise.
20499         (symlinkat): Likewise.
20500         (unlinkat): Likewise.
20501         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20502         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
20503         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
20504         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
20505         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
20506         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
20507         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
20509 2014-09-30  Will Newton  <will.newton@linaro.org>
20511         * math/math.h: Define long double math functions if
20512         _LIBC_TEST is defined.
20513         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
20515         * localedata/Makefile: Move assignment to tests-special
20516         into an ifdef testing run-built-tests.
20517         * timezone/Makefile: Likewise.
20519 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
20521         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
20522         with $(BASH) not $(SHELL).
20524 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
20525             Matthew LeGendre  <legendre1@llnl.gov>
20527         [BZ #17411]
20528         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
20529         l_reloc_result.
20531 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20533         * stdio-common/printf_fp.c
20534         (hack_digit): New function, broken out of ...
20535         (__printf_fp): ... local function here.  Update call sites.
20536         hack_digit now takes an additional parameter that is a pointer
20537         to a struct of the referenced locals.  Those locals moved inside
20538         the struct and references updated.
20540 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
20542         * aclocal.m4: Require autoconf 2.69.
20543         * configure: Regenerated.
20544         * sysdeps/aarch64/configure: Likewise.
20545         * sysdeps/alpha/configure: Likewise.
20546         * sysdeps/arm/armv7/configure: Likewise.
20547         * sysdeps/arm/configure: Likewise.
20548         * sysdeps/ia64/configure: Likewise.
20549         * sysdeps/mach/configure: Likewise.
20550         * sysdeps/mips/configure: Likewise.
20551         * sysdeps/s390/configure: Likewise.
20552         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
20553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
20555         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
20556         file.
20557         * sysdeps/ia64/configure.ac: Likewise.
20559 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
20562         specify symbol version for ld.so.  Do not include entry for
20563         libpthread.
20564         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20565         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20566         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20568         [BZ #14171]
20569         * Makeconfig [$(build-shared) = yes]
20570         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
20571         makefiles.
20572         [$(build-shared) = yes && $(soversions.mk-done) = t]
20573         ($(common-objpfx)gnu/lib-names.h): Remove rule.
20574         [$(build-shared) = yes && $(soversions.mk-done) = t]
20575         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
20576         to Makerules.
20577         [$(build-shared) = yes && $(soversions.mk-done) = t]
20578         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
20579         here.
20580         [$(build-shared) = yes && $(soversions.mk-done) = t]
20581         (common-generated): Don't append gnu/lib-names.h and
20582         gnu/lib-names.stmp here.
20583         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
20584         (lib-names-h-abi): New variable.
20585         [$(build-shared) = yes && $(soversions.mk-done) = t]
20586         (lib-names-stmp-abi): Likewise.
20587         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20588         abi-variants] (before-compile): Append
20589         $(common-objpfx)$(lib-names-h-abi).
20590         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20591         abi-variants] (common-generated): Append gnu/lib-names.h.
20592         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20593         abi-variants] (install-others-nosubdir): Depend on
20594         $(inst_includedir)/$(lib-names-h-abi).
20595         [$(build-shared) = yes && $(soversions.mk-done) = t &&
20596         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
20597         [$(build-shared) = yes && $(soversions.mk-done) = t]
20598         ($(common-objpfx)$(lib-names-h-abi)): New rule.
20599         [$(build-shared) = yes && $(soversions.mk-done) = t]
20600         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
20601         [$(build-shared) = yes && $(soversions.mk-done) = t]
20602         (common-generated): Append $(lib-names-h-abi) and
20603         $(lib-names-stmp-abi).
20604         * scripts/lib-names.awk: Do not handle multi being set.
20605         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
20606         Remove variable.
20607         (abi-lp64_be-ld-soname): Likewise.
20608         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
20609         Likewise.
20610         (abi-hard-ld-soname): Likewise.
20611         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
20612         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
20613         Remove variable.
20614         (abi-o32_hard-ld-soname): Likewise.
20615         (abi-o32_soft_2008-ld-soname): Likewise.
20616         (abi-o32_hard_2008-ld-soname): Likewise.
20617         (abi-n32_soft-ld-soname): Likewise.
20618         (abi-n32_hard-ld-soname): Likewise.
20619         (abi-n32_soft_2008-ld-soname): Likewise.
20620         (abi-n32_hard_2008-ld-soname): Likewise.
20621         (abi-n64_soft-ld-soname): Likewise.
20622         (abi-n64_hard-ld-soname): Likewise.
20623         (abi-n64_soft_2008-ld-soname): Likewise.
20624         (abi-n64_hard_2008-ld-soname): Likewise.
20625         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
20626         Likewise.
20627         (abi-64-v2-ld-soname): Likewise.
20628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
20629         ld.so entries.
20630         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
20631         variable.
20632         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
20633         entry.
20634         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
20635         variable.
20636         (abi-64-ld-soname): Likewise.
20637         (abi-x32-ld-soname): Likewise.
20638         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
20639         entry.
20640         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20642 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
20644         [BZ #14138]
20645         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
20646         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
20647         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
20648         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
20649         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
20650         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
20651         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
20652         syscall entry for GLIBC_2.2 symbol version.
20653         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
20654         Likewise.
20655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20656         (setrlimit): Likewise.
20657         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
20658         Likewise.
20660 2014-09-23  Will Newton  <will.newton@linaro.org>
20662         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
20663         _LINUX_ARM_SYSDEP_H include guard too.
20664         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
20665         define.
20667 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20669         * sysdeps/unix/sysv/linux/eventfd.c:
20670         Make first argument unsigned.
20671         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
20672         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
20674 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
20676         * socket/recvmmsg.c (recvmmsg): Drop const argument.
20677         * socket/sys/socket.h: Likewise
20678         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
20680 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20682         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
20684 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
20686         * time/tst-ftime.c: New test.
20687         * time/Makefile (tests): Add tst-ftime.
20689 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
20691         * soft-fp/extended.h: Fix comment formatting.
20692         * soft-fp/op-1.h: Likewise.
20693         * soft-fp/op-2.h: Likewise.
20694         * soft-fp/op-4.h: Likewise.
20695         * soft-fp/op-8.h: Likewise.
20696         * soft-fp/op-common.h: Likewise.
20697         * soft-fp/soft-fp.h: Likewise.
20699         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
20701 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
20703         [BZ #6652]
20704         * Makeconfig (soversions-default-setname): Remove variable.
20705         ($(common-objpfx)soversions.i): Don't pass default_setname to
20706         soversions.awk.
20707         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
20708         oldest_abi to abi-versions.awk.
20709         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
20710         * config.make.in (oldest-abi): Remove variable.
20711         * configure.ac (--enable-oldest-abi): Remove configure option.
20712         * configure: Regenerated.
20713         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
20714         text.
20715         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20716         * scripts/soversions.awk: Do not handle default_setname variable.
20717         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
20718         variable.
20719         * sysdeps/mach/hurd/configure: Regenerated.
20720         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
20721         variable.
20722         * sysdeps/unix/sysv/linux/configure: Regenerated.
20724 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20726         * elf/Makefile (CFLAGS-interp.c): Remove.
20727         ($(elf-objpfx)runtime-linker.h): Generate header with linker
20728         path string.
20729         * elf/interp.c: Include generated runtime-linker.h
20731         * Makerules (lib%.so): Don't include $(+interp) in
20732         prerequisites.
20733         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
20734         * dlfcn/eval.c: Remove file.
20736         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
20737         macros.
20739         [BZ #17266]
20740         * misc/sys/cdefs.h: Define __extern_always_inline for clang
20741         4.2 and newer.
20743         [BZ #17370]
20744         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
20746 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20747             Jakub Jelinek  <jakub@redhat.com>
20749         [BZ #17266]
20750         * libio/stdio.h: Check definition of __fortify_function
20751         instead of __extern_always_inline to include bits/stdio2.h.
20752         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20753         check if __extern_always_inline is defined.
20754         [__USE_MISC || __USE_XOPEN]: Likewise.
20755         [__USE_ISOC99] Likewise.
20756         * misc/sys/cdefs.h (__fortify_function): Define only if
20757         __extern_always_inline is defined.
20758         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
20759         __extern_always_inline and __extern_inline only for g++-4.3
20760         and newer or a compatible gcc.
20762 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
20764         [BZ #17371]
20765         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20766         last change to handle zero prefix length.
20768 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20770         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
20771         _SC_REGEX_VERSION.
20773         * posix/getconf.c (vars): Add _POSIX_IPV6 and
20774         _POSIX_RAW_SOCKETS.
20776 2014-09-13  Allan McRae  <allan@archlinux.org>
20778         * po/ru.po: Update Russian translation from translation project.
20780 2014-09-12  Roland McGrath  <roland@hack.frob.com>
20782         * locale/programs/locale.c (show_locale_vars): Inline local function
20783         into its sole call site.  Clean up some style nits.
20784         (print_item): New function, broken out of ...
20785         (show_info): ... local function here.  Clean up style nits.
20787         * locale/programs/ld-ctype.c (set_one_default): New function, broken
20788         out of ...
20789         (set_class_defaults): ... local function set_default here.
20790         Define set_default as a macro locally to pass constant parameters.
20791         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
20792         rather than a shared local.
20794         * stdlib/rpmatch.c (try): New function, broken out of ...
20795         (rpmatch): ... local function here.  Also, prototypify definition.
20797 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
20799         * scripts/soversions.awk: Do not handle configuration names.
20800         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
20801         vendor and os variables to soversions.awk.
20802         * configure.ac: Do not modify gnu-* host_os.
20803         * configure: Regenerated
20804         * shlib-versions: Remove first column with configuration names.
20805         * nptl/shlib-versions: Likewise.
20806         * nptl_db/shlib-versions: Likewise.
20807         * sysdeps/hppa/shlib-versions: Likewise.
20808         * sysdeps/m68k/shlib-versions: Likewise.
20809         * sysdeps/mach/hurd/shlib-versions: Likewise.
20810         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
20811         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
20812         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
20813         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
20814         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
20815         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
20816         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
20817         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20819         Likewise.
20820         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20821         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20822         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20823         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20824         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20825         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
20826         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
20827         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
20830         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
20831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20832         Regenerated.
20833         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
20834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
20835         Condition symbol version definitions on [HAVE_ELFV2_ABI].
20837         * shlib-versions: Remove OS-specific entries.  Moved to files in
20838         sysdeps.
20839         * sysdeps/mach/hurd/shlib-versions: New file.
20840         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
20842         * nptl/shlib-versions: Remove architecture-specific entries.
20843         Moved to files in sysdeps.
20844         * shlib-versions: Likewise.
20845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
20846         file.
20847         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
20848         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
20852         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
20853         (UDP_NO_CHECK6_RX): Likewise.
20855 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20857         * sysdeps/posix/sysconf.c (__sysconf): Spell
20858         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
20860 2014-08-12  Florian Weimer  <fweimer@redhat.com>
20862         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
20863         loading.
20864         * iconv/Versions (__gconv_transliterate): Export for use from
20865         gconv modules.
20866         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
20867         (struct __gconv_trans_data, __gconv_trans_fct,
20868         __gconv_trans_context_fct, __gconv_trans_query_fct,
20869         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
20870         definitions.
20871         (struct __gconv_step_data): Remove __trans member.
20872         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
20873         longer hidden.  Remove unused trans_data argument.
20874         * iconv/gconv_int.h (struct trans_struct): Remove definition.
20875         (__gconv_translit_find): Remove declaration.
20876         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
20877         prototype.
20878         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
20879         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
20880         trans_data argument.  Add hidden definition.
20881         (__gconv_translit_find): Remove.
20882         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
20883         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
20884         * iconv/skeleton.c: Remove transliteration initialization.
20885         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
20886         __gconv_step_data initialization.
20887         * libio/iofwide.c (__libio_translit_): Remove.
20888         (_IO_fwide): Adjust struct __gconv_step_data initialization.
20889         * wcsmbs/btowc.c (__btowc): Likewise.
20890         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20891         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20892         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20893         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20894         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
20895         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20896         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20897         * wcsmbs/wctob.c (wctob): Likewise.
20899 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20901         [BZ #16194]
20902         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
20903         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
20904         register usage.
20905         * sysdeps/x86/Makefile: Adjust.
20907 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20908             Roland McGrath  <roland@hack.frob.com>
20910         * locale/weight.h: Add include guard.
20911         (findidx): Make static rather than auto; take new parameters
20912         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
20913         * locale/weightwc.h: Likewise.
20914         * posix/fnmatch_loop.c
20915         (FCT): Change type of EXTRA from int32_t to wint_t.
20916         Don't include either header inside the function.
20917         Call FINDIDX rather than findidx, and pass new arguments.
20918         #undef FINDIDX at the end of the file.
20919         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
20920         FINDIDX before including fnmatch_loop.c for the non-wide version.
20921         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
20922         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
20923         for the wide version.
20924         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
20925         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
20926         Pass new arguments to findidx.
20927         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
20928         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
20929         Don't #include it inside the function.  Pass new arguments to findidx.
20930         * posix/regex_internal.h
20931         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
20932         (re_string_elem_size_at): Don't #include it inside the function.
20933         Pass new arguments to findidx.
20934         * string/strcoll_l.c: #include WEIGHT_H at top level.
20935         (get_next_seq): Don't #include it inside the function.
20936         Pass new arguments to findidx.
20937         (get_next_seq_nocache): Likewise.
20938         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20939         (STRXFRM): Don't #include it inside the function.
20940         Pass new arguments to findidx.
20942 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20944         [BZ #17344]
20945         * malloc/malloc.c (unlink): Turn asserts into a call to
20946         malloc_printerr.
20948 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20950         [BZ #17370]
20951         * libio/wfileops (do_ftell_wide): Free OUT.
20953 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20955         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20957 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959         [BZ #17363]
20960         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20961         group if the current group is empty.
20963 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20965         * benchtests/bench-memset.c (test_main): Add more test from size
20966         from 32 to 512 bytes.
20967         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20968         Add POWER8 memset object.
20969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20970         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20971         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20972         implementation.
20973         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20974         Likewise.
20975         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20976         multiarch POWER8 memset optimization.
20977         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20978         POWER8 memset optimization.
20980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20981         Remove bzero multiarch objects.
20982         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20983         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20984         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20985         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20986         Remove define.
20987         [__bzero]: Redefine to specific name.
20988         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20989         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20990         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20991         define.
20992         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20993         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20995 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20997         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20998         warnings into errors.
21000         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21001         __cxa_thread_atexit_impl prototype.
21003 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21005         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21006         Fix capitalization of error message.
21008 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21010         * sysdeps/mips/preconfigure: Modify ABI tests.
21012 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21014         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21016 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21017             Carlos O'Donell  <carlos@systemhalted.org>
21019         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21020         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21021         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21022         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21023         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21024         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21025         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21026         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21027         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21028         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21029         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21030         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21031         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21032         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21033         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21034         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21035         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21036         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21037         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21038         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21039         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21040         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21041         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21042         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21043         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21044         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21045         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21046         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21047         Deconditionalize the code that was previously under [RESET_PID].
21048         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21049         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21050         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21051         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21052         include sysdep.h.
21054 2014-09-08  Allan McRae  <allan@archlinux.org>
21056         * version.h (RELEASE): Set to "development".
21057         (VERSION): Set to "2.20.90"
21059 2014-09-07  Allan McRae  <allan@archlinux.org
21061         * version.h (RELEASE): Set to "stable".
21062         (VERSION): Set to "2.20"
21063         * include/features.h (__GLIBC_MINOR__): Set to 20.
21065         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21066         Liebler.
21068         * po/ko.po: Update Korean translation from translation project.
21070 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21072         [BZ #17354]
21073         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21074         macro for handling signed relocations.
21076 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21078         [BZ #17325]
21079         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21080         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21081         assert.
21082         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21083         * iconvdata/ibm935.c (BODY): Likewise.
21084         * iconvdata/ibm937.c (BODY): Likewise.
21085         * iconvdata/ibm939.c (BODY): Likewise.
21086         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21087         assert.
21088         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21089         script.
21090         * iconvdata/run-iconv-test.sh: New test loop for checking for
21091         decoder crashers.
21093 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21095         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21096         libm_hidden_ver.
21098 2014-09-01  Allan McRae  <allan@archlinux.org>
21100         * po/eo.po: Update Esperanto translation from translation project.
21102         * po/ca.po: Update Catalan translation from translation project.
21104 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21106         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21107         __proc_dostop call.
21109 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21111         [BZ #17319]
21112         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21113         to call set_thread_area instead of hand written asm.
21114         (__NR_set_thread_area): Removed define.
21115         (TLS_FLAG_WRITABLE): Likewise.
21116         (__ASSUME_SET_THREAD_AREA): Remove check.
21117         (TLS_EBX_ARG): Remove define.
21118         (TLS_LOAD_EBX): Likewise.
21120 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21122         Simplify atomicity of socket creation in bind.
21124         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21125         looking up the name after linking the file.
21127 2014-08-27  Allan McRae  <allan@archlinux.org>
21129         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21131 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21133         [BZ #17187]
21134         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21135         trans_compare, open_translit, __gconv_translit_find):
21136         Remove module loading code.
21138 2014-08-26  Allan McRae  <allan@archlinux.org>
21140         * po/vi.po: Update Vietnamese translation from translation project.
21142         * po/uk.po: Update Ukrainian translation from translation project.
21144         * po/fr.po: Update French translation from translation project.
21146         * po/ru.po: Update Russian translation from translation project.
21148         * po/pl.po: Update Polish translation from translation project.
21150         * po/cs.po: Update Czech translation from translation project.
21152         * po/de.po: Update German translation from translation project.
21154         * po/bg.po: Update Bulgarian translation from translation project.
21156         * po/sv.po: Update Sweedish translation from translation project.
21158         * po/nl.po: Update Dutch translation from translation project.
21160         * po/es.po: Update Spanish translation from translation project.
21162 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21166         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21167         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21168         (CPPFLAGS-iconvconfig): Likewise.
21169         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21171         * include/libc-symbols.h: Remove unnecessary check for
21172         NOT_IN_libc.
21173         * nptl/pthreadP.h: Likewise.
21174         * sysdeps/aarch64/setjmp.S: Likewise.
21175         * sysdeps/alpha/setjmp.S: Likewise.
21176         * sysdeps/arm/sysdep.h: Likewise.
21177         * sysdeps/i386/setjmp.S: Likewise.
21178         * sysdeps/m68k/setjmp.c: Likewise.
21179         * sysdeps/posix/getcwd.c: Likewise.
21180         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21181         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21182         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21183         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21184         * sysdeps/sh/sh3/setjmp.S: Likewise.
21185         * sysdeps/sh/sh4/setjmp.S: Likewise.
21186         * sysdeps/unix/alpha/sysdep.h: Likewise.
21187         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21188         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21189         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21190         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21194         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21195         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21196         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21197         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21198         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21200         * sysdeps/x86_64/setjmp.S: Likewise.
21202 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21204         [BZ #17263]
21205         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21206         <stdint.h>.
21207         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21208         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21210 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21212         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21214         [BZ #17262]
21215         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21216         and __x86_64__ when disabling x87 inline functions.
21218 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21220         [BZ #17259]
21221         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21222         asm statement with __cpuid_count.
21224 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21226         * configure.ac: Change __ehdr_start code to dereference the struct.
21227         Run readelf on the output to look for relocations.
21228         * configure: Regenerated.
21230 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21232         [BZ #17261]
21233         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21234         value to 0.
21235         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21237 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21239         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21241 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21243         [BZ #16892]
21244         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21245         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21247 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21249         * malloc/malloc.c: Fix typo in comment.
21251 2014-08-09  Allan McRae  <allan@archlinux.org>
21253         * Regenerate libc.po.
21255 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21257         * intl/tst-gettext2.sh: Check every lang file for creation.
21259 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21261         * sysdeps/aarch64/fpu/math_private.h
21262         (libc_feholdsetround_noex_aarch64_ctx): New function.
21264 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21266         * sysdeps/arm/armv6/strcpy.S (strcpy):
21267         Fix performance issue in misaligned cases.
21269 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21271         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21272         Move definition from termios.h.
21273         (struct termio): Likewise.
21274         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21275         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21276         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21277         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21278         Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21280         Move definition to ioctl-types.h
21281         (struct termio): Likewise.
21282         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21283         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21284         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21285         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21286         Likewise.
21288 2014-08-05  Richard Henderson  <rth@redhat.com>
21290         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21291         exceptions.
21292         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21293         Add fraiseexcpt.
21294         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21295         Use __feraiseexcept.
21296         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21297         Protect libm symbols with IS_IN_libm.
21299         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21301 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21303         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21305 2014-08-04  Will Newton  <will.newton@linaro.org>
21307         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21308         file.
21310 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21312         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21313         variants for each function.
21315 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21317         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21318         appended ...
21319         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21320         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21321         appended ...
21322         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21323         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21324         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21325         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21326         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21327         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21328         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21329         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21330         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21331         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21332         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21333         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21334         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21335         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21336         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21337         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21339         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21340         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21341         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21342         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21343         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21344         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21345         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21346         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21347         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21348         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21349         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21350         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21351         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21352         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21353         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21354         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21355         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21356         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21357         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21358         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21359         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21360         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21361         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21362         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21363         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21364         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21366         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21368         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21370         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21372         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21373         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21374         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21375         Update #include.
21376         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21377         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21379 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21381         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21382         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21383         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21384         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21385         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21386         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21388 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21390         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21391         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21392         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21393         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21395 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21397         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21398         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21399         (__libc_vfork): Define function under this name.
21400         (__vfork): Define as an alias.
21401         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21402         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21404 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21406         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21407         that was previously under [RESET_PID].
21408         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21410 2014-08-04  Andreas Schwab  <schwab@suse.de>
21412         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21414 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21416         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21417         (main): Likewise.
21419 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21423 2014-08-01  Richard Henderon  <rth@redhat.com>
21425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21426         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21427         typo in exact zero test.
21428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21429         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21432 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21434         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21435         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21436         * sysdeps/arm/sysdep.h: ... here.
21437         [!__ASSEMBLER__]: Include <stdint.h>.
21439 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21441         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21442         (HAVE_WCTYPE_H): Likewise.
21443         (HAVE_ISWCTYPE): Likewise.
21444         (ENABLE_NLS): Likewise.
21445         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21446         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21448         * posix/regex_internal.c: Check if DEBUG is defined and is
21449         set.
21451         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21452         (HAVE_MBSRTOWCS): Likewise.
21453         * posix/fnmatch.c: Include string.h unconditionally.
21455 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21457         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21458         reversal.
21460 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21462         * sysdeps/generic/safe-fatal.h: New file.
21463         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21464         * nptl/forward.c: Include it.
21465         (__pthread_unwind): Use __safe_fatal as default action, rather
21466         than a bogus use of INTERNAL_SYSCALL that could never work.
21468         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21469         * configure.ac (libc_cv_builtin_trap): New test.
21470         * configure: Regenerated.
21471         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21472         (ABORT_INSTRUCTION): Define using __builtin_trap.
21474         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21475         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21476         * sysdeps/nptl/nptl-signals.h: New file.
21477         * nptl/pthreadP.h: Include <nptl-signals.h>.
21479 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21481         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21482         (ONE_DIRECTION): Define.
21483         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21484         (ONE_DIRECTION): Define.
21485         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21486         (ONE_DIRECTION): Define.
21488 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21490         * sysdeps/s390/Makefile: Delete file.
21491         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21492         * sysdeps/s390/__longjmp.c: Delete file.
21493         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21494         Remove fields __flags and __reserved.
21495         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21496         and add versioning.
21497         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21498         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21499         * sysdeps/s390/rtld-setjmp.S: Likewise.
21500         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21501         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21502         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
21503         * sysdeps/s390/s390-32/setjmp.S: ... here.
21504         Add versioning.
21505         (__sigsetjmp): Remove setting __flags field.
21506         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
21507         * sysdeps/s390/s390-64/__longjmp.c: ... here.
21508         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
21509         * sysdeps/s390/s390-64/setjmp.S: ... here.
21510         Add versioning.
21511         (__sigsetjmp): Remove setting __flags field.
21512         * sysdeps/s390/setjmp.S: Delete file.
21513         * sysdeps/s390/sigjmp.c: Likewise.
21514         * sysdeps/s390/v1-longjmp.c: Likewise.
21515         * sysdeps/s390/v1-setjmp.h: Likewise.
21516         * sysdeps/s390/v1-sigjmp.c: Likewise.
21517         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
21518         Remove v1-longjmp_chk.
21519         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
21520         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
21521         Include debug/longjmp_chk.c and add versioning.
21522         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
21523         Include nptl/pt-longjmp.c and add versioning.
21524         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
21525         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
21526         Include __longjmp.c.
21527         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21528         Move to ...
21529         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
21530         (__getcontext): Remove setting __flags field.
21531         Add versioning.
21532         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21533         Don't restore upper high grps.
21534         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
21535         Likewise.
21536         (__swapcontext): Remove setting uc_flags field.
21537         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
21538         Delete file.
21539         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21540         Include __longjmp.c.
21541         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21542         Move to ...
21543         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
21544         (__getcontext): Remove setting __flags field.
21545         Add versioning.
21546         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
21547         (__swapcontext): Remove setting uc_flags field.
21548         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
21549         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
21550         Remove fields uc_high_gprs and __reserved.
21551         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
21552         New file with reverted content.
21553         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
21554         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
21555         Regenerated.
21556         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
21557         Regenerated.
21559 2014-07-31  Andreas Schwab  <schwab@suse.de>
21561         * config.h.in (HAVE_IFUNC): Define to 0.
21562         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
21563         definedness.
21565 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
21567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21568         memmove-avx-unaligned, memcpy-avx-unaligned and
21569         mempcpy-avx-unaligned.
21570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21571         Add tests for AVX memcpy functions.
21572         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
21573         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
21574         memcpy_chk.
21575         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
21576         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
21577         memmove_chk.
21578         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
21579         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
21580         mempcpy_chk.
21581         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
21582         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
21583         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
21585 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21587         [BZ #17213]
21588         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
21589         powerpc64le.
21591 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
21593         [BZ #16839]
21594         * manual/llio.texi: Add section about open file description locks.
21595         * manual/examples/ofdlocks.c: Example of open file description
21596         lock usage.
21597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
21598         F_OFD_SETLK, and F_OFD_SETLKW.
21600 2014-07-23  Allan McRae  <allan@archlinux.org>
21602         * po/es.po: Update Spanish translation from translation project.
21604 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
21606         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
21608 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
21610         [BZ #17078]
21611         * sysdeps/arm/dl-machine.h (elf_machine_rela)
21612         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
21613         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
21615 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
21617         [BZ #17088]
21618         * math/fesetenv.c (__fesetenv)
21619         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
21620         * math/feupdateenv.c (__feupdateenv)
21621         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
21623         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
21624         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21625         (__ASSUME_SOCKETCALL): Do not define.
21627         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
21628         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
21629         (__ASSUME_SOCKETCALL): Do not define.
21630         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
21631         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21632         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21633         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
21634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21635         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
21636         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21637         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21639         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
21640         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
21641         (__ASSUME_SOCKETCALL): Do not define.
21642         (__ASSUME_IPC64): Define unconditionally.
21643         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21644         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21645         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
21646         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21647         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
21648         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21649         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
21650         Likewise.
21652         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
21653         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
21654         (__ASSUME_SOCKETCALL): Do not define.
21655         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
21656         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21657         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21658         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21659         (__ASSUME_REQUEUE_PI): Define unconditionally.
21660         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
21661         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
21662         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21663         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
21664         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21665         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21667         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
21668         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
21669         (__ASSUME_SOCKETCALL): Do not define.
21670         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
21671         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21672         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21673         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
21674         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21675         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21677         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
21678         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
21679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
21680         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
21681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21682         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
21683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
21684         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
21685         (__ASSUME_GETCPU_SYSCALL): Likewise.
21687         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
21688         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
21689         cases for individual architectures.
21690         * sysdeps/gnu/configure: Regenerated.
21691         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
21692         LIBC_SLIBDIR_RTLDDIR.
21693         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
21694         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
21695         LIBC_SLIBDIR_RTLDDIR.
21696         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
21697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
21698         LIBC_SLIBDIR_RTLDDIR.
21699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21700         Regenerated.
21701         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
21702         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
21703         file.
21704         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
21705         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
21706         file.
21707         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
21708         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
21709         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
21710         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
21712         * sysdeps/aarch64/shlib-versions: Move to ...
21713         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
21714         * sysdeps/alpha/shlib-versions: Move to ...
21715         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
21716         * sysdeps/arm/shlib-versions: Move to ...
21717         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
21718         * sysdeps/hppa/shlib-versions: Move all contents except for
21719         libgcc_s entry to ...
21720         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
21721         entry from ...
21722         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
21723         * sysdeps/ia64/shlib-versions: Move to ...
21724         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
21725         entry from ...
21726         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
21727         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
21728         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
21729         * sysdeps/microblaze/shlib-versions: Move to ...
21730         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
21731         * sysdeps/mips/shlib-versions: Move to ...
21732         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
21733         entry from ...
21734         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
21735         * sysdeps/tile/shlib-versions: Move to ...
21736         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
21737         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
21738         from ...
21739         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
21740         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
21741         entry from ...
21742         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
21744 2014-07-17  Will Newton  <will.newton@linaro.org>
21746         * sysdeps/arm/bits/atomic.h
21747         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
21748         (__arch_compare_and_exchange_bool_16_int): Likewise.
21749         (__arch_compare_and_exchange_bool_64_int): Likewise.
21751         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
21752         into an #else block.
21754 2014-07-16  Roland McGrath  <roland@hack.frob.com>
21756         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
21757         just Linux configurations.  Test empirically that the compiler sets
21758         __ARM_EABI__, rather than using the tuple to decide.
21759         * sysdeps/arm/preconfigure: Regenerated.
21760         * sysdeps/unix/sysv/linux/arm/configure: File removed.
21761         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
21762         contents appended ...
21763         * sysdeps/arm/configure.ac: ... here.
21764         * sysdeps/arm/configure: Regenerated.
21766 2014-07-15  Roland McGrath  <roland@hack.frob.com>
21768         * nptl/pthread_kill.c: New file.
21769         * nptl/pthread_sigmask.c: New file.
21770         * nptl/pthread_sigqueue.c: New file.
21772         * sysdeps/nptl/lowlevellock.h: New file.
21773         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
21774         * sysdeps/nptl/lowlevellock-futex.h: New file.
21776         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
21777         Remove dead declarations.
21779 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
21781         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
21782         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
21783         config-cflags-avx2.
21784         * sysdeps/x86_64/configure.ac: Likewise.
21785         * sysdeps/i386/configure: Regenerated.
21786         * sysdeps/x86_64/configure: Likewise.
21787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21788         memset-avx2 only if config-cflags-avx2 is yes.
21789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21790         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
21791         defined.
21792         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
21793         only if HAVE_AVX2_SUPPORT is defined.
21794         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21796 2014-07-14  Alan Modra  <amodra@gmail.com>
21798         [BZ #17153]
21799         * elf/elf.h (DT_PPC64_NUM): Correct value.
21800         * NEWS: Add to fixed bug list.
21802 2014-07-13  Jim Meyering  <meyering@fb.com>
21804         [BZ 17150]
21805         regex: don't deref NULL upon heap allocation failure
21806         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
21807         failure in one more place.
21808         To trigger the segfault, configure grep -with-included-regex,
21809         build it, and run these commands:
21810         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
21812 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
21814         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21816 2014-07-11  Richard Henderson  <rth@redhat.com>
21818         * sysdeps/aarch64/libm-test-ulps: Update.
21820 2014-07-10  Florian Weimer  <fweimer@redhat.com>
21822         [BZ #17135]
21823         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
21824         * nptl/allocatestack.c (__nptl_setxid_error): New function.
21825         (__nptl_setxid): Initialize error member.  Call
21826         __nptl_setxid_error.
21827         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
21828         * nptl/descr.h (struct xid_command): Add error member.
21829         * nptl/tst-setuid3.c: New file.
21830         * nptl/Makefile (tests): Add it.
21832 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
21835         New define.
21836         (__lll_trylock): Use __lll_base_trylock.
21837         (__lll_cond_trylock): Likewise.
21839 2014-07-10  Roland McGrath  <roland@hack.frob.com>
21841         * nptl/pthread_create.c (start_thread): Use atomic_or and
21842         lll_futex_wake directly rather than lll_robust_dead.
21843         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21844         (lll_robust_dead): Macro removed.
21845         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
21846         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21847         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21848         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21849         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21850         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21851         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21852         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21853         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21854         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21855         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21856         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21857         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21858         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21859         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21861         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21862         Use atomic_compare_and_exchange_val_acq directly rather than
21863         lll_robust_trylock.
21864         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
21865         (__lll_robust_trylock, lll_robust_trylock): Removed.
21866         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
21867         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
21868         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
21869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
21870         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
21871         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
21872         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
21873         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
21874         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
21875         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21876         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
21878         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
21879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
21881 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21883         * manual/locale.texi (Locale Names): New section documenting
21884         locale name syntax.  Adjust menu and node chaining accordingly.
21885         (Choosing Locale): Reference Locale Names, Locale Categories.
21886         Mention setting LC_ALL=C.  Reflect that name syntax is now
21887         documented.
21888         (Locale Categories): New section title.  Reference Locale Names.
21889         LC_ALL is an environment variable, but not a category.
21890         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
21891         description, now in Locale Name.  Reference that section.  Locale
21892         name syntax is now documented.
21894 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21896         [BZ #17137]
21897         * locale/findlocale.c (name_present, valid_locale_name): New
21898         functions.
21899         (_nl_find_locale): Use the loc_name variable to store name
21900         candidates.  Call name_present and valid_locale_name to check and
21901         validate locale names.  Return an error if the locale is invalid.
21903 2014-07-02  Florian Weimer  <fweimer@redhat.com>
21905         * locale/setlocale.c (setlocale): Use strdup for allocating
21906         composite name copy.
21908 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910         Sync up with gnulib.
21911         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
21912         [!_LIBC && ENABLE_NLS]: Include gettext.h.
21913         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
21914         and _GL_ARG_NONNULL.
21915         [USE_UNLOCKED_IO]: Include unlocked-io.h.
21916         [!_LIBC]: Include code for Windows and Cygwin.
21917         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
21918         Include prototype for int strerror_r.
21919         [!_LIBC] (is_open): New function.
21920         (flush_stdout): New function.
21921         (print_errno_message): Use it.
21922         (error): Likewise.
21923         (error_at_line): Likewise.
21924         (error_tail) Add function attribute macros.  Use
21925         __builtin_expect.
21927         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
21929         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
21931         * io/ftw.c: Include sys/param.h unconditionally.
21933         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
21935         [BZ #17125]
21936         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21937         libc_freeres_ptr.
21938         (freecache): New function to free CACHE on exit.
21940         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21941         initialization.
21943 2014-07-09  David S. Miller  <davem@davemloft.net>
21945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21947         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21948         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21949         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21950         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21951         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21952         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21953         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21954         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21955         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21956         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21957         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21958         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21959         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21961 2014-07-09  Andreas Schwab  <schwab@suse.de>
21963         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21964         output.
21965         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21966         (do_test): Likewise.
21968         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21970 2014-07-09  Will Newton  <will.newton@linaro.org>
21972         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21973         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21974         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21975         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21976         * sysdeps/hppa/start.S (_start): Likewise.
21978 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21980         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21982         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21983         defined.
21985 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21987         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21988         after checking that it is non-NULL.
21990         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21992 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21994         * sysdeps/powerpc/memmove.c: Remove file.
21995         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21996         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21997         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21998         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21999         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22000         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22001         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22002         string memmove instead of removed powerpc one.
22004         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22005         [weak_alias]: Fix compiler warning due trailing data.
22006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22007         [weak_alias]: Likewise.
22008         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22009         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22012         (__libc_ifunc_impl_list): Add memmove functions.
22014 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22016         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22017         Remove code.
22018         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22019         Likewise
22020         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22021         Likewise
22022         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22023         Likewise
22024         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22025         Likewise
22026         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22027         Likewise
22028         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22029         Likewise
22030         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22031         Likewise
22032         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22033         Likewise
22034         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22035         Likewise
22036         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22037         Likewise
22038         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22039         Likewise
22040         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22041         Likewise
22042         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22043         Likewise
22044         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22045         Likewise
22046         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22047         Likewise
22048         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22049         Likewise
22051 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22053         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22054         to avoid alignment traps in non-cacheable memory.
22055         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22058         multiarch objects.
22059         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22060         file: multiarch power7 memmove.
22061         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22062         multiarch default memmove.
22063         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22064         multiarch memove for powerpc32/power4.
22066         * string/bcopy.c: Use full path to include memmove.c.
22067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22068         multiarch objects.
22069         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22070         bcopy for powerpc64.
22071         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22072         bcopy for powerpc64.
22073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22074         and memmove implementations.
22075         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22076         optimized multiarch memmove for POWER7/powerpc64.
22077         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22078         default multiarch memmove for powerpc64.
22079         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22080         multiarch for powerpc64.
22081         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22082         for POWER7/powerpc64.
22083         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22084         memmove for POWER7/powerpc64.
22086         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22087         glibc default one.
22089         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22090         __ELF_NATIVE_CLASS equal to 64.
22092 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22094         * sysdeps/nptl/lowlevellock.h: File removed.
22096         * NEWS: NPTL is no longer an add-on!
22097         * nptl/internaltypes.h: Moved ...
22098         * sysdeps/nptl/internaltypes.h: ... here.
22099         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22100         * sysdeps/nptl/fork.c: Likewise.
22101         * sysdeps/nptl/gai_misc.h: Likewise.
22102         * sysdeps/nptl/librt-cancellation.c: Likewise.
22103         * sysdeps/nptl/jmp-unwind.c: Likewise.
22104         * sysdeps/nptl/setxid.h: Likewise.
22105         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22106         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22107         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22108         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22109         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22110         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22111         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22112         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22113         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22114         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22115         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22116         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22117         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22118         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22119         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22120         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22121         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22122         * nptl/Makeconfig: Moved ...
22123         * sysdeps/nptl/Makeconfig: ... here.
22124         * nptl/configure: File removed.
22125         * nptl/ANNOUNCE: File removed.
22126         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22127         * sysdeps/unix/sysv/linux/configure: Regenerated.
22129         * nptl/Makefile (routines): Add libc_pthread_init,
22130         libc_multiple_threads, register-atfork and unregister-atfork.
22131         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22132         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22133         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22134         pthread-pi-defines.sym, structsem.sym.
22135         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22136         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22137         [$(subdir) = nptl] (tests): Add tst-setgetname.
22138         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22139         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22140         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22141         [!LIBC_SIGACTION]: Remove aliases.
22142         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22143         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22144         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22145         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22146         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22147         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22148         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22149         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22150         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22151         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22152         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22153         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22154         __libc_allocate_rtsig_private.
22155         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22156         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22157         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22158         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22159         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22160         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22161         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22162         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22163         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22164         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22165         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22166         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22167         * nptl/internaltypes.h: ... here.
22168         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22169         * sysdeps/nptl/jmp-unwind.c: ... here.
22170         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22171         * nptl/libc-lowlevellock.c: ... here.
22172         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22173         * nptl/libc_multiple_threads.c: ... here.
22174         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22175         * nptl/libc_pthread_init.c: ... here.
22176         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22177         * nptl/lowlevelbarrier.sym: ... here.
22178         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22179         * nptl/lowlevelcond.sym: ... here.
22180         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22181         * nptl/lowlevellock.c: ... here.
22182         * nptl/lowlevellock.h: Moved ...
22183         * sysdeps/nptl/lowlevellock.h: ... here.
22184         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22185         * nptl/lowlevelrobustlock.c: ... here.
22186         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22187         * nptl/lowlevelrobustlock.sym: ... here.
22188         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22189         * nptl/lowlevelrwlock.sym: ... here.
22190         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22191         * nptl/pt-fork.c: ... here.
22192         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22193         * nptl/pthread-pi-defines.sym: ... here.
22194         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22195         * nptl/pthread_attr_getaffinity.c: ... here.
22196         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22197         * nptl/pthread_attr_setaffinity.c: ... here.
22198         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22199         * nptl/pthread_mutex_cond_lock.c: ... here.
22200         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22201         Update #include.
22202         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22203         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22204         * nptl/pthread_once.c: ... here, replacing old file.
22205         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22206         * nptl/pthread_yield.c: ... here.
22207         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22208         * nptl/register-atfork.c: ... here.
22209         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22210         * nptl/sem_post.c: ... here.
22211         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22212         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22213         * nptl/sem_timedwait.c: ... here.
22214         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22215         * nptl/sem_trywait.c: ... here.
22216         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22217         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22218         * nptl/sem_wait.c: ... here.
22219         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22220         * nptl/structsem.sym: ... here.
22221         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22222         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22223         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22224         * nptl/unregister-atfork.c: ... here.
22225         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22226         * nptl/unwindbuf.sym: ... here.
22227         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22228         * sysdeps/nptl/fork.c: ... here.
22229         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22230         * sysdeps/nptl/fork.h: ... here.
22231         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22232         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22233         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22234         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22235         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22236         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22237         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22238         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22239         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22240         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22241         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22242         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22243         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22244         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22245         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22246         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22247         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22248         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22249         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22250         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22251         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22252         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22253         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22254         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22255         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22256         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22257         * sysdeps/unix/sysv/linux/raise.c: ... here.
22258         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22259         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22260         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22261         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22262         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22263         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22264         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22265         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22266         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22267         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22268         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22269         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22270         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22271         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22272         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22274 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22276         * sysdeps/generic/memcopy.h: Add comment for
22277         MEMCPY_OK_FOR_FWD_MEMMOVE.
22279 2014-07-04  Will Newton  <will.newton@linaro.org>
22281         * string/memchr.c: Merge from gnulib.
22282         [_LIBC]: Remove conditionals.
22283         (__ptr_t): Remove define.
22284         (LONG_MAX_32_BITS): Likewise.
22285         (LONG_MAX): Likewise.
22286         (MEMCHR): Use ANSI prototype and optimize algorithm.
22288         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22290 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22292         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22293         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22295         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22296         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22297         in a bare environment with no <stdlib.h> installed.
22298         * sysdeps/nptl/configure: Regenerated.
22300         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22302         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22303         AC_EGREP_CPP for kernel header checks, so they only succeed if
22304         including <linux/version.h> actually works right.
22305         * sysdeps/unix/sysv/linux/configure: Regenerated.
22307         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22308         value so it's not diagnosed as unused.
22310         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22311         thing) with "ifeq ($(subdir),rt)".
22313 2014-07-03  Richard Henderson  <rth@redhat.com>
22315         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22316         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22317         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22319         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22320         (math_force_eval): New.
22322         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22323         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22325         * sysdeps/alpha/fpu/s_round.c: Remove file.
22326         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22328         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22329         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22330         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22331         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22332         (_dl_start, print_statistics): Likewise.
22333         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22334         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22336         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22337         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22338         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22339         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22341         (HP_SMALL_TIMING_AVAIL): Define.
22342         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22343         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22344         (HP_SMALL_TIMING_AVAIL): Define.
22345         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22346         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22348         * sysdeps/aarch64/hp-timing.h: New file.
22350         * sysdeps/generic/hp-timing.h: Remove dead comment.
22351         * sysdeps/generic/hp-timing-common.h: New file.
22352         * sysdeps/alpha/hp-timing.h: Include it.
22353         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22354         * sysdeps/i386/i686/hp-timing.h: Likewise.
22355         * sysdeps/ia64/hp-timing.h: Likewise.
22356         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22357         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22358         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22359         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22360         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22361         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22362         (hp_timing_t): New.
22364         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22365         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22366         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22367         * elf/rtld.c (_dl_start_final): Likewise.
22368         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22369         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22370         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22371         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22372         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22373         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22374         (HP_TIMING_DIFF_INIT): Remove.
22375         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22376         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22377         (HP_TIMING_DIFF_INIT): Remove.
22378         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22379         * sysdeps/i386/i686/hp-timing.c: Remove file.
22380         * sysdeps/x86_64/hp-timing.c: Remove file.
22381         * sysdeps/ia64/hp-timing.c: Remove file.
22382         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22383         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22384         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22385         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22387         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22388         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22389         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22390         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22391         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22392         (HP_TIMING_ACCUM): Remove.
22393         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22394         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22395         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22397         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22398         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22399         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22400         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22401         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22402         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22403         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22404         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22406         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22408 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22410         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22412 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414         Sync up with gettext.
22415         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22416         [_MSC_VER]: Include malloc.h
22417         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22418         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22419         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22420         TEMP_FAILURE_RETRY.  Cast return of alloca.
22421         [!_LIBC] Call gl_rwlock_init.
22422         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22424 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22426         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22427         before checking its value.
22429 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22431         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22433         * debug/memcpy_chk.c: Don't include pagecopy.h.
22434         * debug/mempcpy_chk.c: Likewise.
22435         * string/memcpy.c: Likewise.
22436         * string/memmove.c: Likewise.
22437         * sysdeps/powerpc/memmove.c: Likewise.
22438         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22439         definition of PAGE_COPY_FWD_MAYBE here...
22440         * sysdeps/generic/pagecopy.h: ... from here.
22441         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22443 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22446         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22448         optimizations.
22449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22450         (__libc_ifunc_impl_list): Likewise.
22451         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22452         multiarch strcat for PPC64.
22453         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22454         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22456 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22458         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22460 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22462         * intl/loadmsgcat.c: Remove declaration of
22463         get_sysdep_segment_value.
22464         (get_sysdep_segment_value): Use ISO C style.
22465         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22466         semicolon.  Fix typo and formatting in comment.
22467         (_nl_unload_domain): Use ISO C style.
22469         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22471 2014-07-02  Will Newton  <will.newton@linaro.org>
22473         * malloc/obstack.c: Merge from gnulib master.
22474         [HAVE_CONFIG_H]: Remove conditional code.
22475         [!_LIBC]: Include config.h.
22476         [!ELIDE_CODE]: Don't include inttypes.h, include
22477         stdint.h unconditionally.
22478         (print_and_abort): Mark as _Noreturn.
22479         (_obstack_allocated_p): Mark as __attribute_pure__.
22480         (obstack_free): Rename to __obstack_free.
22481         [!__attribute__]: Remove conditional code.
22482         * malloc/obstack.h: Merge from gnulib master.
22483         [__cplusplus]: Move conditional down.
22484         [!__attribute_pure__]: Define __attribute_pure__ here
22485         if it is not already defined.
22486         (_obstack_memory_used): Mark as __attribute_pure__.
22487         [!__obstack_free]: Define as obstack_free.
22488         [__GNUC__]: Remove check for ancient NeXT gcc.
22490 2014-07-02  Will Newton  <will.newton@linaro.org>
22491             Paul Eggert  <eggert@cs.ucla.edu>
22493         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22495 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22497         * resolv/gethnamaddr.c: Add comment warning that the file is
22498         not maintained.
22500 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22502         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
22503         entries.
22505         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
22506         entry for aio_cancel and aio_cancel64.
22507         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
22508         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
22509         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
22510         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
22511         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
22512         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
22513         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
22514         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
22515         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
22516         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
22517         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
22518         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
22519         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
22521 2014-07-01  Roland McGrath  <roland@hack.frob.com>
22523         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
22524         * nptl/pthread_mutex_lock.c: Likewise.
22525         * nptl/pthread_mutex_timedlock.c: Likewise.
22526         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
22528 2014-07-01  Richard henderson  <rth@redhat.com>
22530         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
22531         (__isnan, __isnanl): Remove.
22532         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
22534         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22536 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22538         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22540 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22542         * resolv/nss_dns/dns-host.c (getanswer_r)
22543         [MULTI_PTRS_ARE_ALIASES]: Remove code.
22545 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
22547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22548         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
22549         undefine.
22550         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
22551         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22553 2014-07-01  Roland McGrath <roland@hack.frob.com>
22555         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
22556         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
22558         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
22559         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
22561         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
22562         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
22563         ... here.
22564         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
22565         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22567         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
22568         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
22569         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
22570         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
22572         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
22573         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
22574         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
22575         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
22576         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
22577         Moved ...
22578         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
22579         ... here.
22580         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
22581         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
22582         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
22583         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
22584         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
22585         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
22586         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
22587         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
22588         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
22589         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
22590         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
22591         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
22592         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
22593         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
22594         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
22597         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
22598         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
22599         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
22600         ... here.
22601         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
22602         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
22603         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
22604         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
22605         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
22606         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
22607         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
22608         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
22610 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
22612         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
22613         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
22614         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
22615         Add sysdep.
22617 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22621 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22623         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22626         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22628         * sysdeps/arm/libm-test-ulps: Regenerated.
22630 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22631             Roland McGrath <roland@hack.frob.com>
22633         * test-skeleton.c (signal_handler): Kill the whole process group
22634         before killing the child individually.
22635         (main): Report any failure on `setpgid'.
22637 2014-06-30  Roland McGrath  <roland@hack.frob.com>
22639         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
22640         from _TLS_H to _ARM_NPTL_TLS_H.
22641         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
22642         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
22644 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
22646         [BZ #16539]
22647         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
22648         (__expm1l): Return argument unchanged when small but not
22649         subnormal.
22651         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
22652         include macro name.
22653         (_FP_UNPACK_RAW_1_P): Likewise.
22654         (_FP_PACK_RAW_1): Likewise.
22655         (_FP_PACK_RAW_1_P): Likewise.
22656         (_FP_MUL_MEAT_1_wide): Likewise.
22657         (_FP_MUL_MEAT_DW_1_hard): Likewise.
22658         (_FP_MUL_MEAT_1_hard): Likewise.
22659         (_FP_DIV_MEAT_1_imm): Likewise.
22660         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
22661         (_FP_DIV_MEAT_1_udiv): Likewise.
22662         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
22663         (_FP_UNPACK_RAW_2): Likewise.
22664         (_FP_UNPACK_RAW_2_P): Likewise.
22665         (_FP_PACK_RAW_2): Likewise.
22666         (_FP_PACK_RAW_2_P): Likewise.
22667         (_FP_MUL_MEAT_DW_2_wide): Likewise.
22668         (_FP_MUL_MEAT_2_wide): Likewise.
22669         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22670         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22671         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
22672         (_FP_MUL_MEAT_2_gmp): Likewise.
22673         (_FP_DIV_MEAT_2_udiv): Likewise.
22674         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
22675         (_FP_FRAC_SRL_4): Likewise.
22676         (_FP_FRAC_SRST_4): Likewise.
22677         (_FP_FRAC_SRS_4): Likewise.
22678         (_FP_UNPACK_RAW_4): Likewise.
22679         (_FP_UNPACK_RAW_4_P): Likewise.
22680         (_FP_PACK_RAW_4): Likewise.
22681         (_FP_PACK_RAW_4_P): Likewise.
22682         (_FP_MUL_MEAT_DW_4_wide): Likewise.
22683         (_FP_MUL_MEAT_4_wide): Likewise.
22684         (_FP_MUL_MEAT_4_gmp): Likewise.
22685         (umul_ppppmnnn): Likewise.
22686         (_FP_DIV_MEAT_4_udiv): Likewise.
22687         (__FP_FRAC_ADD_4): Likewise.
22688         (__FP_FRAC_SUB_3): Likewise.
22689         (__FP_FRAC_SUB_4): Likewise.
22690         (__FP_FRAC_DEC_3): Likewise.
22691         (__FP_FRAC_DEC_4): Likewise.
22692         (__FP_FRAC_ADDI_4): Likewise.
22693         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
22694         (_FP_FRAC_SRL_8): Likewise.
22695         (_FP_FRAC_SRS_8): Likewise.
22697         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
22698         include macro name.
22699         (FP_UNPACK_RAW_EP): Likewise.
22700         (FP_PACK_RAW_E): Likewise.
22701         (FP_PACK_RAW_EP): Likewise.
22702         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
22703         (_FP_ISSIGNAN): Likewise.
22704         (_FP_ADD_INTERNAL): Likewise.
22705         (_FP_FMA): Likewise.
22706         (_FP_CMP): Likewise.
22707         (_FP_SQRT): Likewise.
22708         (_FP_TO_INT): Likewise.
22709         (_FP_FROM_INT): Likewise.
22710         (FP_EXTEND): Likewise.
22711         (_FP_DIV_MEAT_N_loop): Likewise.
22713 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
22715         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
22716         throughout.
22718 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
22720         [BZ #17097]
22721         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
22722         result with correct sign in case of exponents that produce
22723         overflow except for X very close to 1.
22725 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
22727         mktime: merge #if/#ifdef usage from glibc
22728         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
22729         as that works with both Glibc's and Gnulib's style.
22730         See thread starting at Siddhesh Poyarekar's bug report at:
22731         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
22733 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22735         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
22736         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
22737         * sysdeps/tile/tilegx/memmove.c: Remove file.
22739 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22741         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
22742         abi-name definition.
22743         * scripts/soversions.awk: Do not handle or generate ABI lines.
22744         * shlib-versions: Remove ABI entries.
22745         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
22746         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
22748 2014-06-27  Roland McGrath  <roland@hack.frob.com>
22750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
22751         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
22752         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
22753         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
22754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
22755         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
22756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
22757         Moved ...
22758         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
22759         ... here.
22760         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
22761         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
22762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
22763         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
22764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
22765         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
22766         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
22767         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
22768         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
22769         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
22770         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
22771         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
22772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
22773         Moved ...
22774         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
22775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
22776         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
22777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
22778         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
22779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
22780         Moved ...
22781         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
22782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
22783         Moved ...
22784         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
22785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
22786         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
22787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
22788         Moved ...
22789         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
22790         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
22791         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
22792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
22793         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
22794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
22795         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
22796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
22797         Moved ...
22798         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
22799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
22800         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
22801         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
22802         Moved ...
22803         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
22804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
22805         Moved ...
22806         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
22807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
22808         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
22809         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
22810         Moved ...
22811         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
22812         ... here.
22813         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
22814         Identical file removed.
22815         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
22816         Moved ...
22817         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
22818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
22819         Identical file removed.
22820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
22821         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
22822         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
22823         Moved ...
22824         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
22825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
22826         Identical file removed.
22827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
22828         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
22829         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
22830         Identical file removed.
22831         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
22832         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
22833         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
22834         Identical file removed.
22835         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
22836         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
22837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
22838         Identical file removed.
22839         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
22840         Moved ...
22841         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
22842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
22843         Identical file removed.
22844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
22845         Moved ...
22846         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
22847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
22848         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
22849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
22850         Identical file removed.
22851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
22852         Moved ...
22853         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
22854         ... here.
22855         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
22856         Identical file removed.
22857         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
22858         Moved ...
22859         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
22860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
22861         Identical file removed.
22862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
22863         Moved ...
22864         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
22865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
22866         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
22867         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
22868         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
22869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
22870         Moved ...
22871         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
22872         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
22873         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
22875         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
22876         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
22877         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
22878         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
22879         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
22881 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
22883         [BZ #17092]
22884         * nscd/nscd.c (monitor_child): Return exit status of child
22885         instead of return value from wait syscall.
22887 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
22889         * configure.ac (libc_commonpagesize): Remove variable.
22890         (libc_relro_required): Likewise.
22891         (libc_cv_z_relro): Remove configure test.
22892         * configure: Regenerated.
22893         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22894         variable.
22895         (libc_relro_required): Likewise.
22896         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
22897         (libc_relro_required): Likewise.
22898         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
22899         (libc_relro_required): Likewise.
22900         * sysdeps/arm/preconfigure: Regenerated.
22901         * sysdeps/ia64/preconfigure: Remove file.
22902         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
22903         variable.
22904         (libc_relro_required): Likewise.
22906         [BZ #16561]
22907         [BZ #16562]
22908         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
22909         (__ieee754_yn): Set FE_TONEAREST mode internally and then
22910         recompute overflowing results in original rounding mode.
22911         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
22912         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
22913         recompute overflowing results in original rounding mode.
22914         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
22915         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22916         recompute overflowing results in original rounding mode.
22917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
22918         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22919         recompute overflowing results in original rounding mode.
22920         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
22921         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
22922         recompute overflowing results in original rounding mode.
22923         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
22924         (libc_feholdsetround_ctx): New macro.
22925         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
22926         * sysdeps/i386/fpu/libm-test-ulps: Update.
22927         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
22929 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22931         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
22932         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
22933         corresponding .cpsetup call.
22935 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22937         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22938         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22939         * sysdeps/arm/Makefile [$(subdir) = csu]
22940         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22941         (static-only-routines): Add aeabi_read_tp here.
22942         (shared-only-routines): Add libc-aeabi_read_tp here.
22943         (CFLAGS-libc-start.c): Add -fexceptions here.
22944         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22945         (sysdep_routines, static-only-routines, shared-only-routines):
22946         Don't add to these here.
22947         (CFLAGS-libc-start.c): Likewise.
22949         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22950         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22951         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22952         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22953         * sysdeps/arm/Makefile [$(subdir) = rt]
22954         (librt-sysdep_routines, librt-shared-only-routines):
22955         Append rt-aeabi_unwind_cpp_pr1 here.
22956         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22957         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22958         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22959         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22960         Append nptl-aeabi_unwind_cpp_pr1 here.
22961         (tests): Filter out tst-cleanupx4 here.
22962         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22963         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22964         Don't do those here.
22966 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22968         * scripts/list-sources.sh: Do not handle ports specially.
22970 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22972         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22973         * sysdeps/arm/feupdateenv.c: Likewise.
22975         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22977 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22979         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22980         trailing whitespace removed.
22981         * scripts/config.guess: Update to version 2014-03-23.
22982         * scripts/config.sub: Update to version 2014-05-01
22983         * scripts/install-sh: Update to version 2013-12-25.23.
22984         * scripts/move-if-change: Update from gnulib.
22986 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22988         * debug/memmove_chk.c: Remove pagecopy.h include.
22990 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22992         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22993         identical to gnulib mktime.
22995 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22997         * configure.ac: Do not test for machine being rs6000.  Do not test
22998         for powerpc*-*soft.
22999         * configure: Regenerated.
23001         [BZ #11505]
23002         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23003         test.
23004         * configure: Regenerated.
23005         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23006         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23007         Remove configure test.
23008         * sysdeps/arm/configure: Regenerated.
23009         * sysdeps/nptl/configure.ac: Do not check
23010         libc_cv_asm_cfi_directives.
23011         * sysdeps/nptl/configure: Regenerated.
23012         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23013         * sysdeps/x86_64/nptl/configure: Remove generated file.
23014         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23015         unconditional.
23016         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23018 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23020         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23021         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23022         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23023         it is defined.
23025         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23026         instead of whether it is defined.
23027         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23028         * sysdeps/hppa/dl-machine.h: Likewise.
23029         * sysdeps/ia64/dl-machine.h: Likewise.
23030         * sysdeps/m68k/dl-machine.h: Likewise.
23031         * sysdeps/microblaze/dl-machine.h: Likewise.
23032         * sysdeps/mips/dl-machine.: Likewise.
23033         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23034         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23035         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23036         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23037         * sysdeps/sh/dl-machine.h: Likewise.
23038         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23039         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23040         * sysdeps/tile/dl-machine.h: Likewise.
23041         * sysdeps/x86_64/dl-machine.h: Likewise.
23043         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23044         code.
23045         (verify_persistent_db): Likewise.
23047 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23050         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23052         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23054         Moved ...
23055         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23056         ... here.
23057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23058         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23060         Identical file removed.
23061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23062         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23064         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23066         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23068         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23070         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23072         Moved ...
23073         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23075         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23077         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23079         Moved ...
23080         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23082         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23084         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23085         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23086         Identical file removed.
23087         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23088         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23090         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23092         Moved ...
23093         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23094         ... here.
23095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23096         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23098         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23100         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23102         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23104         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23106         Moved ...
23107         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23109         Moved ...
23110         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23112         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23114         Moved ...
23115         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23117         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23119         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23120         folded into ...
23121         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23122         * sysdeps/unix/sysv/linux/s390/Versions
23123         (libpthread: GLIBC_2.19): New version set.
23124         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23125         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23126         (librt: GLIBC_2.3.3): New version set.
23127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23128         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23129         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23130         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23131         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23132         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23133         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23134         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23135         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23136         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23137         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23138         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23139         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23140         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23141         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23142         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23143         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23144         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23145         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23146         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23147         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23148         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23149         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23150         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23151         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23152         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23153         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23155         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23157         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23158         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23163         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23165         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23167         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23169         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23171         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23173         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23174         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23175         (__libc_vfork): Define the function under this name.
23176         [!NOT_IN_libc] (__vfork): Make this an alias.
23177         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23179         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23180         (__libc_vfork): Define the function under this name.
23181         [!NOT_IN_libc] (__vfork): Make this an alias.
23182         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23183         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23184         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23187         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23189         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23190         code that was previously under [RESET_PID].
23191         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23192         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23195         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23196         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23198         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23199         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23200         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23201         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23202         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23203         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23204         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23205         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23206         Moved ...
23207         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23208         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23209         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23210         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23211         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23212         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23213         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23214         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23215         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23216         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23217         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23218         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23219         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23220         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23221         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23222         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23223         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23224         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23225         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23226         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23227         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23228         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23229         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23230         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23231         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23232         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23233         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23234         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23235         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23237 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23239         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23240         that was previously under [RESET_PID].
23241         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23243 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23245         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23246         not undefine and redefine.
23247         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23248         [O_CLOEXEC]: Make code unconditional.
23249         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23250         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23251         <kernel-features.h>.
23252         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23253         conditional variable definition.
23254         (shm_open) [O_CLOEXEC]: Make code unconditional.
23255         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23256         code.
23258         * configure.ac (USE_REGPARMS): Don't define here.
23259         * configure: Regenerated.
23260         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23261         * sysdeps/i386/configure: Regenerated.
23263         * nptl/createthread.c: Don't include kernel-features.h.
23264         * nptl/pthread_cancel.c: Likewise.
23265         * nptl/pthread_condattr_setclock.c: Likewise.
23266         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23267         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23268         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23269         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23270         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23271         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23272         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23274         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23275         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23276         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23277         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23278         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23279         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23280         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23281         * nscd/gai.c: Likewise.
23282         * nss/nss_db/db-open.c: Likewise.
23283         * sysdeps/generic/ldsodefs.h: Likewise.
23284         * sysdeps/sh/nptl/tls.h: Likewise.
23285         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23286         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23287         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23288         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23289         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23290         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23291         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23292         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23293         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23294         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23295         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23296         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23297         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23298         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23299         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23300         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23301         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23302         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23303         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23304         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23305         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23307         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23308         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23309         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23310         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23313         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23314         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23315         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23316         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23317         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23318         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23319         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23320         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23321         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23322         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23323         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23324         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23325         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23326         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23327         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23328         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23329         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23330         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23331         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23332         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23333         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23334         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23335         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23336         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23337         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23338         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23339         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23340         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23341         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23342         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23365         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23366         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23367         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23368         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23369         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23370         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23371         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23372         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23373         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23374         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23375         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23376         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23377         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23378         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23379         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23380         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23381         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23382         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23383         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23384         * sysdeps/unix/sysv/linux/system.c: Likewise.
23385         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23386         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23387         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23388         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23389         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23390         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23391         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23393         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23394         * configure: Regenerated.
23395         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23397         * configure.ac (base_machine): Do not set specially for particular
23398         machines here.
23399         * configure: Regenerated.
23400         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23401         settings from configure.ac.
23402         * sysdeps/i386/preconfigure: New file.
23403         * sysdeps/s390/preconfigure: Likewise.
23404         * sysdeps/sh/preconfigure: Likewise.
23405         * sysdeps/sparc/preconfigure: Likewise.
23407 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23409         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23410         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23411         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23412         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23413         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23414         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23415         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23416         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23417         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23418         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23419         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23420         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23421         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23422         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23423         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23424         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23425         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23426         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23427         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23429         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23430         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23431         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23432         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23433         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23434         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23435         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23436         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23437         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23438         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23439         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23440         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23441         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23442         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23443         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23444         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23445         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23446         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23447         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23448         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23449         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23450         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23451         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23452         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23454         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23456         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23459         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23460         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23462         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23463         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23464         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23466         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23469         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23471         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23475         ... here.
23476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23477         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23479         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23481         Moved ...
23482         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23484         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23488         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23490         Moved ...
23491         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23493         Moved ...
23494         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23496         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23498         Moved ...
23499         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23501         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
23503         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
23504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
23505         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
23506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
23507         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
23508         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23509         Moved ...
23510         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
23511         ... here.
23512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
23513         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
23514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
23515         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
23516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
23517         Moved ...
23518         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
23519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
23520         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
23521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
23522         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
23523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
23524         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
23525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23526         Moved ...
23527         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
23528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23529         Moved ...
23530         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
23531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
23532         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
23533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23534         Moved ...
23535         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
23536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
23537         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
23538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
23539         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
23541 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23543         * timezone/checktab.awk: Update from tzcode 2014e.
23544         * timezone/private.h: Likewise.
23545         * timezone/tzfile.h: Likewise.
23546         * timezone/zdump.c: Likewise.
23547         * timezone/zic.c: Likewise.
23549         * sysdeps/unix/sysv/linux/kernel-features.h
23550         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
23551         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
23552         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
23553         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23554         Remove conditional code.
23556 2014-06-25  Will Newton  <will.newton@linaro.org>
23558         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
23559         (_dl_arm_cap_flags): Add HWCAP2 values.
23560         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
23561         (_DL_HWCAP_COUNT): Increase to 37.
23562         (_DL_HWCAP_LAST): New define.
23563         (_DL_HWCAP2_LAST): New define.
23564         (_dl_procinfo): Add support for printing
23565         AT_HWCAP2 entries.
23566         (_dl_string_hwcap): Use _dl_hwcap_string.
23568 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23572 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23574         * README: Do not mention ports directory.
23576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
23577         Remove macro.
23578         * sysdeps/unix/sysv/linux/futimes.c: Do not include
23579         <kernel-features.h>.
23580         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
23581         conditional variable definition.
23582         (__futimes): Update comment.
23583         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
23584         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
23586         [BZ #16560]
23587         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
23588         arguments close to 0.
23589         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
23590         Likewise.
23591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
23592         Likewise.
23593         * math/auto-libm-test-in: Add more tests of exp10.
23594         * math/auto-libm-test-out: Regenerated.
23595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23597         * sysdeps/unix/sysv/linux/kernel-features.h
23598         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
23599         * sysdeps/unix/sysv/linux/readv.c: Do not include
23600         <kernel-features.h>.
23601         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23602         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23603         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23604         unconditional.
23605         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23606         conditional code.
23607         * sysdeps/unix/sysv/linux/writev.c: Do not include
23608         <kernel-features.h>.
23609         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
23610         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
23611         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
23612         unconditional.
23613         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
23614         conditional code.
23616 2014-06-25  Will Newton  <will.newton@linaro.org>
23618         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
23619         comment changes throughout the file.  Remove checks
23620         for HAVE_*_H definitions that are not required.
23621         (__gen_tempname): Call abort if an unknown kind value is
23622         passed.
23624 2014-06-25  Andreas Schwab  <schwab@suse.de>
23626         [BZ #17086]
23627         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
23628         scalbln, scalblnf, scalblnl in libc.
23630 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23632         [BZ #17086]
23633         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
23634         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23635         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23637 2014-06-24  Roland McGrath  <roland@hack.frob.com>
23639         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
23640         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
23641         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
23642         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
23643         Update #include.
23644         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
23645         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
23646         Update #include.
23647         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
23648         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
23649         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
23650         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
23651         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
23652         * sysdeps/x86/bits/pthreadtypes.h: ... here.
23653         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
23654         * sysdeps/x86/bits/semaphore.h: ... here.
23655         * sysdeps/x86/nptl/elide.h: Moved ...
23656         * sysdeps/x86/elide.h: ... here.
23657         * sysdeps/x86_64/nptl/Implies: File removed.
23658         * sysdeps/i386/nptl/Implies: File removed.
23660 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
23662         [BZ #16539]
23663         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
23664         return the argument for normal arguments with exponent below -64.
23665         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23666         Likewise.
23667         * math/auto-libm-test-in: Add another test of expm1.
23668         * math/auto-libm-test-out: Regenerated.
23670         [BZ #16287]
23671         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
23672         calling __erfcl for arguments at least 16.
23673         * math/auto-libm-test-in: Add more tests of erf.
23674         * math/auto-libm-test-out: Regenerated.
23676         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
23677         individual architectures.
23678         * sysdeps/unix/sysv/linux/configure: Regenerated.
23679         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
23680         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
23681         * sysdeps/unix/sysv/linux/powerpc/configure.ac
23682         (ldd_rewrite_script): Define variable.
23683         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
23685         file.
23686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
23687         generated file.
23688         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
23689         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
23690         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
23691         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
23692         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
23693         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
23694         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
23695         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
23697 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23699         [BZ #17084]
23700         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
23701         Rename member __data.d to __data.__elision_data.
23703 2014-06-24  Wilco  <wdijkstr@arm.com>
23705         * NEWS: Add 16918 to fixed bug list.
23707 2014-06-24  Wilco  <wdijkstr@arm.com>
23709         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
23711 2014-06-24  Wilco  <wdijkstr@arm.com>
23713         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
23714         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
23715         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
23716         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
23717         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
23718         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
23719         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
23720         Use _FPU_MASK_RM.
23722 2014-06-24  Wilco  <wdijkstr@arm.com>
23724         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
23726 2014-06-24  Wilco  <wdijkstr@arm.com>
23728         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
23729         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
23730         * sysdeps/arm/fesetround.c (fesetround): Remove space.
23731         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
23733 2014-06-24  Wilco  <wdijkstr@arm.com>
23735         [BZ #16918]
23736         * sysdeps/arm/feupdateenv.c (feupdateenv):
23737         Rewrite to reduce FPSCR accesses and fix return value.
23739 2014-06-24  Wilco  <wdijkstr@arm.com>
23741         * sysdeps/arm/fclrexcpt.c (feclearexcept):
23742         Optimize to avoid unnecessary FPSCR writes.
23743         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
23744         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
23745         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
23746         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
23748 2014-06-24  Wilco  <wdijkstr@arm.com>
23750         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23751         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
23752         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
23753         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
23754         Call libc_fetestexcept_vfp.
23755         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
23756         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
23757         __SOFTFP__ ifdef so that they can be built for softfp.
23759 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23761         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
23762         argument type signed char.
23764         * Makerules (check-abi): Dump diff of symlist if the test
23765         fails.
23767 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23769         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
23770         using abort.
23772         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
23773         Remove unused variable ST.
23775 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23777         [BZ #16354]
23778         [BZ #17061]
23779         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
23780         small arguments before calling __expm1.
23781         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
23782         small arguments before calling __expm1f.
23783         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
23784         small arguments before calling __expm1l.
23785         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23786         Likewise.
23787         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
23788         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
23789         spurious underflow for some cosh tests.
23790         * math/auto-libm-test-out: Regenerated.
23791         * sysdeps/i386/fpu/libm-test-ulps: Update.
23793         [BZ #17050]
23794         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
23795         (__ieee754_y1): Set errno if return value overflows.
23796         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
23797         (__ieee754_y1f): Set errno if return value overflows.
23798         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
23799         (__ieee754_y1l): Set errno if return value overflows.
23800         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
23801         (__ieee754_y1l): Set errno if return value overflows.
23802         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
23803         * math/auto-libm-test-out: Regenerated.
23805         * math/gen-auto-libm-tests.c: Document use of
23806         ignore-zero-inf-sign.
23807         (input_flag_type): Add value flag_ignore_zero_inf_sign.
23808         (input_flags): Add ignore-zero-inf-sign.
23809         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
23810         * math/gen-libm-test.pl (generate_testfile): Handle
23811         ignore-zero-inf-sign.
23812         * math/auto-libm-test-in: Mark some cpow tests with
23813         ignore-zero-inf-sign and some with xfail-rounding.
23814         * math/auto-libm-test-out: Regenerated.
23815         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
23816         * sysdeps/i386/fpu/libm-test-ulps: Update.
23817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23819         [BZ #16315]
23820         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
23821         overflowing or underflowing operations take place with sign of
23822         result.
23823         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23824         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23825         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
23826         (__ieee754_pow): Recompute overflowing and underflowing results in
23827         original rounding mode.
23828         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
23829         (__powl_helper): Allow negative argument X and scale negated value
23830         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
23831         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
23832         overflowing or underflowing operations take place with sign of
23833         result.
23834         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
23835         Include <math.h>.
23836         * math/auto-libm-test-in: Add more tests of pow.
23837         * math/auto-libm-test-out: Regenerated.
23838         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
23839         (pow_tonearest_test_data): Remove.
23840         (pow_test_tonearest): Likewise.
23841         (pow_towardzero_test_data): Likewise.
23842         (pow_test_towardzero): Likewise.
23843         (pow_downward_test_data): Likewise.
23844         (pow_test_downward): Likewise.
23845         (pow_upward_test_data): Likewise.
23846         (pow_test_upward): Likewise.
23847         (main): Don't call removed functions.
23848         * sysdeps/i386/fpu/libm-test-ulps: Update.
23849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23851 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
23854         Moved ...
23855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
23856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23857         Moved ...
23858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
23859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23860         Moved ...
23861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
23862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23863         Moved ...
23864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
23865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23866         File removed.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23868         File removed.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
23870         File removed.
23871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
23872         File removed.
23873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
23874         File removed.
23875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
23876         File removed.
23877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
23878         File removed.
23879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23880         File removed.
23881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
23882         File removed.
23883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23884         File removed.
23885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
23886         File removed.
23887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
23888         File removed.
23889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
23890         Moved ...
23891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
23893         Moved ...
23894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
23895         ... here.
23896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
23897         Moved ...
23898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
23899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
23900         Moved ...
23901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
23902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
23903         Moved ...
23904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
23905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
23906         Moved ...
23907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
23908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
23909         Moved ...
23910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
23911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
23912         Moved ...
23913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
23914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
23915         Moved ...
23916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
23917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
23918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
23919         ... here.
23920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
23921         Moved ...
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
23923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23924         Moved ...
23925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23926         ... here.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
23928         Moved ...
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23930         ... here.
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23932         Moved ...
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23934         ... here.
23935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23936         Moved ...
23937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23939         Moved ...
23940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23944         Moved ...
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23946         ... here.
23947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23948         Moved ...
23949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23950         ... here.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23952         Moved ...
23953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23955         Moved ...
23956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23958         Moved ...
23959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23961         Moved ...
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23964         Moved ...
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23966         ... here.
23967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23968         Moved ...
23969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23971         Moved ...
23972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23974         Moved ...
23975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23977         Moved ...
23978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23982         Moved ...
23983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23985         Moved ...
23986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23988         Moved ...
23989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23990         ... here.
23991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23992         Moved ...
23993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23994         ... here.
23995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23996         Moved ...
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23998         ... here.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24000         Moved ...
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24003         Moved ...
24004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24006         Moved ...
24007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24009         Moved ...
24010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24011         ... here.
24012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24013         Moved ...
24014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24015         ... here.
24016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24017         Moved ...
24018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24019         ... here.
24020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24021         Moved ...
24022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24024         Moved ...
24025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24027 2014-06-23  Will Newton  <will.newton@linaro.org>
24028             Wilco  <wdijkstr@arm.com>
24030         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24031         implementation.  Include get-rounding-mode.h.
24032         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24033         [!libc_feholdsetround_noex_ctx]: Define
24034         libc_feholdsetround_noex_ctx.
24035         [!libc_feholdsetround_noexf_ctx]: Define
24036         libc_feholdsetround_noexf_ctx.
24037         [!libc_feholdsetround_noexl_ctx]: Define
24038         libc_feholdsetround_noexl_ctx.
24039         (libc_feholdsetround_ctx): New function.
24040         (libc_feresetround_ctx): New function.
24041         (libc_feholdsetround_noex_ctx): New function.
24042         (libc_feresetround_noex_ctx): New function.
24044 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24046         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24047         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24048         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24049         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24050         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24051         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24053         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24054         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24055         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24056         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24057         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24058         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24060         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24062         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24063         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24064         Moved ...
24065         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24066         ... here.
24067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24068         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24070         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24071         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24072         Moved ...
24073         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24074         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24075         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24076         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24077         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24078         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24079         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24081         Moved ...
24082         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24084         Moved ...
24085         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24087         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24089         Moved ...
24090         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24091         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24092         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24093         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24094         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24095         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24096         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24097         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24098         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24100         Moved ...
24101         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24102         ... here.
24103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24104         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24106         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24107         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24108         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24110         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24112         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24114         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24115         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24116         Moved ...
24117         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24119         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24120         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24121         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24122         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24123         Moved ...
24124         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24126         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24127         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24128         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24130         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24131         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24132         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24133         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24134         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24135         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24136         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24137         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24138         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24139         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24140         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24141         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24142         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24143         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24144         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24145         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24146         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24147         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24148         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24149         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24150         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24151         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24152         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24153         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24154         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24155         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24156         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24157         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24159 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24162         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24163         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24164         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24165         (IPV6_PMTUDISC_INTERFACE): Likewise.
24166         (IPV6_PMTUDISC_OMIT): Likewise.
24168 2014-06-23  Andreas Schwab  <schwab@suse.de>
24170         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24171         Remove unused errout label.
24173 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24175         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24176         macro: hardware supports Vector Crypto instructions.
24178 2014-06-23  Will Newton  <will.newton@linaro.org>
24180         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24181         rather than __builtin_expect.
24183         * elf/dl-lookup.c (undefined_msg): Remove variable.
24184         (_dl_lookup_symbol_x): Replace undefined_msg with string
24185         literal.
24187         * elf/dl-lookup.c (do_lookup_unique): New function.
24188         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24189         to a separate function.
24191 2014-06-23  Andreas Schwab  <schwab@suse.de>
24193         [BZ #17079]
24194         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24195         before reading the next line.
24197 2014-06-23  Will Newton  <will.newton@linaro.org>
24199         * test-skeleton.c (signal_handler): Use printf and %m
24200         rather than perror.  Use printf rather than fprintf to
24201         stderr.  Use puts rather than fputs to stderr.
24202         (main): Likewise.
24204 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24206         * nscd/nscd.c (thread_info_t): Remove typedef.
24207         (thread_info): Remove variable.
24209 2014-06-21  Allan McRae  <allan@archlinux.org>
24211         * NEWS: Mention CVE-2014-4043.
24213 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24215         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24216         * nptl/smp.h: ... here.
24218         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24220         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24221         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24222         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24223         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24225         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24226         * nptl/stack-aliasing.h: New file.
24227         * sysdeps/i386/i686/stack-aliasing.h: New file.
24228         * sysdeps/i386/i686/nptl/Makefile: File removed.
24229         * sysdeps/x86_64/stack-aliasing.h: New file.
24230         * sysdeps/x86_64/nptl/Makefile
24231         (CFLAGS-pthread_create.c): Variable removed.
24233         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24234         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24235         old file.
24236         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24237         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24238         old file.
24240 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24242         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24243         (__ASSUME_SIGFRAME_V2): Remove macro.
24244         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24245         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24246         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24247         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24248         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24249         Declare as function.  Remove conditional macro definitions.
24250         (__default_rt_sa_restorer): Likewise.
24251         (__default_sa_restorer_v1): Remove declaration.
24252         (__default_sa_restorer_v2): Likewise.
24253         (__default_rt_sa_restorer_v1): Likewise.
24254         (__default_rt_sa_restorer_v2): Likewise.
24255         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24256         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24257         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24259 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24261         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24262         (libpthread-routines): Add sysdep.
24263         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24264         * sysdeps/unix/sysv/linux/sparc/Versions
24265         (libpthread: GLIBC_2.3.3): New version set.
24266         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24267         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24268         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24269         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24270         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24271         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24272         Moved ...
24273         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24274         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24275         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24276         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24277         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24278         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24279         * sysdeps/sparc/nptl/sem_init.c: ... here.
24280         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24281         * sysdeps/sparc/nptl/sem_post.c: ... here.
24282         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24283         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24284         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24285         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24286         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24287         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24288         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24289         (libpthread-routines): Add cpu_relax.
24290         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24291         File removed.
24292         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24293         (librt: GLIBC_2.3.3): New version set.
24294         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24295         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24296         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24297         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24300         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24302         Moved ...
24303         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24305         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24307         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24309         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24311         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24313         Moved ...
24314         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24315         Update #include.
24316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24317         Moved ...
24318         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24319         Update #include.
24320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24321         Moved ...
24322         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24323         Update #include.
24324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24325         Moved ...
24326         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24327         Update #include.
24328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24329         Moved ...
24330         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24331         Update #include.
24332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24333         Moved ...
24334         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24335         Update #include.
24336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24337         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24343         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24345         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24347         Moved ...
24348         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24350         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24352         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24354 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24356         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24357         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24358         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24359         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24360         * nscd/nscd.c: Likewise.
24361         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24362         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24363         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24364         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24366         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24367         <kernel-features.h>.
24368         (init_mq_netlink): Remove conditional have_sock_cloexec
24369         definitions.  Remove code conditional on have_sock_cloexec < 0.
24370         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24371         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24372         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24373         <kernel-features.h>.
24374         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24375         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24377 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24380         Add tests for memset_chk and memset.
24382         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24383         with AVX2_Usable.
24385 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24387         [BZ #16046]
24388         * elf/tst-dl-iter-static.c: New file.
24389         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24391         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24392         error.
24394 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24396         * sysdeps/unix/sysv/linux/kernel-features.h
24397         (__ASSUME_F_GETOWN_EX): Remove macro.
24398         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24399         <kernel-features.h>.
24400         (miss_F_GETOWN_EX): Remove variable or macro.
24401         (do_fcntl): Do not check miss_F_GETOWN_EX.
24402         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24405         Remove macro.
24406         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24407         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24408         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24410         * sysdeps/unix/sysv/linux/kernel-features.h
24411         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24412         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24413         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24414         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24416 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24418         [BZ #17075]
24419         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24420         Fix calculation of the symbol's value.
24421         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24422         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24423         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24424         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24425         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24426         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24427         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24428         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24429         (modules-names): Add `tst-armtlsdescmod',
24430         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24431         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24432         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24433         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24434         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24435         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24436         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24437         ($(objpfx)tst-armtlsdescloc): New dependency.
24438         ($(objpfx)tst-armtlsdescextnow): Likewise.
24439         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24440         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24441         TLS scheme support.
24442         * sysdeps/arm/configure: Regenerate.
24444 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24446         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24447         (__atfct_seterrno_2): Likewise.
24448         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24449         <kernel-features.h>.
24450         (__ASSUME_ATFCTS): Do not undefine and redefine.
24451         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24452         (__have_atfcts): Remove conditional definition.
24453         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24454         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24455         unreachable if [__ASSUME_ATFCTS].
24456         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24457         not undefine and redefine.
24458         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24459         <kernel-features.h>.
24460         (faccessat) [__NR_faccessat]: Make code unconditional.
24461         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24462         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24463         <kernel-features.h>.
24464         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24465         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24466         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24467         <kernel-features.h>.
24468         (fchownat) [__NR_fchownat]: Make code unconditional.
24469         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24470         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24471         <kernel-features.h>.
24472         (futimesat) [__NR_futimesat]: Make code unconditional.
24473         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24474         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24475         <kernel-features.h>.
24476         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24477         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24478         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24479         <kernel-features.h>.
24480         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24481         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24482         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24483         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24484         <kernel-features.h>.
24485         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24486         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24487         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24488         <kernel-features.h>.
24489         (linkat) [__NR_linkat]: Make code unconditional.
24490         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24491         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24492         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24493         <kernel-features.h>.
24494         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24495         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24496         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24497         <kernel-features.h>.
24498         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24499         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24500         * sysdeps/unix/sysv/linux/openat.c: Do not include
24501         <kernel-features.h>.
24502         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
24503         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
24504         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
24505         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
24506         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
24507         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
24508         <kernel-features.h>.
24509         (readlinkat) [__NR_readlinkat]: Make code unconditional.
24510         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
24511         result of INLINE_SYSCALL directly, not via int variable.
24512         * sysdeps/unix/sysv/linux/renameat.c: Do not include
24513         <kernel-features.h>.
24514         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
24515         (renameat) [__NR_renameat]: Make code unconditional.
24516         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
24517         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
24518         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
24519         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
24520         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
24521         (__ASSUME_ATFCTS): Do not undefine and redefine.
24522         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
24523         <kernel-features.h>.
24524         (symlinkat) [__NR_symlinkat]: Make code unconditional.
24525         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24526         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
24527         <kernel-features.h>.
24528         (unlinkat) [__NR_unlinkat]: Make code unconditional.
24529         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24530         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
24531         (__ASSUME_ATFCTS): Do not undefine and redefine.
24532         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24533         <kernel-features.h>.
24534         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24535         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24536         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24537         <kernel-features.h>.
24538         (__xmknodat) [__NR_mknodat]: Make code unconditional.
24539         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24541 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24543         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
24545 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
24547         [BZ #17069]
24548         * posix/regcomp.c (parse_reg_exp): Deallocate partially
24549         constructed tree before returning error.
24550         * posix/bug-regexp36.c: Expand test case.
24552 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24554         [BZ #6803]
24555         * math/libm-test.inc (scalbln_test_date):
24556         Add errno expectations.
24557         * math/w_scalblnf.c: New File.
24558         Add wrapper which checks for setting errno to ERANGE.
24559         Add weak_alias for corresponding scalbln function.
24560         * math/w_scalbln.c: Likewise.
24561         * math/w_scalblnl.c: Likewise.
24562         * math/Makefile (libm-calls): Add w_scalbln.
24563         * sysdeps/ieee754/flt-32/s_scalblnf.c:
24564         Remove weak_alias for corresponding scalbln function.
24565         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24566         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24567         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24568         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24569         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24570         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24571         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
24572         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24573         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
24574         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
24575         Remove long_double_symbol for scalblnl function in libm, libc.
24576         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
24577         Add wrapper which checks for setting errno to ERANGE.
24578         Add long_double_symbol for scalblnl function in libm, libc.
24579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
24580         Remove long_double_symbol for scalblnl in libm.
24581         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
24582         Add wrapper which checks for setting errno to ERANGE.
24583         Add long_double_symbol for scalblnl function in libm.
24584         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
24585         Do not use wrapper because of own implementation.
24587 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
24589         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
24590         3 bytes for __pad1 for x32.
24591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
24593 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
24594             H.J. Lu  <hongjiu.lu@intel.com>
24596         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
24597         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
24598         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24599         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24600         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24602 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
24604         [BZ #17069]
24605         * posix/regcomp.c (parse_expression): Deallocate partially
24606         constructed tree before returning error.
24607         * posix/Makefile.c (tests): Add bug-regex36.
24608         (generated): Add bug-regex36.mtrace.
24609         (tests-special): Add $(objpfx)bug-regex36-mem.out
24610         (bug-regex36-ENV): New variable.
24611         ($(objpfx)bug-regex36-mem.out): New rule.
24612         * posix/bug-regex36.c: New file.
24614 2014-06-19  Will Newton  <will.newton@linaro.org>
24616         * malloc/malloc.c (systrim): If extra is zero then return
24617         early.
24619 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24621         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
24623 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
24625         * sysdeps/aarch64/strchr.S: New file.
24627 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #17022]
24630         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
24631         from arguments -2 or below.
24632         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24633         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
24635 2014-06-18  Andreas Schwab  <schwab@suse.de>
24637         [BZ #17062]
24638         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
24639         of a bracket expr not to run off the end of the string.
24640         * posix/Makefile (tests): Add tst-fnmatch3.
24641         * posix/tst-fnmatch3.c: New file.
24643 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
24645         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
24646         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24647         [$(cross-compiling) = no]: Likewise.
24648         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24649         [$(cross-compiling) = no]: Likewise.
24651 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24653         [BZ #17031]
24654         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
24655         double, adjusted for any remainder from the high double.
24656         * math/libm-test.inc (nearbyint): Add tests.
24657         (rint): Likewise.
24659 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24661         * nptl/sysdeps/powerpc/Makefile: Moved ...
24662         * sysdeps/powerpc/nptl/Makefile: ... here.
24663         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
24664         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
24665         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
24666         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
24667         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
24668         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
24669         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
24670         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
24671         * nptl/sysdeps/powerpc/tls.h: Moved ...
24672         * sysdeps/powerpc/nptl/tls.h: ... here.
24674 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
24676         [BZ #16681]
24677         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
24678         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
24679         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
24680         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
24681         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
24682         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
24683         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
24684         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
24685         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
24687 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
24689         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24691 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
24693         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
24694         defined operator.
24696         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
24697         $TIMEOUTFACTOR.
24699 2014-06-16  Florian Weimer  <fweimer@redhat.com>
24701         [BZ #17058]
24702         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
24703         non-executed part of the test.
24705 2014-06-16  Andreas Schwab  <schwab@suse.de>
24707         * string/bits/string2.h (strdup, strndup): Update feature guard.
24709 2014-06-14  David S. Miller  <davem@davemloft.net>
24711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24713 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
24715         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
24716         that was previously under [RESET_PID].
24717         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
24719         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
24720         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
24721         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24722         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24723         (__libc_vfork): New strong alias.
24724         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
24726 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24728         * sysdeps/generic/elide.h: New file.
24730 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24732         * Makefile (installed-headers): Adjust path of pthread.h header.
24734 2014-06-13  Roland McGrath  <roland@hack.frob.com>
24736         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
24737         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
24738         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
24739         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
24741         * nptl/sysdeps/s390/Makefile: Moved ...
24742         * sysdeps/s390/nptl/Makefile: ... here.
24743         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
24744         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
24745         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
24746         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
24747         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
24748         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24749         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
24750         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
24751         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
24752         * sysdeps/s390/nptl/pthreaddef.h: ... here.
24753         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
24754         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
24755         * nptl/sysdeps/s390/tls.h: Moved ...
24756         * sysdeps/s390/nptl/tls.h: ... here.
24758         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
24759         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
24761 2014-06-13  David S. Miller  <davem@davemloft.net>
24763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
24764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
24765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
24766         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
24767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
24768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
24769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
24770         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
24771         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
24772         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
24773         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
24774         Remove RESET_PID cpp guards.
24775         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
24776         Remove RESET_PID cpp guards.
24777         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
24779 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
24781         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
24782         __sp to uintptr_t.
24784 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24786         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
24787         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
24788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
24789         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
24790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
24791         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
24792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
24793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
24794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
24795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
24796         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
24797         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
24798         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
24799         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
24800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
24801         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24802         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
24803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
24804         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
24805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
24807         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
24808         (pthread_rwlock_rdlock): Add elision.
24809         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
24810         (pthread_rwlock_wrlock): Add elision.
24811         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
24812         (pthread_rwlock_trywrlock): Add elision.
24813         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
24814         (pthread_rwlock_tryrdlock): Add elision.
24815         * nptl/pthread_rwlock_unlock.c: Include elide.h.
24816         (pthread_rwlock_tryrdlock): Add elision unlock.
24817         * nptl/sysdeps/pthread/pthread.h:
24818         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
24819         (PTHREAD_RWLOCK_INITIALIZER,
24820         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
24821         Handle new elision field.
24822         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
24823         * sysdeps/arm/nptl/bits/pthreadtypes.h
24824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24825         * sysdeps/sh/nptl/bits/pthreadtypes.h
24826         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24827         * sysdeps/tile/nptl/bits/pthreadtypes.h
24828         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24829         * sysdeps/a/nptl/bits/pthreadtypes.h
24830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24831         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24833         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24835         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
24836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24837         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24839         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24841         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24843         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24845         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
24846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24847         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
24848         (elision_init): Set try_xbegin to zero when no RTM.
24849         * sysdeps/x86/nptl/bits/pthreadtypes.h
24850         (pthread_rwlock_t): Change __pad1 to __rwelision.
24851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
24853 2014-06-13  Andi Kleen  <ak@linux.intel.com>
24855         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
24856         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
24857         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
24858         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
24860 2014-06-13  Meador Inge  <meadori@codesourcery.com>
24862         [BZ #16996]
24863         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
24864         that the cached result has been set before returning it.
24866 2014-06-12  Roland McGrath  <roland@hack.frob.com>
24868         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
24869         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
24870         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
24871         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
24872         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
24873         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
24875         * nptl/sysdeps/sparc/Makefile: Moved ...
24876         * sysdeps/sparc/nptl/Makefile: ... here.
24877         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
24878         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
24879         * nptl/sysdeps/sparc/tls.h: Moved ...
24880         * sysdeps/sparc/nptl/tls.h: ... here.
24881         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
24882         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
24883         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
24884         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
24885         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
24886         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
24887         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
24888         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
24889         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
24890         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
24891         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
24892         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
24893         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
24894         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
24895         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24896         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
24897         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
24898         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
24899         Update #include.
24900         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
24901         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
24902         Update #include.
24903         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
24904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
24905         Update #include.
24906         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
24907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
24908         Update #include.
24910         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24912         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
24913         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
24915         * sysdeps/pthread/posix-timer.h: Include <list.h>.
24916         (struct list_links): Type removed.
24917         (struct thread_node, struct timer_node): Replace struct list_links
24918         with struct list_head.
24919         (list_unlink_ip): Likewise.
24920         * sysdeps/pthread/timer_routines.c
24921         (timer_free_list, thread_free_list, thread_active_list): Likewise.
24922         (list_append, list_insbefore): Likewise.
24923         (list_init): Function removed.
24924         (thread_init, init_module): Use INIT_LIST_HEAD instead.
24925         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
24926         * sysdeps/pthread/Makefile: ... here, new file.
24928         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
24929         * sysdeps/nptl/Implies: ... here.
24930         * sysdeps/unix/sysv/linux/Implies: Add nptl.
24931         * nptl/sysdeps/pthread/list.h: Moved ...
24932         * include/list.h: ... here.
24933         * nptl/sysdeps/pthread/createthread.c: Moved ...
24934         * nptl/createthread.c: ... here.
24935         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24936         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24937         * nptl/pt-longjmp.c: ... here.
24938         * nptl/sysdeps/pthread/Makefile: Moved ...
24939         * sysdeps/nptl/Makefile: ... here.
24940         * nptl/sysdeps/pthread/Subdirs: Moved ...
24941         * sysdeps/nptl/Subdirs: ... here.
24942         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24943         * sysdeps/nptl/aio_misc.h: ... here.
24944         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24945         * sysdeps/nptl/bits/libc-lock.h: ... here.
24946         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24947         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24948         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24949         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24950         * nptl/sysdeps/pthread/configure: Moved ...
24951         * sysdeps/nptl/configure: ... here.
24952         * nptl/sysdeps/pthread/configure.ac: Moved ...
24953         * sysdeps/nptl/configure.ac: ... here.
24954         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24955         * sysdeps/nptl/gai_misc.h: ... here.
24956         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24957         * sysdeps/nptl/librt-cancellation.c: ... here.
24958         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24959         * sysdeps/nptl/malloc-machine.h: ... here.
24960         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24961         * sysdeps/nptl/pthread-functions.h: ... here.
24962         * nptl/sysdeps/pthread/pthread.h: Moved ...
24963         * sysdeps/nptl/pthread.h: ... here.
24964         * nptl/sysdeps/pthread/setxid.h: Moved ...
24965         * sysdeps/nptl/setxid.h: ... here.
24966         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24967         * sysdeps/nptl/sigfillset.c: ... here.
24968         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24969         * sysdeps/nptl/tcb-offsets.h: ... here.
24970         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24971         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24972         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24973         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24974         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24975         * sysdeps/pthread/allocalim.h: ... here.
24976         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24977         * sysdeps/pthread/bits/sigthread.h: ... here.
24978         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24979         * sysdeps/pthread/flockfile.c: ... here.
24980         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24981         * sysdeps/pthread/ftrylockfile.c: ... here.
24982         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24983         * sysdeps/pthread/funlockfile.c: ... here.
24984         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24985         * sysdeps/pthread/posix-timer.h: ... here.
24986         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24987         * sysdeps/pthread/timer_create.c: ... here.
24988         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24989         * sysdeps/pthread/timer_delete.c: ... here.
24990         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24991         * sysdeps/pthread/timer_getoverr.c: ... here.
24992         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24993         * sysdeps/pthread/timer_gettime.c: ... here.
24994         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24995         * sysdeps/pthread/timer_routines.c: ... here.
24996         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24997         * sysdeps/pthread/timer_settime.c: ... here.
24998         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24999         * sysdeps/pthread/tst-timer.c: ... here.
25000         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25001         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25003         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25004         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25006         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25007         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25008         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25009         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25010         Update #include target.
25011         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25012         * sysdeps/i386/i686/nptl/Makefile: ... here.
25013         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25014         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25015         Update #include target.
25016         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25017         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25018         * nptl/sysdeps/i386/Makefile: Moved ...
25019         * sysdeps/i386/nptl/Makefile: ... here.
25020         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25021         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25022         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25023         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25024         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25025         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25026         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25027         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25028         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25029         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25030         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25031         * nptl/sysdeps/i386/tls.h: Moved ...
25032         * sysdeps/i386/nptl/tls.h: ... here.
25034         * sysdeps/sh/Makefile [$(subdir) = csu]
25035         (gen-as-const-headers): Add tcb-offsets.sym.
25036         * nptl/sysdeps/sh/Makefile: File removed.
25037         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25038         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25039         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25040         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25041         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25042         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25043         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25044         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25045         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25046         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25047         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25048         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25049         * nptl/sysdeps/sh/tls.h: Moved ...
25050         * sysdeps/sh/nptl/tls.h: ... here.
25051         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25052         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25053         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25054         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25055         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25056         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25057         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25058         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25059         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25060         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25061         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25062         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25063         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25064         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25065         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25066         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25068         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25070         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25072         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25073         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25074         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25076         Moved ...
25077         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25078         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25079         Moved ...
25080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25085         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25086         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25087         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25088         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25089         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25090         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25091         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25092         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25093         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25094         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25095         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25096         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25097         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25098         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25100 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25102         * posix/spawn_faction_addopen.c: Include string.h.
25104 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25106         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25107         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25108         * nptl/sysdeps/x86_64/Makefile: Moved ...
25109         * sysdeps/x86_64/nptl/Makefile: ... here.
25110         * nptl/sysdeps/x86_64/configure: Moved ...
25111         * sysdeps/x86_64/nptl/configure: ... here.
25112         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25113         * sysdeps/x86_64/nptl/configure.ac: ... here.
25114         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25115         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25116         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25117         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25118         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25119         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25120         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25121         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25122         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25123         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25124         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25125         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25126         * nptl/sysdeps/x86_64/tls.h: Moved ...
25127         * sysdeps/x86_64/nptl/tls.h: ... here.
25128         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25129         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25130         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25131         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25133         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25135 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25139 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25141         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25142         type.
25143         [POSIX] (off_t): Likewise.
25144         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25145         [POSIX] (S_ISBLK): Require macro.
25146         [POSIX] (S_ISCHR): Likewise.
25147         [POSIX] (S_ISDIR): Likewise.
25148         [POSIX] (S_ISFIFO): Likewise.
25149         [POSIX] (S_ISREG): Likewise.
25150         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25151         optional-macro.
25152         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25153         type.
25154         [POSIX] (time_t): Likewise.
25155         [POSIX] (timer_t): Likewise.
25157 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25159         [BZ #17048]
25160         * posix/spawn_int.h (struct __spawn_action): Make the path string
25161         non-const to support deallocation.
25162         * posix/spawn_faction_addopen.c
25163         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25164         * posix/spawn_faction_destroy.c
25165         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25166         path in all spawn_do_open actions.
25167         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25168         posix_spawn_file_actions_addopen.
25170 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25172         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25173         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25174         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25175         conditional code always true.
25176         (__libc_vfork): New alias.
25178 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25180         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25181         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25183         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25185         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25186         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25188         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25189         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25191         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25192         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25194 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25196         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25197         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25198         multiarch strcmp for PPC64.
25199         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25200         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25202         multiarch optimizations.
25203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25204         (__libc_ifunc_impl_list): Likewise.
25206 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25208         * benchtests/scripts/validate_benchout.py: New script.
25209         * benchtests/Makefile (bench-func): Call it.
25210         * benchtests/scripts/benchout.schema.json: New file.
25212 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25214         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25215         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25216         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25217         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25218         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25219         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25220         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25221         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25222         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25223         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25224         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25225         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25226         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25227         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25228         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25229         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25231         Moved ...
25232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25233         ... here.
25234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25235         Moved ...
25236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25238         Moved ...
25239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25240         ... here.
25241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25242         Moved ...
25243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25244         ... here.
25245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25246         Moved ...
25247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25249         Moved ...
25250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25251         ... here.
25252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25253         Moved ...
25254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25255         ... here.
25256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25257         Moved ...
25258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25260         Moved ...
25261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25262         ... here.
25263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25264         Moved ...
25265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25266         ... here.
25267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25268         Moved ...
25269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25270         ... here.
25271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25272         Moved ...
25273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25275         Moved ...
25276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25277         ... here.
25278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25279         Moved ...
25280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25281         ... here.
25282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25283         Moved ...
25284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25285         ... here.
25286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25287         Moved ...
25288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25290         Moved ...
25291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25292         ... here.
25293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25294         Moved ...
25295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25296         ... here.
25297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25298         Moved ...
25299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25301         Moved ...
25302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25303         ... here.
25304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25305         Moved ...
25306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25308         Moved ...
25309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25311         Moved ...
25312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25313         ... here.
25314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25315         Moved ...
25316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25317         ... here.
25318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25319         Moved ...
25320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25321         ... here.
25322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25323         Moved ...
25324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25326         Moved ...
25327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25328         ... here.
25329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25330         Moved ...
25331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25332         ... here.
25333         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25334         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25335         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25336         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25338         Moved ...
25339         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25340         ... here.
25341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25342         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25344         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25346         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25348         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25352         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25354         Moved ...
25355         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25357         Moved ...
25358         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25360         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25362         Moved ...
25363         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25365         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25366         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25367         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25368         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25369         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25371 2014-06-10  Wilco  <wdijkstr@arm.com>
25373         * math/test-fenv-return.c: New file.
25374         * math/Makefile: Add new test test-fenv-return.
25376 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25378         [BZ #17042]
25379         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25380         when x - 1 is zero.
25381         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25382         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25383         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25384         0.0L for an argument of 1.0L.
25385         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25386         Likewise.
25387         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25388         value when x - 1 is zero.
25389         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25390         * sysdeps/i386/fpu/libm-test-ulps: Update.
25391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25393 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25395         [BZ #15119]
25396         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25398 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25400         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25401         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25403 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25405         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25406         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25408         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25409         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25411         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25412         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25414         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25415         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25417         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25418         if not already defined.
25419         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25420         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25421         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25422         (TLS_INIT_TP): Use it.
25423         (TLS_DEFINE_INIT_TP): New macro.
25424         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25426 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25428         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25429         constant.
25430         [POSIX] (IXANY): Likewise.
25431         [POSIX] (OLCUC): Likewise.
25432         [POSIX || POSIX2008] (CBAUD): Do not allow.
25433         [POSIX || POSIX2008] (DEFECHO): Likewise.
25434         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25435         [POSIX || POSIX2008] (ECHOKE): Likewise.
25436         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25437         [POSIX || POSIX2008] (EXTA): Likewise.
25438         [POSIX || POSIX2008] (EXTB): Likewise.
25439         [POSIX || POSIX2008] (FLUSHO): Likewise.
25440         [POSIX || POSIX2008] (LOBLK): Likewise.
25441         [POSIX || POSIX2008] (PENDIN): Likewise.
25442         [POSIX || POSIX2008] (SWTCH): Likewise.
25443         [POSIX || POSIX2008] (VDISCARD): Likewise.
25444         [POSIX || POSIX2008] (VDSUSP): Likewise.
25445         [POSIX || POSIX2008] (VLNEXT): Likewise.
25446         [POSIX || POSIX2008] (VREPRINT): Likewise.
25447         [POSIX || POSIX2008] (VSTATUS): Likewise.
25448         [POSIX || POSIX2008] (VWERASE): Likewise.
25449         (B*): Change to B[0123456789]*.
25450         * conform/data/time.h-data [POSIX || UNIX98]
25451         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25452         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25453         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25454         [POSIX] (tm_*): Do not allow.
25456 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25458         * Makefile (install): Don't set LANGUAGE.
25459         * Makefile.in (install): Likewise.
25460         * assert/Makefile (test-assert-ENV): Remove variable.
25461         (test-assert-perr-ENV): Likewise.
25462         * elf/Makefile (neededtest4-ENV): Likewise.
25463         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25464         [$(cross-compiling) = no]: Don't set LANGUAGE.
25465         * io/ftwtest-sh (LANG): Remove variable.
25466         * libio/Makefile (tst-widetext-ENV): Likewise.
25467         * manual/install.texi (Running make install): Don't refer to
25468         environment settings for make install.
25469         * INSTALL: Regenerated.
25470         * nptl/tst-tls6.sh: Don't set LANG.
25471         * posix/globtest.sh (LANG): Remove variable.
25472         * string/Makefile (tester-ENV): Likewise.
25473         (inl-tester-ENV): Likewise.
25474         (noinl-tester-ENV): Likewise.
25475         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25476         [$(cross-compiling) = no]: Don't set LANGUAGE.
25477         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25478         without explicit environment settings.
25480 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25482         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25483         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25484         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25485         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25487 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25489         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25490         other files in the crypt directory.
25491         * crypt/crypt.c: Remove duplicate includes.
25492         * crypt/crypt-entry.c: Likewise.
25493         * crypt/crypt_util.c: Likewise.
25495 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25497         * Makeconfig (run-program-env): New variable.
25498         (run-program-prefix-before-env): Likewise.
25499         (run-program-prefix-after-env): Likewise.
25500         (run-program-prefix): Define in terms of new variables.
25501         (built-program-cmd-before-env): New variable.
25502         (built-program-cmd-after-env): Likewise.
25503         (built-program-cmd): Define in terms of new variables.
25504         (test-program-prefix-before-env): New variable.
25505         (test-program-prefix-after-env): Likewise.
25506         (test-program-prefix): Define in terms of new variables.
25507         (test-program-cmd-before-env): New variable.
25508         (test-program-cmd-after-env): Likewise.
25509         (test-program-cmd): Define in terms of new variables.
25510         * Rules (make-test-out): Use $(run-program-env).
25511         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
25512         (help): Do not mention environment variables.  Mention
25513         --timeoutfactor option.
25514         (timeoutfactor): New variable.
25515         (blacklist_exports): Remove function.
25516         (exports): Remove variable.
25517         (command): Do not include ${exports}.
25518         * manual/install.texi (Configuring and compiling): Do not mention
25519         test wrappers preserving environment variables.  Mention that last
25520         assignment to a variable must take precedence.
25521         * INSTALL: Regenerated.
25522         * benchtests/Makefile (run-bench): Use $(run-program-env).
25523         * catgets/Makefile ($(objpfx)test1.cat): Use
25524         $(built-program-cmd-before-env), $(run-program-env) and
25525         $(built-program-cmd-after-env).
25526         ($(objpfx)test2.cat): Do not specify environment variables
25527         explicitly.
25528         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
25529         $(run-program-env) and $(built-program-cmd-after-env).
25530         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
25531         $(run-program-env) and $(test-program-cmd-after-env).
25532         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
25533         explicitly.
25534         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
25535         run_program_env and test_program_cmd_after_env arguments.
25536         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
25537         * elf/tst-pathopt.sh: Use run_program_env argument.
25538         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
25539         $(test-wrapper-env) and $(run-program-env).
25540         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
25541         run_program_env arguments.
25542         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
25543         * intl/Makefile ($(objpfx)tst-gettext.out): Use
25544         $(test-program-prefix-before-env), $(run-program-env) and
25545         $(test-program-prefix-after-env).
25546         ($(objpfx)tst-gettext2.out): Likewise.
25547         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
25548         run_program_env and test_program_prefix_after_env arguments.
25549         * intl/tst-gettext2.sh: Likewise.
25550         * intl/tst-gettext4.sh: Do not set environment variables
25551         explicitly.
25552         * intl/tst-gettext6.sh: Likewise.
25553         * intl/tst-translit.sh: Likewise.
25554         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
25555         $(test-program-prefix-before-env), $(run-program-env) and
25556         $(test-program-prefix-after-env).
25557         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
25558         run_program_env and test_program_prefix_after_env arguments.
25559         * math/Makefile (run-regen-ulps): Use $(run-program-env).
25560         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
25561         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
25562         explicitly with each use of ${test_wrapper_env}.
25563         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
25564         $(test-program-prefix-before-env), $(run-program-env) and
25565         $(test-program-prefix-after-env).
25566         * posix/tst-getconf.sh: Do not set environment variables
25567         explicitly.
25568         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
25569         run_program_env and test_program_prefix_after_env arguments.
25570         * stdio-common/tst-printf.sh: Do not set environment variables
25571         explicitly.
25572         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
25573         $(test-program-prefix-before-env), $(run-program-env) and
25574         $(test-program-prefix-after-env).
25575         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
25576         run_program_env and test_program_prefix_after_env arguments.
25577         Split $test calls into $test_pre and $test.
25578         * timezone/Makefile (build-testdata): Use
25579         $(built-program-cmd-before-env), $(run-program-env) and
25580         $(built-program-cmd-after-env).
25582 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25584         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
25585         strlen for non SHARED builds.
25587 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25589         * nptl/allocatestack.c (check_list): Inlined function...
25590         (__reclaim_stacks): ... here.
25592 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25594         [BZ #15698]
25595         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25596         memory overrun.
25598 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
25600         * Rules (make-test-out): Include
25601         LOCPATH=$(common-objpfx)localedata in default environment.
25602         * debug/Makefile (tst-chk1-ENV): Remove variable.
25603         (tst-chk2-ENV): Likewise.
25604         (tst-chk3-ENV): Likewise.
25605         (tst-chk4-ENV): Likewise.
25606         (tst-chk5-ENV): Likewise.
25607         (tst-chk6-ENV): Likewise.
25608         (tst-lfschk1-ENV): Likewise.
25609         (tst-lfschk2-ENV): Likewise.
25610         (tst-lfschk3-ENV): Likewise.
25611         (tst-lfschk4-ENV): Likewise.
25612         (tst-lfschk5-ENV): Likewise.
25613         (tst-lfschk6-ENV): Likewise.
25614         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
25615         (tst-iconv7-ENV): Likewise.
25616         * intl/Makefile (LOCPATH-ENV): Likewise.
25617         (tst-codeset-ENV): Likewise.
25618         (tst-gettext3-ENV): Likewise.
25619         (tst-gettext5-ENV): Likewise.
25620         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
25621         (tst-fopenloc-ENV): Likewise.
25622         (tst-fgetws-ENV): Remove variable.
25623         (tst-ungetwc1-ENV): Likewise.
25624         (tst-ungetwc2-ENV): Likewise.
25625         (bug-ungetwc2-ENV): Likewise.
25626         (tst-swscanf-ENV): Likewise.
25627         (bug-ftell-ENV): Likewise.
25628         (tst-fgetwc-ENV): Likewise.
25629         (tst-fseek-ENV): Likewise.
25630         (tst-ftell-partial-wide-ENV): Likewise.
25631         (tst-ftell-active-handler-ENV): Likewise.
25632         (tst-ftell-append-ENV): Likewise.
25633         * posix/Makefile (tst-fnmatch-ENV): Likewise.
25634         (tst-regexloc-ENV): Likewise.
25635         (bug-regex1-ENV): Likewise.
25636         (tst-regex-ENV): Likewise.
25637         (tst-regex2-ENV): Likewise.
25638         (bug-regex5-ENV): Likewise.
25639         (bug-regex6-ENV): Likewise.
25640         (bug-regex17-ENV): Likewise.
25641         (bug-regex18-ENV): Likewise.
25642         (bug-regex19-ENV): Likewise.
25643         (bug-regex20-ENV): Likewise.
25644         (bug-regex22-ENV): Likewise.
25645         (bug-regex23-ENV): Likewise.
25646         (bug-regex25-ENV): Likewise.
25647         (bug-regex26-ENV): Likewise.
25648         (bug-regex30-ENV): Likewise.
25649         (bug-regex32-ENV): Likewise.
25650         (bug-regex33-ENV): Likewise.
25651         (bug-regex34-ENV): Likewise.
25652         (bug-regex35-ENV): Likewise.
25653         (tst-rxspencer-ENV): Likewise.
25654         (tst-rxspencer-no-utf8-ENV): Likewise.
25655         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
25656         (tst-sscanf-ENV): Likewise.
25657         (tst-swprintf-ENV): Likewise.
25658         (tst-swscanf-ENV): Likewise.
25659         (test-vfprintf-ENV): Likewise.
25660         (scanf13-ENV): Likewise.
25661         (bug14-ENV): Likewise.
25662         (tst-grouping-ENV): Likewise.
25663         * stdlib/Makefile (tst-strtod-ENV): Likewise.
25664         (tst-strtod3-ENV): Likewise.
25665         (tst-strtod4-ENV): Likewise.
25666         (tst-strtod5-ENV): Likewise.
25667         (testmb2-ENV): Likewise./
25668         * string/Makefile (tst-strxfrm-ENV): Likewise.
25669         (tst-strxfrm2-ENV): Likewise.
25670         (bug-strcoll1-ENV): Likewise.
25671         (test-strcasecmp-ENV): Likewise.
25672         (test-strncasecmp-ENV): Likewise.
25673         * time/Makefile (tst-strptime-ENV): Likewise.
25674         (tst-ftime_l-ENV): Likewise.
25675         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
25676         (tst-mbrtowc-ENV): Likewise.
25677         (tst-wcrtomb-ENV): Likewise.
25678         (tst-mbrtowc2-ENV): Likewise.
25679         (tst-c16c32-1-ENV): Likewise.
25680         (tst-mbsnrtowcs-ENV): Likewise.
25682 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
25684         * manual/resource.texi (How to get information about the memory
25685         subsystem?): Fix typo.
25686         Reported by Peon de la Parra Ivan <peon@keba.com>
25688 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
25690         [BZ #16882]
25691         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
25692         (pthread_spin_lock): Branch out of spin loop to proper location.
25693         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
25694         (pthread_spin_lock): Likewise.
25696         * nptl/tst-spin4.c: New test.
25697         * nptl/Makefile (tests): Add tst-spin4.
25699 2014-06-03  Andreas Schwab  <schwab@suse.de>
25701         [BZ #15946]
25702         * resolv/res_send.c (send_dg): Reload file descriptor after
25703         calling reopen.
25705 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
25707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25709 2014-06-03  Richard Henderson  <rth@redhat.com>
25711         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
25712         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
25713         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
25714         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
25715         in the SAVE_PID block.
25716         (__libc_vfork): New alias.
25717         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
25719         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
25720         child in registers, not on the stack.  Remove RESET_PID conditionals.
25721         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
25723 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25725         * sysdeps/aarch64/libm-test-ulps: Regenerate.
25727 2014-06-03  Wilco  <wdijkstr@arm.com>
25729         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
25730         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
25731         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25732         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
25733         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
25734         Likewise.
25736 2014-06-03  Wilco  <wdijkstr@arm.com>
25738         * sysdeps/aarch64/fpu/math_private.h
25739         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
25740         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
25741         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
25742         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
25743         Fix declarations.
25745 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25747         * crypt/crypt-private.h: Include ufc-crypt.h.
25748         (__b64_from_24bit): Declare extern.
25749         * crypt/crypt_util.c(__b64_from_24bit): New function.
25750         (b64t): New static const variable.
25751         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
25752         (b64t): Remove variable.
25753         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
25754         * crypt/sha256-crypt.c: Include crypt-private.h.
25755         (b64t): Remove variable.
25756         (__sha256_crypt_r): Remove b64_from_24bit and replace
25757         with __b64_from_24bit.
25758         * crypt/sha512-crypt.c: Likewise.
25760 2014-06-02  Roland McGrath  <roland@hack.frob.com>
25762         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
25763         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
25764         Label the code __libc_vfork rather than __vfork.
25765         [!NOT_IN_libc] (vfork): Define as weak alias.
25766         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
25767         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
25768         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
25770 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25772         * malloc/malloc.c (malloc_info): Fix format specifier for
25773         n_mmaps.
25775 2014-06-02  Wilco  <wdijkstr@arm.com>
25777         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
25778         FPCR write.
25780 2014-06-02  Wilco  <wdijkstr@arm.com>
25782         [BZ #17009]
25783         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
25784         Rewrite to reduce FPCR/FPSR accesses.
25786 2014-06-01  David S. Miller  <davem@davemloft.net>
25788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25790 2014-05-31  David S. Miller  <davem@davemloft.net>
25792         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
25793         to occur in round to nearest mode when |x| >= 2.0
25795 2014-05-30  Richard Henderson  <rth@twiddle.net>
25797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
25798         (PSEUDO_RET_NOERRNO): Remove.
25799         (ret): Don't redefine.
25800         (ret_NOERRNO): Define in terms of ret.
25801         (ret_ERRVAL): Likewise.
25803         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
25804         use of PSEUDO_RET; perform the error check directly.
25806 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
25808         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
25809         with __int128_t.
25811 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25813         * malloc/malloc (malloc_info): Fix formatting.
25815 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25816             Roland McGrath  <roland@hack.frob.com>
25818         * malloc/malloc (malloc_info): Also print mmapped statistics.
25820 2014-05-30  Roland McGrath  <roland@hack.frob.com>
25822         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
25823         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
25825 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
25827         * malloc/malloc.c (malloc_info): Inline mi_arena.
25829 2014-05-29  Richard Henderson  <rth@twiddle.net>
25831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
25832         Remove comma before expanding ASM_ARGS_##nr.
25833         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
25834         Make _x0 a strict output; make _x8 a strict input; adjust expansion
25835         of ASM_ARGS_##nr.
25836         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
25837         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
25838         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
25839         (ASM_ARGS_1): Add leading comma.
25841         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
25842         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
25843         to __errno_location.
25844         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
25845         Remove the expected plt for __errno_location.
25847         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25848         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
25849         call to __read_tp.
25851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25852         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
25853         it and break it down.
25854         (DOCARGS_0, DOCARGS_1): Do nothing.
25855         (DOCARGS_2): Update to store into the new stack frame.
25856         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
25857         (UNDOCARGS_1): Update to restore from the new stack frame.
25858         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
25859         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
25861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25862         (SINGLE_THREAD_P): New parameter for result regno.
25863         (PSEUDO): Update to match; use cbz instead of beq.
25865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25866         Use ENTRY to define the _nocancel entry point.  Share the syscall
25867         and syscall error check paths with the cancel path.
25868         (PSEUDO_END): New.
25870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
25871         whitespace; tabs before and after asm mnemonics.
25873 2014-05-29  Eric Wong  <normalperson@yhbt.net>
25875         [BZ #15132]
25876         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25877         Call fstat64 or stat64 internally, depending on arguments passed.
25878         Replace stat buffer argument with file descriptor argument.
25879         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
25880         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
25881         Pass fd to __internal_statvfs instead of calling fstat64.
25882         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
25883         Pass fd to __internal_statvfs64 instead of calling fstat64.
25884         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
25885         Pass -1 to __internal_statvfs instead of calling stat64.
25886         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
25887         Pass -1 to __internal_statvfs64 instead of calling stat64.
25889 2014-05-28  Roland McGrath  <roland@hack.frob.com>
25891         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
25892         that was previously under [RESET_PID].
25893         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
25895         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
25896         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
25898 2014-05-27  Roland McGrath  <roland@hack.frob.com>
25900         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
25902         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
25903         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
25905 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
25907         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
25909 2014-05-27  Andreas Schwab  <schwab@suse.de>
25911         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
25912         TLS_INIT_TP macro.
25913         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
25914         * elf/rtld.c (init_tls, dl_main): Likewise.
25915         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
25916         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
25917         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
25918         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
25919         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
25920         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
25921         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
25922         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
25923         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
25924         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
25925         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
25926         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
25927         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
25928         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
25929         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
25930         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
25931         * sysdeps/generic/tls.h: Update description.
25933 2014-05-27  Will Newton  <will.newton@linaro.org>
25935         [BZ #16990]
25936         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25937         and restore r2 rather than just restoring.
25939 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25941         [BZ #16724]
25942         * libio/tst-ftell-append.c: New test case.
25943         * libio/Makefile (tests): Add test case.
25944         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25945         append mode.
25946         * libio/wfileops.c (do_ftell_wide): Likewise.
25948 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25952         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25953         ...
25954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25956         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25957         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25959         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25960         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25961         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25963         Moved ...
25964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25966         Moved ...
25967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25968         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25969         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25970         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25971         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25972         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25973         ...
25974         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25975         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25976         Moved ...
25977         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25978         here.
25979         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25980         ...
25981         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25982         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25983         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25985         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25986         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25987         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25988         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25990         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25991         merge into ...
25992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25994         ...
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25997         ...
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26000         Moved ...
26001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26002         here.
26003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26004         Moved ...
26005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26006         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26007         Moved ...
26008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26011         conditional [RESET_PID].
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26014         removed.
26015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26016         removed.
26018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26019         <tcb-offsets.h>.
26020         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26021         (__libc_vfork): New strong alias.
26022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26023         removed.
26024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26025         Removed.
26027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26028         <tcb-offsets.h>.
26029         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26030         (__libc_vfork): New strong alias.
26031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26032         removed.
26033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26034         removed.
26036 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26038         * malloc/malloc.c (mi_arena): New function.
26039         (malloc_info): Remove nested function mi_arena. Call non-nosted
26040         function mi_arena.
26042 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26044         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26045         by insrwi.
26046         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26047         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26048         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26049         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26050         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26051         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26052         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26054 2014-05-26  Andreas Schwab  <schwab@suse.de>
26056         [BZ #16984]
26057         * locale/programs/repertoire.c (repertoire_read): Add slash
26058         between I18NPATH element and file name.
26059         * locale/programs/locfile.c (locfile_read): Likewise.
26061 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26063         * nptl/pthread_mutexattr_settype.c
26064         (__pthread_mutexattr_settype):
26065         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26067 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26069         * nptl/tst-mutex5 (do_test):
26070         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26072 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26074         * benchtests/README: Document 'init' directive.
26075         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26076         BENCH_INIT.
26077         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26078         (parse_file): Recognize 'init' directive.
26080 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26082         [BZ #16796]
26083         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26084         alignment of struct pthread.
26086 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26088         [BZ #16878]
26089         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26090         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26091         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26092         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26094 2014-05-25  Richard Henderson  <rth@twiddle.net>
26096         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26097         (SINGLE_THREAD_P_PIC): Remove.
26098         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26099         (SINGLE_THREAD_P_PIC): Remove.
26101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26102         branch to syscall error ...
26103         (PSEUDO): ... here.
26104         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26105         from __local_syscall_error to .Lsyscall_error.
26106         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26107         (SYSCALL_ERROR): Update label name.
26109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26110         Do not use DOARGS/UNDOARGS.
26111         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26112         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26113         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26114         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26115         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26118         block comment.
26120         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26121         define if !NOT_IN_libc.
26122         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26123         define with non-default symbol versions.
26125 2014-05-23  Richard Henderson  <rth@twiddle.net>
26127         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26128         (vfork, __vfork): Define via compat_symbol.
26130         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26131         [!HAVE_IFUNC] (vfork_compat): Remove.
26132         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26134 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26136         [BZ #16978]
26137         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26138         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26139         variable.
26141 2014-05-23  Richard Henderson  <rth@twiddle.net>
26143         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26144         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26145         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26146         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26148         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26149         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26150         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26151         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26152         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26153         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26154         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26155         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26156         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26157         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26158         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26159         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26160         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26161         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26162         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26163         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26164         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26165         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26166         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26167         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26168         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26169         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26170         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26171         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26172         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26173         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26174         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26175         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26176         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26177         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26178         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26179         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26180         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26181         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26182         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26183         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26184         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26185         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26186         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26187         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26188         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26189         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26190         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26191         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26192         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26193         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26194         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26195         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26196         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26197         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26199         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26201         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26203         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26205         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26206         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26207         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26208         before exiting on error.
26209         (__libc_vfork): New strong alias.
26210         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26211         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26213         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26214         that was previously under [RESET_PID].
26215         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26217         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26219 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26221         [BZ #16977]
26222         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26223         value when x - 1 is zero.
26224         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26225         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26226         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26227         0.0L for an argument of 1.0L.
26228         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26229         Likewise.
26230         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26231         value when x - 1 is zero.
26232         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26233         * sysdeps/i386/fpu/libm-test-ulps: Update.
26234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26238         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26239         alphasort and versionsort.
26241 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26243         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26244         macro.
26245         [copysignf]: Likewise.
26247 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26249         * crypt/md5-crypt.c: Fix formatting.
26251 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26253         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26254         (b64_from_24bit): New function.
26256 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26258         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26259         libc_hidden_builtin_def to ifunc.
26260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26261         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26263 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26265         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26266         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26268 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26270         * nscd/Depend (linuxthreads): Remove.
26271         (nptl): Add.
26272         * resolv/Depend (linuxthreads): Remove.
26273         * rt/Depend (linuxthreads): Remove.
26275         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26276         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26277         $(common-objpfx)elf/.
26278         (link-libc-before-gnulib): Likewise.
26279         (elfobjdir): Remove variable.
26280         * Makefile (install): Use $(elf-objpfx) instead of
26281         $(common-objpfx)elf/.
26282         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26283         $(elfobjdir)/.
26284         (link-libc-deps): Likewise.
26285         ($(common-objpfx)libc.so): Likewise.
26286         ($(common-objpfx)linkobj/libc.so): Likewise.
26287         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26288         instead of $(common-objpfx)elf/.
26289         (symbolic-link-list): Likewise.
26290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26291         [$(cross-compiling) = no]: Likewise.
26292         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26293         $(elfobjdir)/.
26294         (static-gnulib-arch): Likewise.
26295         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26296         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26297         $(common-objpfx)elf/.
26299 2014-05-21  Richard Henderson  <rth@redhat.com>
26301         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26302         (SINGLE_THREAD_P): Use the correct width load.  Fold
26303         into the ldr offset.
26305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26306         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26308 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26310         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26311         (libgcc_s_resume): Use __attribute_used__.
26312         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26313         Likewise.
26315 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26317         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26318         optimization when used with float constants.
26320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26322 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26324         [BZ #16915]
26325         * locale/nl_langinfo_l.c: Make direct reference to every
26326         _nl_current_CATEGORY symbol.
26327         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26328         (tests-static): Add tst-langinfo-static.
26329         (tests-special): Add tst-langinfo-static.out.
26330         ($(objpfx)tst-langinfo.out): Redirect output.
26331         ($(objpfx)tst-langinfo-static.out): New.
26332         * localedata/tst-langinfo.sh: Send output to stdout.
26333         * localedata/tst-langinfo-static.c: New file.
26335         [BZ #16965]
26336         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26337         when the shift amount is modulo the limb size.
26339 2014-05-20  Richard Henderson  <rth@redhat.com>
26341         [BZ #16967]
26342         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26343         Change type of sa_flags from unsigned int to int.
26345         [BZ #16966]
26346         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26348         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26350 2014-05-20  Will Newton  <will.newton@linaro.org>
26352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26353         Test the return value of the system call in the nocancel case.
26355 2014-05-20  Will Newton  <will.newton@linaro.org>
26356             Yvan Roux  <yvan.roux@linaro.org>
26358         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26359         #include of asm/ptrace.h.
26360         (PTRACE_GET_THREAD_AREA): Remove #undef.
26361         (PTRACE_GETHBPREGS): Likewise.
26362         (PTRACE_SETHBPREGS): Likewise.
26363         (struct user_regs_struct): New structure.
26364         (struct user_fpsimd_struct): New structure.
26365         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26366         #include of asm/ptrace.h and second #include of sys/user.h.
26367         (PTRACE_GET_THREAD_AREA): Remove #undef.
26368         (PTRACE_GETHBPREGS): Likewise.
26369         (PTRACE_SETHBPREGS): Likewise.
26370         (ELF_NGREG): Use new struct user_regs_struct.
26371         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26373 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26375         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26376         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26378 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26380         [BZ #16958]
26381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26382         membar to avoid block loads/stores to overlap previous stores.
26384 2014-05-17  Richard Henderson  <rth@redhat.com>
26386         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26387         Create the __##syscall_name##_nocancel entry point.
26388         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26389         Remove; let the sysdep-cancel.h code create it.
26391 2014-05-17  David S. Miller  <davem@davemloft.net>
26393         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26394         Protect with __USE_GNU.
26395         (TIOCSET_TEMPT): Likewise.
26396         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26397         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26398         these are already provided in bits/ioctl-types.h
26400 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26402         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26403         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26405         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26406         Use wait4 regardless of [__NR_waitpid].
26408 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26410         PR libgcc/60166
26411         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26412         (_FP_NANSIGN_Q): Set the quiet bit.
26414 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26416         * benchtests/Makefile
26417         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26418         not $(common-objpfx)math/libm.so.
26419         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26420         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26421         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26422         $(common-objpfx)dlfcn/libdl.so.
26423         ($(objpfx)tst-audit8): Depend on $(libm), not
26424         $(common-objpfx)math/libm.so.
26425         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26426         not $(common-objpfx)dlfcn/libdl.so.
26427         * math/Makefile
26428         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26429         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26430         [$(build-shared) = yes].
26431         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26432         $(common-objpfx)nptl/libpthread.so.
26433         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26434         $(common-objpfx)math/libm.so$(libm.so-version) or
26435         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26436         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26437         $(common-objpfx)dlfcn/libdl.so.
26438         * setjmp/Makefile (link-libm): Remove variable.
26439         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26440         * stdio-common/Makefile (link-libm): Remove variable.
26441         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26442         * stdlib/Makefile (link-libm): Remove variable.
26443         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26444         ($(objpfx)tst-strtod-round): Likewise.
26445         ($(objpfx)tst-tininess): Likewise.
26446         ($(objpfx)tst-strtod-underflow): Likewise.
26447         ($(objpfx)tst-strtod6): Likewise.
26448         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26449         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26450         $(common-objpfx)dlfcn/libdl.so.
26452 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26454         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26455         BSD terminal modes definitions.
26457 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26459         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26460         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26462         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26463         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26464         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26465         Don't do #include_next.
26466         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26467         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26468         Don't do #include_next.
26469         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26470         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26471         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26472         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26474 2014-05-16  Allan McRae  <allan@archlinux.org>
26476         * po/sv.po: Update Swedish translation from translation project.
26478         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26479         in sed expression.
26481 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26483         [BZ #16917]
26484         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26485         errno if the TIOCGPTN ioctl fails with an error different than
26486         EINVAL.
26487         * login/tst-ptsname.c: New file.
26488         * login/Makefile (tests): Add tst-ptsname.
26490         [BZ #16943]
26491         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26492         and prlimit64.
26494 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26496         [BZ #16849]
26497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26498         herrno to return EAI_AGAIN.
26500 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26502         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
26503         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
26504         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
26505         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
26506         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
26507         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
26508         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
26509         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
26510         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
26511         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
26512         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
26513         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
26514         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
26515         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
26516         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
26517         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
26518         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
26519         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
26520         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
26521         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
26522         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
26523         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
26524         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
26525         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
26526         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
26527         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
26528         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
26529         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
26530         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
26531         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
26532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
26533         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
26534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
26535         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26537         Moved ...
26538         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
26539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
26540         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
26541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
26542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
26543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
26544         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
26545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
26546         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
26547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
26548         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
26549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
26550         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
26551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
26552         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
26553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
26554         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
26555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
26556         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
26557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
26558         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
26559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
26560         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
26561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
26562         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
26563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
26564         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
26565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26566         Moved ...
26567         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
26568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
26569         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
26570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
26571         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
26572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
26573         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
26574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
26575         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
26576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
26577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
26578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
26579         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
26580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
26581         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
26582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
26583         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
26584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
26585         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
26586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26587         Moved ...
26588         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
26589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
26590         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
26592         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
26593         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
26594         (libpthread-sysdep_routines): Add elision-related stuff here instead.
26595         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
26596         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
26597         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
26598         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
26599         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
26600         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
26601         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
26602         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
26603         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
26604         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
26605         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
26606         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
26607         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
26608         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
26609         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
26610         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
26611         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
26612         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
26613         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
26614         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
26615         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
26616         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
26617         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
26618         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
26619         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
26620         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
26621         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
26622         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
26624         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
26625         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
26627         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
26628         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
26629         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
26630         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
26631         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
26632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
26633         Moved ...
26634         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
26635         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26636         Moved ...
26637         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
26638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26639         Moved ...
26640         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
26641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
26642         Moved ...
26643         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
26644         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
26645         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
26646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26647         Moved ...
26648         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
26649         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
26650         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
26651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
26652         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
26653         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
26654         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
26655         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26656         Moved ...
26657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
26658         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26659         Moved ...
26660         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
26661         ... here.
26662         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
26663         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
26664         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
26665         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
26666         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26667         Moved ...
26668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
26669         ... here.
26670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
26671         Moved ...
26672         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
26673         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
26674         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
26675         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
26676         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
26677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
26678         Moved ...
26679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
26680         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26681         Moved ...
26682         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
26683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26684         Moved ...
26685         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
26686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
26687         Moved ...
26688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
26689         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
26690         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
26691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
26692         Moved ...
26693         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
26694         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
26695         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
26696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
26697         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
26698         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
26699         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
26700         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26701         Moved ...
26702         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
26703         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26704         Moved ...
26705         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
26706         ... here.
26707         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
26708         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
26709         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
26710         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
26711         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26712         Moved ...
26713         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
26714         ... here.
26715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
26716         Moved ...
26717         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
26718         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
26719         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
26720         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
26721         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
26722         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
26723         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
26724         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
26725         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
26726         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
26727         Moved ...
26728         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
26729         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
26730         Moved ...
26731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
26732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
26733         Moved ...
26734         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
26735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
26736         Moved ...
26737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
26738         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
26739         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
26740         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
26741         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
26742         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
26743         Moved ...
26744         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
26745         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
26746         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
26747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
26748         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
26749         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
26750         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
26751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
26752         Moved ...
26753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
26754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26755         Moved ...
26756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
26757         ... here.
26758         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
26759         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
26760         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
26761         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
26762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26763         Moved ...
26764         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
26765         ... here.
26766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
26767         Moved ...
26768         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
26769         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
26770         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
26771         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
26772         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
26773         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
26774         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
26775         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
26776         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
26777         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
26778         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
26780         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
26781         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
26783         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
26784         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
26786         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
26787         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
26788         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
26789         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
26790         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
26791         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
26792         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
26793         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
26794         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
26795         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
26796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
26797         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
26798         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
26799         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
26800         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
26801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
26802         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
26803         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
26804         Moved ...
26805         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
26806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
26807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
26808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
26809         Moved ...
26810         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
26811         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
26812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
26813         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
26814         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
26815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
26816         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
26817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
26818         Moved ...
26819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
26820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
26821         Moved ...
26822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
26823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
26824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
26825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
26826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
26827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
26828         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
26829         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
26830         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
26831         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
26832         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
26833         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
26834         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
26835         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
26836         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
26837         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
26838         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
26840         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
26841         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
26842         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
26843         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
26844         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
26846         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
26847         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
26848         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
26849         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
26850         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
26851         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
26852         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
26853         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
26854         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
26855         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
26857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
26858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
26860         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
26861         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
26862         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
26863         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
26864         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
26865         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
26866         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
26867         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
26868         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
26869         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
26870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
26871         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
26872         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
26873         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
26874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
26875         Update #include.
26876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
26877         Likewise.
26878         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26879         Likewise.
26880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26881         Likewise.
26882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26883         Likewise.
26884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
26885         Likewise.
26886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
26887         Likewise.
26888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26889         Likewise.
26890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
26891         Likewise.
26892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
26893         Likewise.
26894         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
26895         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
26896         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
26897         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
26898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
26899         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
26900         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
26901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
26902         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
26903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
26904         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
26905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
26906         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
26907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
26908         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
26910         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
26911         that was previously under [RESET_PID].
26912         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26913         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
26914         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
26916         * sysdeps/i386/nptl/Implies: New file.
26917         * sysdeps/x86_64/nptl/Implies: New file.
26918         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
26919         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
26920         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
26921         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
26923         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
26924         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26925         (__libc_vfork): New strong alias.
26926         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
26927         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
26929         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
26930         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26931         (__libc_vfork): New strong alias.
26932         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
26933         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
26935         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
26936         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26937         (__libc_vfork): New strong alias.
26938         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26939         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26940         * nptl/pt-vfork.c: New file.
26941         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26942         (libpthread: GLIBC_2.20): New version set (empty).
26944 2014-05-14  Will Newton  <will.newton@linaro.org>
26946         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26947         rather than #if.
26949 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26951         [BZ #16564]
26952         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26953         arguments with exponent 65 or above.
26954         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26955         arguments 0x1p113L or above.
26956         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26957         to arguments 0x1p107L or above.
26958         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26959         positive arguments with exponent 65 or above.
26960         * math/auto-libm-test-in: Add more tests of log1p.
26961         * math/auto-libm-test-out: Regenerated.
26963         [BZ #16928]
26964         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26965         non-finite arguments is +0.
26966         * math/s_cacosf.c (__cacosf): Likewise.
26967         * math/s_cacosl.c (__cacosl): Likewise.
26968         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26969         * sysdeps/i386/fpu/libm-test-ulps: Update.
26970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26972         [BZ #16927]
26973         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26974         value.
26975         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26976         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26977         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26978         for explicit high bit of mantissa when testing for argument equal
26979         to 1.
26980         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26981         * sysdeps/i386/fpu/libm-test-ulps: Update.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26984         [BZ #16516]
26985         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26986         (__erf): Scale by 16 instead of 8 in potentially underflowing
26987         case.  Ensure exception if result actually underflows.
26988         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26989         (__erff): Scale by 16 instead of 8 in potentially underflowing
26990         case.  Ensure exception if result actually underflows.
26991         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26992         (efx8): Remove variable.
26993         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26994         case.  Ensure exception if result actually underflows.
26995         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26996         (efx8): Remove variable.
26997         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26998         case.  Ensure exception if result actually underflows.
26999         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27000         (efx8): Remove variable.
27001         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27002         case.  Ensure exception if result actually underflows.
27003         * math/auto-libm-test-in: Add more tests of erf.
27004         * math/auto-libm-test-out: Regenerated.
27006 2014-05-14  Andreas Schwab  <schwab@suse.de>
27008         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27009         Remove code conditionalized on USE___THREAD.
27011         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27012         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27013         not definedness.
27015 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27017         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27018         Define unconditionally.
27019         (__ASSUME_O_CLOEXEC): Likewise.
27020         (__ASSUME_SOCK_CLOEXEC): Likewise.
27021         (__ASSUME_IN_NONBLOCK): Likewise.
27022         (__ASSUME_PIPE2): Likewise.
27023         (__ASSUME_EVENTFD2): Likewise.
27024         (__ASSUME_SIGNALFD4): Likewise.
27025         (__ASSUME_DUP3): Likewise.
27026         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27027         (__ASSUME_DUP3): Do not define.
27028         (__ASSUME_EVENTFD2): Likewise.
27029         (__ASSUME_IN_NONBLOCK): Likewise.
27030         (__ASSUME_O_CLOEXEC): Likewise.
27031         (__ASSUME_PIPE2): Likewise.
27032         (__ASSUME_SIGNALFD4): Likewise.
27033         (__ASSUME_SOCK_CLOEXEC): Likewise.
27034         (__ASSUME_UTIMES): Undefine.
27035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27036         (__ASSUME_UTIMES): Do not define.
27037         (__ASSUME_O_CLOEXEC): Likewise.
27038         (__ASSUME_SOCK_CLOEXEC): Likewise.
27039         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27040         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27041         0x020621].
27042         (__ASSUME_PIPE2): Likewise.
27043         (__ASSUME_EVENTFD2): Likewise.
27044         (__ASSUME_SIGNALFD4): Likewise.
27045         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27046         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27047         Do not define.
27048         (__ASSUME_EVENTFD2): Likewise.
27049         (__ASSUME_SIGNALFD4): Likewise.
27050         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27051         (__ASSUME_32BITUIDS): Likewise.
27052         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27053         (__ASSUME_IPC64): Likewise.
27054         (__ASSUME_ST_INO_64_BIT): Likewise.
27055         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27056         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27057         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27058         (__ASSUME_UTIMES): Do not define.
27059         (__ASSUME_PSELECT): Likewise.
27060         (__ASSUME_PPOLL): Likewise.
27061         (__ASSUME_O_CLOEXEC): Likewise.
27062         (__ASSUME_SOCK_CLOEXEC): Likewise.
27063         (__ASSUME_IN_NONBLOCK): Likewise.
27064         (__ASSUME_PIPE2): Likewise.
27065         (__ASSUME_EVENTFD2): Likewise.
27066         (__ASSUME_SIGNALFD4): Likewise.
27067         (__ASSUME_DUP3): Likewise.
27068         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27069         (__ASSUME_UTIMES): Likewise.
27070         (__ASSUME_O_CLOEXEC): Likewise.
27071         (__ASSUME_SOCK_CLOEXEC): Likewise.
27072         (__ASSUME_IN_NONBLOCK): Likewise.
27073         (__ASSUME_PIPE2): Likewise.
27074         (__ASSUME_EVENTFD2): Likewise.
27075         (__ASSUME_SIGNALFD4): Likewise.
27076         (__ASSUME_DUP3): Likewise.
27077         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27078         (__ASSUME_UTIMES): Likewise.
27079         (__ASSUME_O_CLOEXEC): Likewise.
27080         (__ASSUME_SOCK_CLOEXEC): Likewise.
27081         (__ASSUME_IN_NONBLOCK): Likewise.
27082         (__ASSUME_PIPE2): Likewise.
27083         (__ASSUME_EVENTFD2): Likewise.
27084         (__ASSUME_SIGNALFD4): Likewise.
27085         (__ASSUME_DUP3): Likewise.
27086         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27087         Likewise.
27088         (__ASSUME_UTIMES): Likewise.
27089         (__ASSUME_EVENTFD2): Likewise.
27090         (__ASSUME_SIGNALFD4): Likewise.
27091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27092         (__ASSUME_O_CLOEXEC): Likewise.
27093         (__ASSUME_SOCK_CLOEXEC): Likewise.
27094         (__ASSUME_IN_NONBLOCK): Likewise.
27095         (__ASSUME_PIPE2): Likewise.
27096         (__ASSUME_EVENTFD2): Likewise.
27097         (__ASSUME_SIGNALFD4): Likewise.
27098         (__ASSUME_DUP3): Likewise.
27099         (__ASSUME_UTIMES): Undefine.
27101         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27102         feclearexcept.  Remove symbol versioning code.
27103         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27104         symbol versioning code.
27105         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27106         symbol versioning code.
27107         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27108         feupdateenv.  Remove symbol versioning code.
27109         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27110         fegetexceptflag.  Remove symbol versioning code.
27111         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27112         fesetexceptflag.  Remove symbol versioning code.
27113         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27114         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27115         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27116         (__posix_fadvise64_l32): Remove prototype.
27117         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27118         code.
27120 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27122         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27123         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27124         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27125         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27127 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27129         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27130         current working directory
27132 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27134         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27135         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27136         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27137         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27138         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27139         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27140         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27141         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27142         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27143         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27144         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27145         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27146         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27147         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27148         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27149         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27150         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27151         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27152         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27153         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27154         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27155         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27156         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27157         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27158         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27159         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27160         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27161         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27162         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27163         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27164         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27165         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27166         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27167         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27168         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27169         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27170         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27171         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27172         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27173         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27174         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27175         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27177         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27178         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27180         * sysdeps/unix/sysv/linux/arm/Makefile
27181         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27182         Add rt-aeabi_unwind_cpp_pr1.
27183         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27184         Add nptl-aeabi_unwind_cpp_pr1.
27185         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27186         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27187         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27188         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27189         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27190         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27192         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27193         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27194         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27195         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27197         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27198         Deconditionalize the code that was previously under [RESET_PID].
27199         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27201         * sysdeps/generic/exit-thread.h: New file.
27202         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27203         * include/unistd.h (__exit_thread): Remove declaration.
27204         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27205         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27206         * csu/libc-start.c: Include <exit-thread.h>.
27207         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27208         * nptl/pthread_create.c: Include <exit-thread.h>.
27209         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27210         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27211         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27212         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27213         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27214         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27215         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27216         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27217         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27218         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27219         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27220         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27221         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27222         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27223         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27224         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27225         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27227 2014-05-13  Andreas Schwab  <schwab@suse.de>
27229         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27231 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27233         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27234         (__ASSUME_UTIMES): Do not condition on kernel version.
27235         (__ASSUME_PSELECT): Define unconditionally.
27236         (__ASSUME_PPOLL): Likewise.
27237         (__ASSUME_ATFCTS): Likewise.
27238         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27239         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27240         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27241         (__ASSUME_UTIMENSAT): Define unconditionally.
27242         (__ASSUME_PRIVATE_FUTEX): Likewise.
27243         (__ASSUME_FALLOCATE): Likewise.
27244         (__ASSUME_O_CLOEXEC): Likewise.
27245         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27246         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27247         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27248         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27249         (__ASSUME_IN_NONBLOCK): Likewise.
27250         (__ASSUME_PIPE2): Likewise.
27251         (__ASSUME_EVENTFD2): Likewise.
27252         (__ASSUME_SIGNALFD4): Likewise.
27253         (__ASSUME_DUP3): Likewise.
27254         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27255         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27256         (__ASSUME_AT_RANDOM): Likewise.
27257         (__ASSUME_PREADV): Likewise.
27258         (__ASSUME_PWRITEV): Likewise.
27259         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27260         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27261         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27262         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27263         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27264         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27265         (__ASSUME_O_CLOEXEC): Define unconditionally.
27266         (__ASSUME_PSELECT): Do not undefine conditionally.
27267         (__ASSUME_PPOLL): Likewise.
27268         (__ASSUME_ATFCTS): Likewise.
27269         (__ASSUME_SET_ROBUST_LIST): Likewise.
27270         (__ASSUME_UTIMENSAT): Likewise.
27271         (__ASSUME_FDATASYNC): Define unconditionally.
27272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27273         (__ASSUME_SIGFRAME_V2): Likewise.
27274         )__ASSUME_EVENTFD2): Likewise.
27275         (__ASSUME_SIGNALFD4): Likewise.
27276         (__ASSUME_PSELECT): Do not undefine conditionally.
27277         (__ASSUME_PPOLL): Likewise.
27278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27279         (__ASSUME_PSELECT): Define unconditionally.
27280         (__ASSUME_PPOLL): Likewise.
27281         (__ASSUME_O_CLOEXEC): Likewise.
27282         (__ASSUME_SOCK_CLOEXEC): Likewise.
27283         (__ASSUME_IN_NONBLOCK): Likewise.
27284         (__ASSUME_PIPE2): Likewise.
27285         (__ASSUME_EVENTFD2): Likewise.
27286         (__ASSUME_SIGNALFD4): Likewise.
27287         (__ASSUME_DUP3): Likewise.
27288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27289         (__ASSUME_O_CLOEXEC): Likewise.
27290         (__ASSUME_SOCK_CLOEXEC): Likewise.
27291         (__ASSUME_IN_NONBLOCK): Likewise.
27292         (__ASSUME_PIPE2): Likewise.
27293         (__ASSUME_EVENTFD2): Likewise.
27294         (__ASSUME_SIGNALFD4): Likewise.
27295         (__ASSUME_DUP3): Likewise.
27296         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27297         (__ASSUME_EVENTFD2): Likewise.
27298         (__ASSUME_SIGNALFD4): Likewise.
27299         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27301 2014-05-12  Andreas Schwab  <schwab@suse.de>
27303         [BZ #16932]
27304         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27305         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27306         than maximum RPC packet size.
27307         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27308         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27309         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27310         (_nss_nis_getservbyport_r): Likewise.
27312 2014-05-12  Will Newton  <will.newton@linaro.org>
27314         * malloc/Makefile (tests): Add tst-mallopt.
27315         * malloc/tst-mallopt.c: New file.
27317 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27319         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27320         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27322 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27324         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27325         (tst-tlsmod6.so): Likewise.
27327 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27329         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27331 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27333         [BZ #16064]
27334         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27335         and <dl-procinfo.h>.
27336         (__fegetenv): Save SSE state in envp->__eip if supported.
27337         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27338         envp->__eip if supported.
27339         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27340         and <dl-procinfo.h>.
27341         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27342         __data_offset and __data_selector in environment to 0.  Set SSE
27343         state if supported.
27344         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27345         test-fenv-sse.
27346         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27347         -mfpmath=sse.
27348         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27350 2014-05-09  Will Newton  <will.newton@linaro.org>
27352         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27353         and libc_relro_required for ARM.
27354         * sysdeps/arm/preconfigure: Regenerate.
27356 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27357             Stefan Liebler  <stli@linux.vnet.ibm.com>
27359         * config.make.in (enable-lock-elision): New Makefile variable.
27360         * configure.ac: Likewise.
27361         * configure: Regenerate.
27362         * sysdeps/s390/configure.ac:
27363         Add check for gcc transactions support.
27364         * sysdeps/s390/configure: Regenerate.
27365         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27366         Build elision files if enabled.
27367         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27368         Add lock elision support for s390.
27369         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27370         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27371         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27372         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27373         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27374         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27375         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27376         Likewise.
27377         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27378         Likewise.
27379         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27380         Likewise.
27381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27382         Likewise.
27383         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27384         (__lll_timedlock_elision, __lll_lock_elision)
27385         (__lll_unlock_elision, __lll_trylock_elision)
27386         (lll_timedlock_elision, lll_lock_elision)
27387         (lll_unlock_elision, lll_trylock_elision): Add.
27388         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27389         (pthread_mutex_t): Add lock elision support for s390.
27391 2014-05-14  Wilco  <wdijkstr@arm.com>
27393         * sysdeps/arm/fclrexcpt.c: Cleanup.
27394         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27395         * sysdeps/arm/feenablxcpt.c: Cleanup.
27396         * sysdeps/arm/fegetenv.c: Cleanup.
27397         * sysdeps/arm/fegetexcept.c: Cleanup.
27398         * sysdeps/arm/fegetround.c: Cleanup.
27399         * sysdeps/arm/feholdexcpt.c: Cleanup.
27400         * sysdeps/arm/fesetenv.c: Cleanup.
27401         * sysdeps/arm/fesetround.c: Cleanup.
27402         * sysdeps/arm/feupdateenv.c: Cleanup.
27403         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27404         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27405         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27406         * sysdeps/arm/ftestexcept.c: Cleanup.
27407         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27408         * sysdeps/arm/setfpucw.c: Cleanup.
27410 2014-05-09  Will Newton  <will.newton@linaro.org>
27412         * sysdeps/arm/armv7/strcmp.S: New file.
27413         * NEWS: Mention addition of ARMv7 optimized strcmp.
27415 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27417         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27418         look for %.ac rather than %.in.
27420         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27421         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27422         * sysdeps/mach/hurd/configure: Regenerated.
27423         * sysdeps/unix/sysv/linux/configure: Regenerated.
27425         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27427 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27429         [BZ# 16922]
27430         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27431         (LONG_SUB): Ditto.
27432         (PTR_SUB): Ditto.
27434 2014-05-07  Andreas Schwab  <schwab@suse.de>
27436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27437         when skipping over non-matching result from nscd.
27439 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27441         [BZ #16876]
27442         * nptl/sockperf.c (client): Check socket return value.
27444         [BZ #16877]
27445         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27446         nscd security class.
27448 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27450         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27451         * sysdeps/arm/unwind.h: ... here.
27453 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27455         [BZ# 16916]
27456         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27457         Define.
27459 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27461         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27462         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27463         multiarch strncpy for PPC64.
27464         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27465         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27467         multiarch optimizations.
27468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27469         (__libc_ifunc_impl_list): Likewise.
27470         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27471         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27472         multiarch stpncpy for PPC64.
27473         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27474         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27476 2014-05-06  Andreas Schwab  <schwab@suse.de>
27478         [BZ #16912]
27479         * gmon/mcount.c (_MCOUNT_DECL): Use
27480         atomic_compare_and_exchange_bool_acq instead of
27481         catomic_compare_and_exchange_bool_acq.
27483 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27485         * elf/Makefile (others, install-bin): Remove pldd.
27486         (pldd-modules): Variable removed.
27487         ($(objpfx)pldd): Target removed.
27488         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27489         (others, install-bin): Append pldd here.
27490         ($(objpfx)pldd): New target.
27492         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27493         to 0, so the first #if test emitted later doesn't see it undefined.
27494         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27495         * sysdeps/gnu/errlist.c: Regenerated.
27497 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27499         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27500         [libc_hidden_builtin_def]: Define to empty value.
27501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27502         [libc_hidden_builtin_def]: Likewise.
27503         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
27504         [libc_hidden_builtin_def]: Likewise.
27505         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
27506         [libc_hidden_builtin_def]: Likewise.
27507         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
27508         __redirect_memcpy and define ifunc as default hidden symbol.
27509         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
27510         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
27512 2014-05-04  Adam Conrad  <adconrad@0c3.net>
27514         * locale/iso-4217.def: Reintroduce XDR currency.
27516 2014-05-04  Allan McRae  <allan@archlinux.org>
27518         * po/eo.po: Update Esperanto translation from translation project.
27520 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
27522         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
27523         and FEATURE_INDEX_MAX to 1.
27524         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
27526 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27528         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
27529         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
27530         * iconvdata/big5.c (ONE_DIRECTION): Define.
27531         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
27532         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
27533         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
27534         * iconvdata/cp932.c (ONE_DIRECTION): Define.
27535         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
27536         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
27537         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
27538         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
27539         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
27540         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
27541         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
27542         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
27543         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
27544         * iconvdata/gbk.c (ONE_DIRECTION): Define.
27545         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
27546         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
27547         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
27548         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
27549         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
27550         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
27551         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
27552         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
27553         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
27554         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
27555         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
27556         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
27557         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
27558         * iconvdata/iso646.c (ONE_DIRECTION): Define.
27559         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
27560         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
27561         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
27562         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
27563         * iconvdata/johab.c (ONE_DIRECTION): Define.
27564         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
27565         * iconvdata/sjis.c (ONE_DIRECTION): Define.
27566         * iconvdata/t.61.c (ONE_DIRECTION): Define.
27567         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
27568         * iconvdata/tscii.c (ONE_DIRECTION): Define.
27569         * iconvdata/uhc.c (ONE_DIRECTION): Define.
27570         * iconvdata/unicode.c (ONE_DIRECTION): Define.
27571         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
27572         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
27573         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
27575 2014-05-01  Roland McGrath  <roland@hack.frob.com>
27577         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
27578         (_IO_JUMPS_OFFSET): Define to 0.
27580         * nptl/sysdeps/pthread/bits/libc-lock.h
27581         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27582         (__libc_lock_define_initialized_recursive): Always define using
27583         initializer.  Modern compilers treat uninitialized (implicit zero) and
27584         explicit zero initializers the same (i.e. put the datum in bss).
27586 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27588         * nscd/nscd-client.h: Include <string.h>.
27590 2014-05-01  David S. Miller  <davem@davemloft.net>
27592         [BZ #16885]
27593         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
27594         multiple zero bytes exist at the end of a string.
27595         Reported by Aurelien Jarno <aurelien@aurel32.net>
27597         * string/test-strcmp.c (check): Add explicit test for situations where
27598         there are multiple zero bytes after the first.
27600 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
27602         [BZ #16890]
27603         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
27604         when compiling wprintf.
27605         * stdio-common/tstdiomisc.c (t3): New function.
27606         (main): Call it.
27608 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27610         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
27611         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27612         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
27613         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
27615 2014-05-01  Steve Ellcey  <sellcey@mips.com>
27617         * stdlib/longlong.h: Updated from GCC.
27619 2014-05-01  Will Newton  <will.newton@linaro.org>
27620             Bernard Ogden  <bernie.ogden@linaro.org>
27622         * NEWS: Update fixed bug list.
27624         [BZ #15119]
27625         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
27627 2014-04-30  David S. Miller  <davem@davemloft.net>
27629         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
27630         (libc_feholdexcept_setround_sparc_ctx): New function.
27631         (libc_fesetenv_sparc_ctx): Likewise.
27632         (libc_feupdateenv_sparc_ctx): Likewise.
27633         (libc_feholdsetround_sparc_ctx): Likewise.
27634         (libc_feholdexcept_setround_ctx): Define.
27635         (libc_feholdexcept_setroundf_ctx): Likewise.
27636         (libc_feholdexcept_setroundl_ctx): Likewise.
27637         (libc_fesetenv_ctx): Likewise.
27638         (libc_fesetenvf_ctx): Likewise.
27639         (libc_fesetenvl_ctx): Likewise.
27640         (libc_feupdateenv_ctx): Likewise.
27641         (libc_feupdateenvf_ctx): Likewise.
27642         (libc_feupdateenvl_ctx): Likewise.
27643         (libc_feresetround_ctx): Likewise.
27644         (libc_feresetroundf_ctx): Likewise.
27645         (libc_feresetroundl_ctx): Likewise.
27646         (libc_feholdsetround_ctx): Likewise.
27647         (libc_feholdsetroundf_ctx): Likewise.
27648         (libc_feholdsetroundl_ctx): Likewise.
27650         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27651         with __USE_GNU instead of XOPEN cpp guards.
27653         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
27654         0.
27656         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
27657         with XOPEN cpp guards.
27659 2014-04-30  Julian Brown  <julian@codesourcery.com>
27661         [BZ #16888]
27662         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
27663         handling.
27665 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
27667         [BZ #9894]
27668         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
27669         Change to 2.6.32.
27670         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
27671         * sysdeps/unix/sysv/linux/configure: Regenerated.
27672         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
27673         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
27674         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
27675         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
27676         * README: Update reference to required Linux kernel version.
27677         * manual/install.texi (Linux): Update reference to required Linux
27678         kernel headers version.
27679         * INSTALL: Regenerated.
27681         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
27682         header inclusion.
27683         [POSIX] (limits.h): Likewise.
27684         [POSIX] (math.h): Likewise.
27685         [POSIX] (sys/wait.h): Likewise.
27686         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
27687         function.
27688         [POSIX] (stddef.h): Do not allow header inclusion.
27690 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27692         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
27694 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
27696         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27697         Return immediately after lll_futex_wake.
27699 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27701         [BZ #16791]
27702         * nscd/nscd-client.h (datahead_init_common): Initialize entire
27703         structure.
27704         (datahead_init_pos): Call datahead_init_common early.
27705         (datahead_init_neg): Likewise.
27707         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
27708         datahead_init_neg): New functions.
27709         * nscd/aicache.c (addhstaiX): Use them.
27710         * nscd/grpcache.c (cache_addgr): Likewise.
27711         * nscd/hstcache.c (cache_addhst): Likewise.
27712         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27713         * nscd/netgroupcache.c (do_notfound): Likewise.
27714         (addgetnetgrentX): Likewise.
27715         (addinnetgrX): Likewise.
27716         * nscd/pwdcache.c (cache_addpw): Likewise.
27717         * nscd/servicescache.c (cache_addserv): Likewise.
27719 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27720             Atsushi Onoe  <atsushi@onoe.org>
27722         [BZ #14308]
27723         [BZ #12994]
27724         [BZ #13651]
27725         * resolv/res_query.c (__libc_res_nsearch): Return if at least
27726         one response is valid.
27727         * resolv/res_send.c (send_dg): Check for validity of other
27728         response if the current response is a referral.
27730 2014-04-29  Steve Ellcey  <sellcey@mips.com>
27732         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
27734 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
27736         [BZ #16823]
27737         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
27738         Always divide by positive zero when computing -Inf result.
27739         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
27740         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27742 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27744         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
27745         FPSCR if value do not change.
27746         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27747         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
27748         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27749         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27750         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
27751         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
27752         function.
27754 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
27756         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
27757         * sysdeps/unix/sysv/linux/hppa: Move directory from
27758         ports/systeps/unix/sysv/linux/hppa.
27759         * README: Update listing for hppa-*-linux-gnu.
27761 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
27763         [BZ #16754]
27764         * manual/stdio.texi (Hook functions): Fix types of stream hook
27765         functions.
27766         [BZ #16854]
27767         * socket/sys/socket.h: Fix typo in comment.
27769 2014-04-28  Wilco  <wdijkstr@arm.com>
27771         * sysdeps/arm/fenv_private.h: New file.
27772         * sysdeps/arm/math_private.h: New file.
27773         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
27775 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
27777         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
27778         with __int128_t.
27779         (La_x86_64_retval): Likewise.
27781 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
27783         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
27784         fpsr if value didn't change.
27785         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
27786         to fpcr if value didn't change.
27787         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
27788         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
27789         fpsr or fpcr if value didn't change.
27790         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
27791         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
27792         fpcr if value didn't change.
27793         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
27794         to fpsr if value didn't change.
27796 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27798         * nptl/tst-sem3.c: Use test-skeleton.c
27799         (main): Rename to do_test.  Use return instead of
27800         exit.
27801         * nptl/tst-sem4.c: Use test-skeleton.c
27802         (main): Rename to do_test.
27804 2014-04-22  David S. Miller  <davem@davemloft.net>
27806         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
27807         (struct sigaction): New struct member __glibc_reserved0, change
27808         type of sa_flags to int.
27810 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
27812         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
27813         (COUNT_LEADING_ZEROS_0): Define for AArch64.
27815 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27817         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
27818         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
27820 2014-04-22  Will Newton  <will.newton@linaro.org>
27821             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
27823         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
27824         (__longjmp): Add longjmp and longjmp_target SystemTap
27825         probes.
27826         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
27827         (__sigsetjmp): Add setjmp SystemTap probe.
27829 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
27831         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
27832         match manual order.
27834 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27836         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
27838         * sysdeps/powerpc/fpu/fenv_private.h
27839         (libc_feholdexcept_setroundl_ctx): Define to
27840         libc_feholdexcept_setround_ppc_ctx.
27841         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
27842         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
27843         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
27844         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
27846 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27848         * sysdeps/aarch64/math-tests.h: New file.
27850 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
27852         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
27853         New.
27854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27855         Check and set bit_AVX2_Usable.
27856         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
27857         macro.
27858         (bit_AVX2): Likewise.
27859         (index_AVX2_Usable): Likewise.
27860         (CPUID_AVX2): Likewise.
27861         (HAS_AVX2): Likewise.
27863 2014-04-17  Will Newton  <will.newton@linaro.org>
27865         * manual/setjmp.texi (System V contexts): Add note that
27866         calling setcontext on a context created by a call to a
27867         signal handler is undefined.  Update text to note that
27868         setcontext from a signal handler is possible but not
27869         recommended.
27871         [BZ #16629]
27872         * stdlib/tst-setcontext.c: Include signal.h.
27873         (main): Check that the signal stack before and
27874         after swapcontext is the same.
27876         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
27877         Re-implement to restore registers in user code and avoid
27878         rt_sigreturn system call.
27880 2014-04-17  Wilco  <wdijkstr@arm.com>
27882         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
27883         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
27884         * math/test-fenv.c: Skip exception trap tests on targets which only
27885         support non-stop mode.
27887 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
27888             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27890         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
27891         (libc_feholdsetround_aarch64_ctx)
27892         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
27893         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
27894         (libc_feresetround_ctx, libc_feresetroundf_ctx)
27895         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
27896         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
27897         (libc_feresetround_noexl_ctx): Define.
27899 2014-04-16  Richard Henderson  <rth@redhat.com>
27901         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
27903         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
27904         unwind tables.
27906         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
27907         const from the non-libc, non-ldso copy.
27909         * sysdeps/alpha/libm-test-ulps: Regenerate.
27911 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
27912             Wilco Dijkstra  <wilco.dijkstra@arm.com>
27914         * sysdeps/aarch64/fpu/math_private.h: New file.
27916 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
27918         * sysdeps/aarch64/libm-test-ulps: Regenerate.
27920 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
27922         [BZ #16275]
27923         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
27924         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
27925         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
27926         Intel MPX bound registers before _dl_profile_fixup.
27927         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
27928         registers after _dl_profile_fixup.  Save and restore bound
27929         registers bnd0/bnd1 when calling _dl_call_pltexit.
27930         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
27931         (LR_BND_OFFSET): Likewise.
27932         (LRV_BND0_OFFSET): Likewise.
27933         (LRV_BND1_OFFSET): Likewise.
27935 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27937         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27938         to...
27939         * sysdeps/mach/hurd/i386/tls.h: ... here.
27940         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27941         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27942         fields.
27944 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27946         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27948 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27950         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27952 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27954         [BZ #14770]
27955         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27956         * sysdeps/s390/configure: Regenerate.
27958         [BZ #16824]
27959         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27960         Set round-to-nearest internally to reduce error accumulation.
27962 2014-04-16  Alan Modra  <amodra@gmail.com>
27964         [BZ #16740]
27965         [BZ #16619]
27966         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27967         * math/libm-test.inc (frexp_test_data): Add tests.
27968         * NEWS: Update fixed bug list.
27970 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27972         * benchtests/Makefile: Depend on libraries in build directory.
27973         (bench-math): Separate out math tests.
27974         (bench-pthread): Separate out pthread tests.
27975         (bench): Include math and pthread tests.
27977 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27979         [BZ #16831]
27980         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27981         _dl_debug_initialize.
27983         * configure.ac: Remove SELinux header check.
27984         * configure: Regenerate.
27985         * nscd/selinux.c (perms): Array of const char* to permission names.
27986         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27987         default policy. Call string_to_security_class and string_to_av_perm to
27988         translate strings. Enforce default policy and call avs_has_perm with
27989         results of translated strings.
27991 2014-04-13  David S. Miller  <davem@davemloft.net>
27993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27995 2014-04-12  Allan McRae  <allan@archlinux.org>
27997         [BZ #16838]
27998         * manual/string.texi (Collation Functions): Fix qsort argument
27999         order in example.
28000         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28002 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28004         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28005         Make the test a no-op if there are no exceptions defined.
28007 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28009         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28010         enable-hardcoded-path-in-tests
28012 2014-04-11  Will Newton  <will.newton@linaro.org>
28014         * benchtests/Makefile (extra-objs): Add json-lib.o.
28015         (bench-func): Tidy up JSON output.
28016         * benchtests/bench-skeleton.c: Include json-lib.h.
28017         (main): Use JSON library functions to do output of
28018         benchmark results.
28019         * benchtests/bench-timing-type.c (main): Output the
28020         timing type simply, leaving formatting to the user.
28021         * benchtests/json-lib.c: New file.
28022         * benchtests/json-lib.h: Likewise.
28024 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28026         [BZ #15215]
28027         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28028         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28029         memory barriers.  Add comments.
28030         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28031         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28032         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28033         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28034         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28035         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28037 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28039         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28040         * sysdeps/s390/s390-64/configure.ac: ... this ...
28041         * sysdeps/s390/configure.ac: ... to here.
28042         * sysdeps/s390/s390-32/configure: Delete file.
28043         * sysdeps/s390/s390-64/configure: Delete file.
28044         * sysdeps/s390/configure: Regenerate.
28046 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28048         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28050 2014-04-11  Will Newton  <will.newton@linaro.org>
28052         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28053         to zero if it is not defined elsewhere.  (mtrim): Test
28054         the value of MALLOC_DEBUG with #if rather than #ifdef.
28056 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28058         * benchtests/pthread_once-inputs: New file.
28059         * benchtests/pthread_once-source.c: New file.
28060         * benchtests/README: Update documentation.
28062 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28063             H.J. Lu  <hongjiu.lu@intel.com>
28065         [BZ #16275]
28066         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28067         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28068         * sysdeps/x86_64/configure: Regenerated.
28069         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28070         macro.
28071         (REGISTER_SAVE_RAX): Likewise.
28072         (REGISTER_SAVE_RCX): Likewise.
28073         (REGISTER_SAVE_RDX): Likewise.
28074         (REGISTER_SAVE_RSI): Likewise.
28075         (REGISTER_SAVE_RDI): Likewise.
28076         (REGISTER_SAVE_R8): Likewise.
28077         (REGISTER_SAVE_R9): Likewise.
28078         (REGISTER_SAVE_BND0): Likewise.
28079         (REGISTER_SAVE_BND1): Likewise.
28080         (REGISTER_SAVE_BND2): Likewise.
28081         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28082         bound registers when calling _dl_fixup.
28084 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28086         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28087         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28088         of its definition.
28089         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28090         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28091         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28092         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28093         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28094         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28095         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28097 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28099         [BZ #15514]
28100         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28101         pathconf(_PC_NAME_MAX).
28103 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28105         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28106         Remove macro usage.
28107         (__PTHREAD_SPINS): Move definition to ...
28108         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28109         (__PTHREAD_SPINS): ... here.
28110         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28111         (__PTHREAD_SPIN): Likewise.
28112         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28113         (__PTHREAD_SPIN): Likewise.
28114         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28115         (__PTHREAD_SPIN): Likewise.
28116         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28117         (__PTHREAD_SPIN): Likewise.
28118         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28119         (__PTHREAD_SPIN): Likewise.
28120         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28121         (__PTHREAD_SPIN): Likewise.
28122         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28123         (__PTHREAD_SPIN): Likewise.
28124         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28125         (__PTHREAD_SPIN): Likewise.
28126         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28127         (__PTHREAD_SPIN): Likewise.
28128         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28129         (__PTHREAD_SPIN): Likewise.
28130         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28131         (__PTHREAD_SPIN): Likewise.
28132         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28133         (__PTHREAD_SPIN): Likewise.
28135         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28136         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28137         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28138         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28139         imply folder.
28140         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28141         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28142         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28143         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28144         correct imply path.
28145         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28146         strlen symbol for non multi-arch builds.
28147         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28148         missing hidden_def and weak_alias.
28150 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28152         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28154 2014-04-07  Will Newton  <will.newton@linaro.org>
28156         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28157         and contents.  [!_LIBC] Remove #ifndef and contents.
28158         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28159         * string/memccpy.c (__memccpy): Use ANSI prototype.
28160         * string/memfrob.c (memfrob): Likewise.
28161         * string/strcoll.c (STRCOLL): Likewise.
28162         * string/strlen.c (strlen): Likewise.
28163         * string/strtok.c (STRTOK): Likewise.
28164         * string/strcat.c: Remove unused #include of memcopy.h.
28165         (strcat): Use ANSI prototype.
28166         * string/strchr.c: Remove unused #include of memcopy.h.
28167         (strchr): Use ANSI prototype.
28168         * string/strcmp.c: Remove unused #include of memcopy.h.
28169         (strcmp): Use ANSI prototype.
28170         * string/strcpy.c: Remove unused #include of memcopy.h.
28171         (strcpy): Use ANSI prototype.
28173 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28175         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28176         * config.make.in (config-extra-cppflags): Set it from
28177         libc_extra_cppflags.
28178         * configure.ac (libc_extra_cflags): Make it accumulate over
28179         configure fragments.
28180         (libc_extra_cppflags): New flag.
28181         * configure. Regenerate.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28183         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28184         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28187         [BZ #16815]
28188         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28189         result for FE_DOWNWARD rounding mode.
28190         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28191         Likewise.
28192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28194 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28196         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28197         in function argument name.
28199 2014-04-03  David Svoboda  <svoboda@cert.org>
28201         [BZ #5666]
28202         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28203         explicitly.
28205 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28207         * elf/dl-unmap-segments.h: New file.
28208         * sysdeps/generic/ldsodefs.h
28209         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28210         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28211         * elf/dl-fptr.c: Likewise.
28212         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28213         * sysdeps/aarch64/tlsdesc.c: Likewise.
28214         * sysdeps/arm/tlsdesc.c: Likewise.
28215         * sysdeps/i386/tlsdesc.c: Likewise.
28216         * sysdeps/tile/dl-runtime.c: Likewise.
28217         * sysdeps/x86_64/tlsdesc.c: Likewise.
28218         * elf/dl-load.h: New file.
28219         * elf/dl-load.c: Include it.
28220         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28221         Macros moved to dl-load.h.
28222         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28223         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28224         Use _dl_unmap_segments in place of __munmap.
28225         Break out segment-mapping loop into ...
28226         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28228 2014-04-03  Will Newton  <will.newton@linaro.org>
28230         * elf/dl-lookup.c (do_lookup_x): Remove comment
28231         referring to nested function and move variable
28232         declarations down to before first use.
28234 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28236         [BZ #16799]
28237         [BZ #16800]
28238         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28239         with 0 numerator.
28240         * math/s_catanf.c (__catanf): Likewise.
28241         * math/s_catanh.c (__catanh): Likewise.
28242         * math/s_catanhf.c (__catanhf): Likewise.
28243         * math/s_catanhl.c (__catanhl): Likewise.
28244         * math/s_catanl.c (__catanl): Likewise.
28245         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28246         by positive zero when computing -Inf result.
28247         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28248         (catanh_test): Likewise.
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252         [BZ #16789]
28253         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28254         instead of using underflowing value in computing result.
28255         * math/s_clog10.c (__clog10): Likewise.
28256         * math/s_clog10f.c (__clog10f): Likewise.
28257         * math/s_clog10l.c (__clog10l): Likewise.
28258         * math/s_clogf.c (__clogf): Likewise.
28259         * math/s_clogl.c (__clogl): Likewise.
28260         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28261         (clog10_test): Likewise.
28262         * sysdeps/i386/fpu/libm-test-ulps: Update.
28263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28265 2014-04-02  Alan Modra  <amodra@gmail.com>
28267         [BZ #16739]
28268         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28269         output when value is near a power of two.  Use int64_t for lx and
28270         remove casts.  Use decimal rather than hex exponent constants.
28271         Don't use long double multiplication when double will suffice.
28272         * math/libm-test.inc (nextafter_test_data): Add tests.
28273         * NEWS: Add 16739 and 16786 to bug list.
28275         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28277         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28279 2014-04-01  Will Newton  <will.newton@linaro.org>
28281         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28282         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28284 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28286         [BZ #13347]
28287         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28288         * nptl/tst-setuid2.c: New file.
28289         * nptl/Makefile (xtests): Add tst-setuid2.
28291 2014-04-01  Alan Modra  <amodra@gmail.com>
28293         [BZ #16786]
28294         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28296 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28298         [BZ #6803]
28299         [BZ #6804]
28300         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28301         set errno as appropriate.
28302         * math/w_scalbf.c (__scalbf): Likewise.
28303         * math/w_scalbl.c (__scalbl): Likewise.
28304         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28305         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28306         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28307         Add more NaN tests.
28309         [BZ #16349]
28310         * math/w_atan2.c: Include <errno.h>.
28311         (__atan2): Set errno for result underflowing to zero.
28312         * math/w_atan2f.c: Include <errno.h>.
28313         (__atan2f): Set errno for result underflowing to zero.
28314         * math/w_atan2l.c: Include <errno.h>.
28315         (__atan2l): Set errno for result underflowing to zero.
28316         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28317         tests.
28318         * math/auto-libm-test-out: Regenerated.
28320 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28322         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28323         Encode instruction correctly in little endian.
28324         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28325         Likewise.
28326         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28327         Likewise.
28328         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28329         Likewise.
28330         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28331         Likewise.
28333 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28335         [BZ #9894]
28336         * sysdeps/unix/sysv/linux/kernel-features.h
28337         [__sparc__ && !__arch64__ && !__sparc_v9__]
28338         (__ASSUME_SET_ROBUST_LIST): Do not define.
28339         [__sparc__ && !__arch64__ && !__sparc_v9__]
28340         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28341         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28342         Likewise.
28343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28344         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28345         (__ASSUME_REQUEUE_PI): Likewise.
28346         (__ASSUME_SET_ROBUST_LIST): Likewise.
28347         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28348         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28349         Undefine.
28350         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28351         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28352         Likewise.
28353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28354         Likewise.
28355         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28356         Likewise.
28357         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28358         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28359         Undefine.
28360         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28361         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28362         Likewise.
28364         [BZ #16648]
28365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28366         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28367         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28369 2014-03-31  Will Newton  <will.newton@linaro.org>
28371         * benchtests/Makefile (bench): Add ffs and ffsll to list
28372         of tests.
28373         * benchtests/ffs-inputs: New file.
28374         * benchtests/ffsll-inputs: Likewise.
28376 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28378         [BZ #16770]
28379         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28380         too large before casting to int.
28381         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28382         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28383         * math/libm-test.inc (scalb_test_data): Add more tests.
28385 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28387         * benchtests/Makefile (DETAILED_OPT): New make option.
28388         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28389         set.
28390         * benchtests/bench-skeleton.c: Include stdbool.h.
28391         (main): Store and print timings per input.
28392         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28393         member to each argument value.
28394         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28395         (_print_arg_data): Initialize per-input timing to 0.
28397         * benchtests/Makefile (timing-type): New binary.
28398         (bench-clean): Also remove bench-timing-type.
28399         (bench): New target for timing-type.
28400         (bench-func): Print output in JSON format.
28401         * benchtests/bench-skeleton.c (main): Print output in JSON
28402         format.
28403         * benchtests/bench-timing-type.c: New file.
28404         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28405         (TIMING_PRINT_STATS): Remove.
28406         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28407         name separately.
28409         * benchtests/bench-modf.c: Remove.
28410         * benchtests/modf-inputs: New inputs file.
28412 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28414         [BZ #16362]
28415         * math/s_clog10.c (M_PI_LOG10E): New macro.
28416         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28417         imaginary parts are 0.
28418         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28419         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28420         imaginary parts are 0.
28421         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28422         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28423         imaginary parts are 0.
28424         * math/libm-test.inc (clog10_test_data): Update expected results
28425         for when real and imaginary parts are 0.
28427 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28429         * elf/dl-load.c: Finish conversion of __builtin_expect into
28430         __glibc_{un}likely.
28432 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28434         [BZ #16348]
28435         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28436         1+x for argument with exponent below -67.
28437         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28438         Likewise.
28439         * math/auto-libm-test-in: Add more tests of exp.
28440         * math/auto-libm-test-out: Regenerated.
28442 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28444         [BZ #16759]
28445         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28446         (nscd_getnetgrent): Use it.
28448         [BZ #16760]
28449         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28450         of stpcpy.
28452 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28454         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28455         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28456         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28457         (lll_robust_unlock): Remove out of line section. Use cfi
28458         intrinsics.
28459         (LLL_STUB_UNWIND_INFO*): Remove.
28460         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28461         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28462         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28463         (lll_robust_unlock): Remove out of line section. Use cfi
28464         intrinsics.
28465         (LLL_STUB_UNWIND_INFO*): Remove.
28467 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28469         [BZ #16758]
28470         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28471         blank values.
28473 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28475         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28477 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28479         [BZ #16198]
28480         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28481         fnstenv.
28482         * math/test-fenv-preserve.c: New file.
28483         * math/Makefile (tests): Add test-fenv-preserve.
28485 2014-03-26  Will Newton <will.newton@linaro.org>
28487         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28489 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28491         * scripts/versionlist.awk: Partition the version sets and emit all
28492         GLIBC_* (sorted) before all others (sorted).
28494 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28496         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28497         GLIBC_2.2.5 version.
28499 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28501         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28502         calls.
28504         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
28505         previous change.
28507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28509 2014-03-25  Andreas Schwab  <schwab@suse.de>
28511         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28512         label to be used after in6ailist is initialized.
28514 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28516         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28517         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28519 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28521         [BZ #16357]
28522         [BZ #16599]
28523         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
28524         min_plus_half.
28525         (fp_formats): Update initializers.
28526         (init_fp_formats): Initialize new field.
28527         (output_for_one_input_case): Allow underflow for results up to
28528         min_plus_half.
28529         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
28530         * math/auto-libm-test-in: Don't mark some underflows from asin and
28531         atanh as spurious.
28532         * math/auto-libm-test-out: Regenerated.
28533         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28536 2014-03-25  Andreas Schwab  <schwab@suse.de>
28538         * libio/Makefile (tst-ftell-partial-wide-ENV)
28539         (tst-ftell-active-handler-ENV): Define.
28541 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
28543         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
28545 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28547         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
28549 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28551         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
28552         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28553         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28555 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28557         [BZ #16634]
28558         * elf/dl-load.c (open_verify): Add mode parameter.
28559         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
28560         (open_path): Change from boolean 'secure' to complete flag 'mode'
28561         (_dl_map_object): Adjust.
28562         * elf/Makefile (tests): Add tst-dlopen-aout.
28563         * elf/tst-dlopen-aout.c: New test.
28565 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
28567         [BZ #16714]
28568         * sysdeps/unix/sysv/linux/s390/bits/stat.h
28569         (struct stat): Rename member pad0 to __glibc_reserved0.
28571         [BZ #16712]
28572         * sysdeps/s390/s390-32/bits/wordsize.h
28573         (__WORDSIZE32_SIZE_ULONG): New define.
28574         * sysdeps/s390/s390-64/bits/wordsize.h
28575         (__WORDSIZE32_SIZE_ULONG): Likewise.
28576         * sysdeps/generic/stdint.h (SIZE_MAX):
28577         Define as UL if __WORDSIZE32_SIZE_ULONG.
28579         [BZ #16713]
28580         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
28581         (__glibc_reserved0): New variable.
28582         (sa_flags): Change type to int.
28584         * posix/Makefile (before-compile): Use += before-compile instead
28585         of a :=.
28587         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28588         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
28590 2014-03-20  Andreas Schwab  <schwab@suse.de>
28592         [BZ #16743]
28593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
28594         non-matching result from nscd.
28596 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28598         * scripts/bench.py: Moved to ...
28599         * benchtests/scripts/bench.py: ... here.
28600         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
28602 2014-03-24  Andreas Schwab  <schwab@suse.de>
28604         [BZ #16002]
28605         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
28606         alloca_account and account alloca use for struct in6ailist.
28608 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
28610         [BZ #16284]
28611         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
28612         rounding mode to recompute results that overflow to infinity or
28613         underflow to zero.
28614         * math/auto-libm-test-in: Don't mark tests as expected to fail for
28615         bug 16284.
28616         * math/auto-libm-test-out: Regenerated.
28617         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
28618         (ccosh_test): Likewise.
28619         (csin_test_data): Use plus_oflow.
28620         (csin_test): Use ALL_RM_TEST.
28621         (csinh_test_data): Use plus_oflow.
28622         (csinh_test): Use ALL_RM_TEST.
28623         * sysdeps/i386/fpu/libm-test-ulps: Update.
28624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28626 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
28628         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
28629         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
28630         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
28632         [BZ #16731]
28633         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
28634         when x - 1 is zero.
28635         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
28636         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
28637         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28638         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
28639         argument is 1.
28640         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
28641         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
28642         zero.
28643         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
28644         * sysdeps/i386/fpu/libm-test-ulps: Update.
28645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28647 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28649         * scripts/bench.pl: Remove file.
28650         * scripts/bench.py: New benchmark script.
28651         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
28652         * benchtests/README: Mention python dependency.
28653         * scripts/pylintrc: New file.
28654         * scripts/pylint: New file.
28656         * bits/mathdef.h: Use #ifdef instead of #if.
28657         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
28658         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28659         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
28660         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28661         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
28662         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
28664 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28665             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28667         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
28668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
28669         and strpbrk-ppc64 objects.
28670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28671         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
28672         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
28673         multiarch strpbrk for POWER7.
28674         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
28675         multiarch strpbrk for PPC64.
28676         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
28677         ifunc selector.
28678         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
28679         strpbrk for POWER7.
28681 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28683         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
28684         (atan_test): Likewise.
28685         (atanh_test_data): Use NO_TEST_INLINE for two tests.
28686         (atanh_test): Use ALL_RM_TEST.
28687         (atan2_test_data): Likewise.
28688         (cabs_test): Likewise.
28689         (cacosh_test): Likewise.
28690         (carg_test): Likewise.
28691         (casin_test): Likewise.
28692         (casinh_test): Likewise.
28693         (cbrt_test): Likewise.
28694         (csqrt_test): Likewise.
28695         (erf_test): Likewise.
28696         (erfc_test): Likewise.
28697         (pow10_test): Likewise.
28698         (exp2_test): Likewise.
28699         (hypot_test): Likewise.
28700         (j0_test): Likewise.
28701         (j1_test): Likewise.
28702         (lgamma_test): Likewise.
28703         (gamma_test): Likewise.
28704         (sincos_test): Likewise.
28705         (tanh_test): Likewise.
28706         (y0_test): Likewise.
28707         (y1_test): Likewise.
28708         * sysdeps/i386/fpu/libm-test-ulps: Update.
28709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28713         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
28714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
28715         and strcspn-ppc64 objects.
28716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28717         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
28718         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
28719         multiarch strcspn for POWER7.
28720         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
28721         multiarch strcspn for PPC64.
28722         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
28723         ifunc selector.
28724         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
28725         strcspn for POWER7.
28727 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
28729         * math/gen-libm-test.pl (generate_testfile): Expect only function
28730         name as argument to AUTO_TESTS_* and pass results for all rounding
28731         modes to parse_args.
28732         (parse_auto_input): Separate inputs of automatic tests from
28733         outputs before storing in %auto_tests.
28734         * math/libm-test.inc (acos_test_data): Update call to
28735         AUTO_TESTS_f_f.
28736         (acos_test): Use ALL_RM_TEST.
28737         (acos_tonearest_test_data): Remove.
28738         (acos_test_tonearest): Likewise.
28739         (acos_towardzero_test_data): Likewise.
28740         (acos_test_towardzero): Likewise.
28741         (acos_downward_test_data): Likewise.
28742         (acos_test_downward): Likewise.
28743         (acos_upward_test_data): Likewise.
28744         (acos_test_upward): Likewise.
28745         (acosh_test_data): Update call to AUTO_TESTS_f_f.
28746         (asin_test_data): Likewise.
28747         (asin_test): Use ALL_RM_TEST.
28748         (asin_tonearest_test_data): Remove.
28749         (asin_test_tonearest): Likewise.
28750         (asin_towardzero_test_data): Likewise.
28751         (asin_test_towardzero): Likewise.
28752         (asin_downward_test_data): Likewise.
28753         (asin_test_downward): Likewise.
28754         (asin_upward_test_data): Likewise.
28755         (asin_test_upward): Likewise.
28756         (asinh_test_data): Update call to AUTO_TESTS_f_f.
28757         (atan_test_data): Likewise.
28758         (atanh_test_data): Likewise.
28759         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
28760         (cabs_test_data): Update call to AUTO_TESTS_c_f.
28761         (carg_test_data): Likewise.
28762         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
28763         (ccos_test_data): Update call to AUTO_TESTS_c_c.
28764         (ccosh_test_data): Likewise.
28765         (cexp_test_data): Likewise.
28766         (clog_test_data): Likewise.
28767         (clog10_test_data): Likewise.
28768         (cos_test_data): Update call to AUTO_TESTS_f_f.
28769         (cos_test): Use ALL_RM_TEST.
28770         (cos_tonearest_test_data): Remove.
28771         (cos_test_tonearest): Likewise.
28772         (cos_towardzero_test_data): Likewise.
28773         (cos_test_towardzero): Likewise.
28774         (cos_downward_test_data): Likewise.
28775         (cos_test_downward): Likewise.
28776         (cos_upward_test_data): Likewise.
28777         (cos_test_upward): Likewise.
28778         (cosh_test_data): Update call to AUTO_TESTS_f_f.
28779         (cosh_test): Use ALL_RM_TEST.
28780         (cosh_tonearest_test_data): Remove.
28781         (cosh_test_tonearest): Likewise.
28782         (cosh_towardzero_test_data): Likewise.
28783         (cosh_test_towardzero): Likewise.
28784         (cosh_downward_test_data): Likewise.
28785         (cosh_test_downward): Likewise.
28786         (cosh_upward_test_data): Likewise.
28787         (cosh_test_upward): Likewise.
28788         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
28789         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
28790         (ctan_test_data): Likewise.
28791         (ctan_test): Use ALL_RM_TEST.
28792         (ctan_tonearest_test_data): Remove.
28793         (ctan_test_tonearest): Likewise.
28794         (ctan_towardzero_test_data): Likewise.
28795         (ctan_test_towardzero): Likewise.
28796         (ctan_downward_test_data): Likewise.
28797         (ctan_test_downward): Likewise.
28798         (ctan_upward_test_data): Likewise.
28799         (ctan_test_upward): Likewise.
28800         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
28801         (ctanh_test): Use ALL_RM_TEST.
28802         (ctanh_tonearest_test_data): Remove.
28803         (ctanh_test_tonearest): Likewise.
28804         (ctanh_towardzero_test_data): Likewise.
28805         (ctanh_test_towardzero): Likewise.
28806         (ctanh_downward_test_data): Likewise.
28807         (ctanh_test_downward): Likewise.
28808         (ctanh_upward_test_data): Likewise.
28809         (ctanh_test_upward): Likewise.
28810         (erf_test_data): Update call to AUTO_TESTS_f_f.
28811         (erfc_test_data): Likewise.
28812         (exp_test_data): Likewise.
28813         (exp_test): Use ALL_RM_TEST.
28814         (exp_tonearest_test_data): Remove.
28815         (exp_test_tonearest): Likewise.
28816         (exp_towardzero_test_data): Likewise.
28817         (exp_test_towardzero): Likewise.
28818         (exp_downward_test_data): Likewise.
28819         (exp_test_downward): Likewise.
28820         (exp_upward_test_data): Likewise.
28821         (exp_test_upward): Likewise.
28822         (exp10_test_data): Update call to AUTO_TESTS_f_f.
28823         (exp10_test): Use ALL_RM_TEST.
28824         (exp10_tonearest_test_data): Remove.
28825         (exp10_test_tonearest): Likewise.
28826         (exp10_towardzero_test_data): Likewise.
28827         (exp10_test_towardzero): Likewise.
28828         (exp10_downward_test_data): Likewise.
28829         (exp10_test_downward): Likewise.
28830         (exp10_upward_test_data): Likewise.
28831         (exp10_test_upward): Likewise.
28832         (exp2_test_data): Update call to AUTO_TESTS_f_f.
28833         (expm1_test_data): Likewise.
28834         (expm1_test): Use ALL_RM_TEST.
28835         (expm1_tonearest_test_data): Remove.
28836         (expm1_test_tonearest): Likewise.
28837         (expm1_towardzero_test_data): Likewise.
28838         (expm1_test_towardzero): Likewise.
28839         (expm1_downward_test_data): Likewise.
28840         (expm1_test_downward): Likewise.
28841         (expm1_upward_test_data): Likewise.
28842         (expm1_test_upward): Likewise.
28843         (fma_test_data): Update call to AUTO_TESTS_fff_f.
28844         (fma_test): Use ALL_RM_TEST.
28845         (fma_towardzero_test_data): Remove.
28846         (fma_test_towardzero): Likewise.
28847         (fma_downward_test_data): Likewise.
28848         (fma_test_downward): Likewise.
28849         (fma_upward_test_data): Likewise.
28850         (fma_test_upward): Likewise.
28851         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
28852         (j0_test_data): Update call to AUTO_TESTS_f_f.
28853         (j1_test_data): Likewise.
28854         (jn_test_data): Update call to AUTO_TESTS_if_f.
28855         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
28856         (log_test_data): Update call to AUTO_TESTS_f_f.
28857         (log10_test_data): Likewise.
28858         (log1p_test_data): Likewise.
28859         (log2_test_data): Likewise.
28860         (pow_test_data): Update call to AUTO_TESTS_ff_f.
28861         (pow_tonearest_test_data): Likewise.
28862         (sin_test_data): Update call to AUTO_TESTS_f_f.
28863         (sin_test): Use ALL_RM_TEST.
28864         (sin_tonearest_test_data): Remove.
28865         (sin_test_tonearest): Likewise.
28866         (sin_towardzero_test_data): Likewise.
28867         (sin_test_towardzero): Likewise.
28868         (sin_downward_test_data): Likewise.
28869         (sin_test_downward): Likewise.
28870         (sin_upward_test_data): Likewise.
28871         (sin_test_upward): Likewise.
28872         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
28873         (sinh_test_data): Update call to AUTO_TESTS_f_f.
28874         (sinh_test): Use ALL_RM_TEST.
28875         (sinh_tonearest_test_data): Remove.
28876         (sinh_test_tonearest): Likewise.
28877         (sinh_towardzero_test_data): Likewise.
28878         (sinh_test_towardzero): Likewise.
28879         (sinh_downward_test_data): Likewise.
28880         (sinh_test_downward): Likewise.
28881         (sinh_upward_test_data): Likewise.
28882         (sinh_test_upward): Likewise.
28883         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
28884         (sqrt_test): Use ALL_RM_TEST.
28885         (sqrt_tonearest_test_data): Remove.
28886         (sqrt_test_tonearest): Likewise.
28887         (sqrt_towardzero_test_data): Likewise.
28888         (sqrt_test_towardzero): Likewise.
28889         (sqrt_downward_test_data): Likewise.
28890         (sqrt_test_downward): Likewise.
28891         (sqrt_upward_test_data): Likewise.
28892         (sqrt_test_upward): Likewise.
28893         (tan_test_data): Update call to AUTO_TESTS_f_f.
28894         (tan_test): Use ALL_RM_TEST.
28895         (tan_tonearest_test_data): Remove.
28896         (tan_test_tonearest): Likewise.
28897         (tan_towardzero_test_data): Likewise.
28898         (tan_test_towardzero): Likewise.
28899         (tan_downward_test_data): Likewise.
28900         (tan_test_downward): Likewise.
28901         (tan_upward_test_data): Likewise.
28902         (tan_test_upward): Likewise.
28903         (tanh_test_data): Update call to AUTO_TESTS_f_f.
28904         (tgamma_test_data): Likewise.
28905         (y0_test_data): Likewise.
28906         (y1_test_data): Likewise.
28907         (yn_test_data): Update call to AUTO_TESTS_if_f.
28908         (main): Do not call removed functions.
28910 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28912         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
28913         (ldexp_test_data): Remove.
28914         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
28915         scalbn_test_data.
28916         (scalb_test): Use ALL_RM_TEST.
28918 2014-03-19  Andreas Schwab  <schwab@suse.de>
28920         * nscd/nscd.service: Also invalidate netgroup cache on reload.
28922 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
28924         [BZ #16649]
28925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28926         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
28927         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
28928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28929         (__ASSUME_PREADV): Undefine.
28930         (__ASSUME_PWRITEV): Likewise.
28932 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28934         * bits/mman-linux.h: Add comment about non-Linux use.
28935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
28936         bits/mman-linux.h resting place.
28938         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28939         * bits/mman-linux.h: ... here.
28941 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28943         * conform/conformtest.pl: Add standard definition when calling C
28944         preprocessor on data files.
28945         (checknamespace): Remove unused variable.
28947 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28949         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28950         minus_oflow, plus_uflow and minus_uflow in expected results.
28951         * math/libm-test.inc (scalbn_test_data): Add more tests of
28952         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28953         minus_uflow.
28954         (scalbn_test): Use ALL_RM_TEST.
28955         (scalbln_test_data): Add more tests of negative arguments.  Use
28956         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28957         (scalbln_test): Use ALL_RM_TEST.
28959 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28961         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28963 2014-03-18  Will Newton  <will.newton@linaro.org>
28965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28966         inaccurate comment.
28968 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28970         * Makerules [!subdir] (check-abi): Exit with error status if a
28971         test failed.
28973 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28975         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28976         for rint.  Include results for all rounding modes.
28977         (nearbyint_test): Use ALL_RM_TEST.
28978         (rint_test_data): Include all tests used for nearbyint.
28980 2014-03-17  Will Newton  <will.newton@linaro.org>
28982         * nptl/sysdeps/pthread/pthread.h: Revert previous
28983         change.
28985         * sysdeps/generic/ldsodefs.h: Revert previous
28986         change.
28988         * libio/genops.c: Revert previous change.
28989         * libio/libioP.h: Likewise.
28990         * stdio-common/vfprintf.c: Likewise.
28992         * sysdeps/generic/math_private.h: Revert previous
28993         change.
28995         * sysdeps/generic/math_private.h: Check whether
28996         HAVE_RM_CTX is defined with #ifdef rather
28997         than #if.
28999         * argp/argp-fmtstream.h: Check whether
29000         __STRICT_ANSI__ is defined with #ifdef rather
29001         than #if.
29002         * argp/argp.h: Likewise.
29004         * libio/genops.c: Check whether
29005         _IO_JUMPS_OFFSET is defined with #ifdef rather
29006         than #if.
29007         * libio/libioP.h: Likewise.
29008         * stdio-common/vfprintf.c: Likewise.
29010         * sysdeps/generic/ldsodefs.h: Check whether
29011         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29012         than #if.
29014         * nptl/sysdeps/pthread/pthread.h: Check
29015         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29016         its value.
29018 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29020         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29021         setting O_APPEND.
29022         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29023         test case.
29025         [BZ #16680]
29026         * libio/fileops.c (_IO_file_open): Seek to end of file but
29027         don't cache the offset.
29028         (get_file_offset): Remove function.
29029         (do_ftell): Use cached offset when available.
29030         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29031         don't cache the offset.
29032         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29033         case.
29034         (do_one_test): Call it.
29035         (do_ftell_test): Fix up expected old offset for a+ mode.
29036         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29037         available.
29039         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29040         up test status with function return status.
29041         (do_write_test): Likewise.
29042         (do_append_test): Likewise.
29044         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29045         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29046         Remove.
29048 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29050         * math/gen-libm-test.pl (parse_args): Handle results specified for
29051         each rounding mode separately.
29052         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29053         tests and results from lrint_tonearest_test_data,
29054         lrint_towardzero_test_data, lrint_downward_test_data and
29055         lrint_upward_test_data.
29056         (lrint_test): Use ALL_RM_TEST.
29057         (lrint_tonearest_test_data): Remove.
29058         (lrint_test_tonearest): Likewise.
29059         (lrint_towardzero_test_data): Likewise.
29060         (lrint_test_towardzero): Likewise.
29061         (lrint_downward_test_data): Likewise.
29062         (lrint_test_downward): Likewise.
29063         (lrint_upward_test_data): Likewise.
29064         (lrint_test_upward): Likewise.
29065         (llrint_test_data): Merge in per-rounding-mode tests and results
29066         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29067         llrint_downward_test_data and llrint_upward_test_data.
29068         (llrint_test): Use ALL_RM_TEST.
29069         (llrint_tonearest_test_data): Remove.
29070         (llrint_test_tonearest): Likewise.
29071         (llrint_towardzero_test_data): Likewise.
29072         (llrint_test_towardzero): Likewise.
29073         (llrint_downward_test_data): Likewise.
29074         (llrint_test_downward): Likewise.
29075         (llrint_upward_test_data): Likewise.
29076         (llrint_test_upward): Likewise.
29077         (rint_test_data): Merge in per-rounding-mode tests and results
29078         from rint_tonearest_test_data, rint_towardzero_test_data,
29079         rint_downward_test_data and rint_upward_test_data.  Add
29080         per-rounding-mode results for tests not in those arrays.
29081         (rint_test): Use ALL_RM_TEST.
29082         (rint_tonearest_test_data): Remove.
29083         (rint_test_tonearest): Likewise.
29084         (rint_towardzero_test_data): Likewise.
29085         (rint_test_towardzero): Likewise.
29086         (rint_downward_test_data): Likewise.
29087         (rint_test_downward): Likewise.
29088         (rint_upward_test_data): Likewise.
29089         (rint_test_upward): Likewise.
29090         (main): Don't call removed functions.
29092 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29094         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29095         "Compiled on ..." crapola.  It is anti-useful.
29097 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29099         * scripts/evaluate-test.sh: Handle fourth argument to determine
29100         whether test run should stop on failure.
29101         * Makeconfig (stop-on-test-failure): New variable.
29102         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29103         $(stop-on-test-failure).
29104         * Makefile (tests): Give a summary of results from testing and
29105         exit with failure status if they include an ERROR or FAIL.
29106         (xtests): Likewise.
29107         * manual/install.texi (Configuring and compiling): Mention
29108         stop-on-test-failure=y.
29109         * INSTALL: Regenerated.
29111 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29113         * scripts/versionlist.awk: New file.
29114         * Makerules [$(build-shared) = yes]
29115         (postclean-generated): Add Versions.def, not Versions.def.v and
29116         Versions.def.v.i.
29117         ($(common-objpfx)Versions.def.v.i): Target removed.
29118         ($(common-objpfx)Versions.def): New target.
29119         ($(common-objpfx)Versions.all): Depend on that rather that
29120         $(common-objpfx)Versions.def.v.
29121         * Versions.def: File removed.
29123         * Makeconfig (+gccwarn): Add -Wundef.
29124         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29125         a dl-sysdep.h breaking its contract.
29126         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29127         * include/stackinfo.h: New file.
29128         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29129         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29130         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29131         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29132         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29133         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29134         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29135         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29136         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29137         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29138         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29139         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29140         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29141         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29142         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29144 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29146         [BZ #16707]
29147         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29148         implementation.
29149         * math/libm-test.inc (round_test_data): Add more tests.
29151         [BZ #16706]
29152         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29153         implementation.
29154         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29156         [BZ #16701]
29157         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29158         implementation.
29159         * math/libm-test.inc (ceil_test_data): Add more tests.
29161         * math/libm-test.inc (trunc_test_data): Add more tests related to
29162         BZ#16414.
29164 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29166         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29167         with #if rather than #ifdef.
29168         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29170 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29172         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29173         first.  Disable AVX-512 GCC support if assembler doesn't support
29174         it.
29175         * sysdeps/x86_64/configure: Regenerated.
29177 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29179         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29180         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29181         (__old_pthread_attr_setstack): Likewise.
29182         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29183         [!_STACK_GROWS_DOWN]: Likewise.
29185 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29187         * config.make.in (have-bash2): Delete.
29188         * configure.ac (libc_cv_have_bash2): Delete.
29189         * configure: Regenerate.
29190         * elf/Makefile (common-ldd-rewrite): Rename to ...
29191         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29192         (sh-ldd-rewrite): Delete.
29193         (bash-ldd-rewrite): Delete.
29194         (have-bash2): Delete checks.
29195         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29196         ldd-rewrite.
29198         * config.make.in (have-ksh): Delete.
29199         (KSH): Delete.
29200         * configure.ac (libc_cv_have_ksh): Delete.
29201         * configure: Regenerate.
29203         * elf/Makefile: Delete $(have-ksh) check.
29204         ($(objpfx)sotruss): Change KSH to BASH.
29205         * elf/sotruss.ksh: Rename to ...
29206         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29207         function style to match POSIX.  Drop ksh vim mode setting.
29209         * manual/time.texi (Specifying the Time Zone with TZ): Change
29210         Tuesday to Thursday.
29212         * debug/tst-longjmp_chk2.c: Update header comment.
29213         (stackoverflow_handler): Add comment.  Call assert on pass value.
29215 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29217         [BZ #16194]
29218         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29219         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29220         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29221         (La_x86_64_vector): Add zmm.
29222         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29223         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29224         ($(objpfx)tst-audit10): New target.
29225         ($(objpfx)tst-audit10.out): Likewise.
29226         (tst-audit10-ENV): New.
29227         (AVX512-CFLAGS): Likewise.
29228         (CFLAGS-tst-audit10.c): Likewise.
29229         (CFLAGS-tst-auditmod10a.c): Likewise.
29230         (CFLAGS-tst-auditmod10b.c): Likewise.
29231         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29232         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29233         * sysdeps/x86_64/configure: Regenerated.
29234         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29235         AVX-512 zmm register support.
29236         (_dl_x86_64_save_sse): Likewise.
29237         (_dl_x86_64_restore_sse): Likewise.
29238         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29239         size vector registers.
29240         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29241         (ZMM_SIZE): Likewise.
29242         * sysdeps/x86_64/tst-audit10.c: New file.
29243         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29244         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29246 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29248         * configure.ac (HAVE_EHDR_START): New check.
29249         * configure: Regenerated.
29250         * config.h.in (HAVE_EHDR_START): New #undef.
29251         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29252         assuming the lowest-addressed segment maps the start of the file.
29254 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29256         * INSTALL: Regenerated.
29258 2014-03-13  Will Newton  <will.newton@linaro.org>
29260         * manual/setjmp.texi (System V contexts): Improve
29261         clarity and grammar of documentation.
29263 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29265         [BZ #16381]
29266         * elf/Makefile (tests): Add tst-pie2.
29267         (tests-pie): Add tst-pie2.
29268         * elf/tst-pie2.c: New file.
29269         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29270         for ET_EXEC.
29271         * elf/rtld.c (map_doit): Load executable as lt_executable.
29272         (dl_main): Likewise.
29274 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29276         [BZ #16642]
29277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29278         (__ASSUME_PSELECT): Undefine.
29280 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29282         [BZ #16689]
29283         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29284         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29285         static build.
29286         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29287         selector for static builds.
29289 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29291         [BZ #16695]
29292         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29293         key in the buffer.
29295 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29297         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29298         IFUNC selector for static builds.
29300 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29302         * sysdeps/mips/math_private.h [__mips_hard_float]
29303         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29304         libc_feresetround_mips_ctx.
29305         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29306         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29307         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29309         [BZ #16677]
29310         * math/s_nextafter.c (__nextafter): Do not return value from
29311         overflowing computation.
29312         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29313         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29314         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29315         Likewise.
29316         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29317         Likewise.
29318         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29319         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29321 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29323         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29324         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29325         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29326         the new mov targetting sp.
29328 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29330         [BZ #16683]
29331         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29332         Define it for static builds as well.
29333         (NO_BZERO_IMPL): Likewise.
29335 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29337         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29338         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29339         multiarch strspn for PPC64.
29340         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29341         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29343         (__libc_ifunc_impl_list): Likewise.
29344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29345         multiarch optimizations
29346         * string/strspn.c (strspn): Using macro to redefine symbol name.
29348 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29349             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29351         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29352         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29353         multiarch strncat for PPC64.
29354         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29355         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29357         (__libc_ifunc_impl_list): Likewise.
29358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29359         multiarch optimizations
29361 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29363         [BZ #16639]
29364         * nscd/nscd.service: Make service type forking.
29366 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29368         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29369         sign in non default rounding modes.
29370         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29372 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29374         * math/libm-test.inc (ALL_RM_TEST): New macro.
29375         (ceil_test): Use ALL_RM_TEST.
29376         (cimag_test): Likewise.
29377         (conj_test): Likewise.
29378         (copysign_test): Likewise.
29379         (cproj_test): Likewise.
29380         (creal_test): Likewise.
29381         (fabs_test): Likewise.
29382         (floor_test): Likewise.
29383         (fmax_test): Likewise.
29384         (fmin_test): Likewise.
29385         (fmod_test): Likewise.
29386         (fpclassify_test): Likewise.
29387         (frexp_test): Likewise.
29388         (ilogb_test): Likewise.
29389         (isfinite_test): Likewise.
29390         (finite_test): Likewise.
29391         (isgreater_test): Likewise.
29392         (isgreaterequal_test): Likewise.
29393         (isinf_test): Likewise.
29394         (isless_test): Likewise.
29395         (islessequal_test): Likewise.
29396         (islessgreater_test): Likewise.
29397         (isnan_test): Likewise.
29398         (isnormal_test): Likewise.
29399         (issignaling_test): Likewise.
29400         (isunordered_test): Likewise.
29401         (logb_test): Likewise.
29402         (logb_downward_test_data): Remove.
29403         (logb_test_downward): Likewise.
29404         (lround_test): Use ALL_RM_TEST.
29405         (llround_test): Likewise.
29406         (modf_test): Likewise.
29407         (nexttoward_test): Likewise.
29408         (remainder_test): Likewise.
29409         (drem_test): Likewise.
29410         (remainder_tonearest_test_data): Likewise.
29411         (remainder_test_tonearest): Likewise.
29412         (drem_test_tonearest): Likewise.
29413         (remainder_towardzero_test_data): Likewise.
29414         (remainder_test_towardzero): Likewise.
29415         (drem_test_towardzero): Likewise.
29416         (remainder_downward_test_data): Likewise.
29417         (remainder_test_downward): Likewise.
29418         (drem_test_downward): Likewise.
29419         (remainder_upward_test_data): Likewise.
29420         (remainder_test_upward): Likewise.
29421         (drem_test_upward): Likewise.
29422         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29423         (round_test): Use ALL_RM_TEST.
29424         (signbit_test): Likewise.
29425         (trunc_test): Likewise.
29426         (significand_test): Likewise.
29427         (main): Don't call removed functions.
29429 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29431         [BZ #16674]
29432         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29433         || __USE_XOPEN2K8].
29434         (ILL_ILLOPN): Likewise.
29435         (ILL_ILLADR): Likewise.
29436         (ILL_ILLTRP): Likewise.
29437         (ILL_PRVOPC): Likewise.
29438         (ILL_PRVREG): Likewise.
29439         (ILL_COPROC): Likewise.
29440         (ILL_BADSTK): Likewise.
29441         (FPE_INTDIV): Likewise.
29442         (FPE_INTOVF): Likewise.
29443         (FPE_FLTDIV): Likewise.
29444         (FPE_FLTOVF): Likewise.
29445         (FPE_FLTUND): Likewise.
29446         (FPE_FLTRES): Likewise.
29447         (FPE_FLTINV): Likewise.
29448         (FPE_FLTSUB): Likewise.
29449         (SEGV_MAPERR): Likewise.
29450         (SEGV_ACCERR): Likewise.
29451         (BUS_ADRALN): Likewise.
29452         (BUS_ADRERR): Likewise.
29453         (BUS_OBJERR): Likewise.
29454         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29455         (TRAP_TRACE): Likewise.
29456         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29457         __USE_XOPEN2K8].
29458         (CLD_KILLED): Likewise.
29459         (CLD_DUMPED): Likewise.
29460         (CLD_TRAPPED): Likewise.
29461         (CLD_STOPPED): Likewise.
29462         (CLD_CONTINUED): Likewise.
29463         (POLL_IN): Likewise.
29464         (POLL_OUT): Likewise.
29465         (POLL_MSG): Likewise.
29466         (POLL_ERR): Likewise.
29467         (POLL_PRI): Likewise.
29468         (POLL_HUP): Likewise.
29469         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29470         Likewise.
29471         (ILL_ILLOPN): Likewise.
29472         (ILL_ILLADR): Likewise.
29473         (ILL_ILLTRP): Likewise.
29474         (ILL_PRVOPC): Likewise.
29475         (ILL_PRVREG): Likewise.
29476         (ILL_COPROC): Likewise.
29477         (ILL_BADSTK): Likewise.
29478         (FPE_INTDIV): Likewise.
29479         (FPE_INTOVF): Likewise.
29480         (FPE_FLTDIV): Likewise.
29481         (FPE_FLTOVF): Likewise.
29482         (FPE_FLTUND): Likewise.
29483         (FPE_FLTRES): Likewise.
29484         (FPE_FLTINV): Likewise.
29485         (FPE_FLTSUB): Likewise.
29486         (SEGV_MAPERR): Likewise.
29487         (SEGV_ACCERR): Likewise.
29488         (BUS_ADRALN): Likewise.
29489         (BUS_ADRERR): Likewise.
29490         (BUS_OBJERR): Likewise.
29491         (BUS_MCEERR_AR): Likewise.
29492         (BUS_MCEERR_AO): Likewise.
29493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29494         (TRAP_TRACE): Likewise.
29495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29496         __USE_XOPEN2K8].
29497         (CLD_KILLED): Likewise.
29498         (CLD_DUMPED): Likewise.
29499         (CLD_TRAPPED): Likewise.
29500         (CLD_STOPPED): Likewise.
29501         (CLD_CONTINUED): Likewise.
29502         (POLL_IN): Likewise.
29503         (POLL_OUT): Likewise.
29504         (POLL_MSG): Likewise.
29505         (POLL_ERR): Likewise.
29506         (POLL_PRI): Likewise.
29507         (POLL_HUP): Likewise.
29508         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
29509         (ILL_ILLOPN): Likewise.
29510         (ILL_ILLADR): Likewise.
29511         (ILL_ILLTRP): Likewise.
29512         (ILL_PRVOPC): Likewise.
29513         (ILL_PRVREG): Likewise.
29514         (ILL_COPROC): Likewise.
29515         (ILL_BADSTK): Likewise.
29516         (FPE_INTDIV): Likewise.
29517         (FPE_INTOVF): Likewise.
29518         (FPE_FLTDIV): Likewise.
29519         (FPE_FLTOVF): Likewise.
29520         (FPE_FLTUND): Likewise.
29521         (FPE_FLTRES): Likewise.
29522         (FPE_FLTINV): Likewise.
29523         (FPE_FLTSUB): Likewise.
29524         (SEGV_MAPERR): Likewise.
29525         (SEGV_ACCERR): Likewise.
29526         (BUS_ADRALN): Likewise.
29527         (BUS_ADRERR): Likewise.
29528         (BUS_OBJERR): Likewise.
29529         (BUS_MCEERR_AR): Likewise.
29530         (BUS_MCEERR_AO): Likewise.
29531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29532         (TRAP_TRACE): Likewise.
29533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29534         __USE_XOPEN2K8].
29535         (CLD_KILLED): Likewise.
29536         (CLD_DUMPED): Likewise.
29537         (CLD_TRAPPED): Likewise.
29538         (CLD_STOPPED): Likewise.
29539         (CLD_CONTINUED): Likewise.
29540         (POLL_IN): Likewise.
29541         (POLL_OUT): Likewise.
29542         (POLL_MSG): Likewise.
29543         (POLL_ERR): Likewise.
29544         (POLL_PRI): Likewise.
29545         (POLL_HUP): Likewise.
29546         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
29547         Likewise.
29548         (ILL_ILLOPN): Likewise.
29549         (ILL_ILLADR): Likewise.
29550         (ILL_ILLTRP): Likewise.
29551         (ILL_PRVOPC): Likewise.
29552         (ILL_PRVREG): Likewise.
29553         (ILL_COPROC): Likewise.
29554         (ILL_BADSTK): Likewise.
29555         (ILL_BADIADDR): Likewise.
29556         (ILL_BREAK): Likewise.
29557         (FPE_INTDIV): Likewise.
29558         (FPE_INTOVF): Likewise.
29559         (FPE_FLTDIV): Likewise.
29560         (FPE_FLTOVF): Likewise.
29561         (FPE_FLTUND): Likewise.
29562         (FPE_FLTRES): Likewise.
29563         (FPE_FLTINV): Likewise.
29564         (FPE_FLTSUB): Likewise.
29565         (FPE_DECOVF): Likewise.
29566         (FPE_DECDIV): Likewise.
29567         (FPE_DECERR): Likewise.
29568         (FPE_INVASC): Likewise.
29569         (FPE_INVDEC): Likewise.
29570         (SEGV_MAPERR): Likewise.
29571         (SEGV_ACCERR): Likewise.
29572         (SEGV_PSTKOVF): Likewise.
29573         (BUS_ADRALN): Likewise.
29574         (BUS_ADRERR): Likewise.
29575         (BUS_OBJERR): Likewise.
29576         (BUS_MCEERR_AR): Likewise.
29577         (BUS_MCEERR_AO): Likewise.
29578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29579         (TRAP_TRACE): Likewise.
29580         (TRAP_BRANCH): Likewise.
29581         (TRAP_HWBKPT): Likewise.
29582         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29583         __USE_XOPEN2K8].
29584         (CLD_KILLED): Likewise.
29585         (CLD_DUMPED): Likewise.
29586         (CLD_TRAPPED): Likewise.
29587         (CLD_STOPPED): Likewise.
29588         (CLD_CONTINUED): Likewise.
29589         (POLL_IN): Likewise.
29590         (POLL_OUT): Likewise.
29591         (POLL_MSG): Likewise.
29592         (POLL_ERR): Likewise.
29593         (POLL_PRI): Likewise.
29594         (POLL_HUP): Likewise.
29595         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
29596         (ILL_ILLOPN): Likewise.
29597         (ILL_ILLADR): Likewise.
29598         (ILL_ILLTRP): Likewise.
29599         (ILL_PRVOPC): Likewise.
29600         (ILL_PRVREG): Likewise.
29601         (ILL_COPROC): Likewise.
29602         (ILL_BADSTK): Likewise.
29603         (FPE_INTDIV): Likewise.
29604         (FPE_INTOVF): Likewise.
29605         (FPE_FLTDIV): Likewise.
29606         (FPE_FLTOVF): Likewise.
29607         (FPE_FLTUND): Likewise.
29608         (FPE_FLTRES): Likewise.
29609         (FPE_FLTINV): Likewise.
29610         (FPE_FLTSUB): Likewise.
29611         (SEGV_MAPERR): Likewise.
29612         (SEGV_ACCERR): Likewise.
29613         (BUS_ADRALN): Likewise.
29614         (BUS_ADRERR): Likewise.
29615         (BUS_OBJERR): Likewise.
29616         (BUS_MCEERR_AR): Likewise.
29617         (BUS_MCEERR_AO): Likewise.
29618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29619         (TRAP_TRACE): Likewise.
29620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29621         __USE_XOPEN2K8].
29622         (CLD_KILLED): Likewise.
29623         (CLD_DUMPED): Likewise.
29624         (CLD_TRAPPED): Likewise.
29625         (CLD_STOPPED): Likewise.
29626         (CLD_CONTINUED): Likewise.
29627         (POLL_IN): Likewise.
29628         (POLL_OUT): Likewise.
29629         (POLL_MSG): Likewise.
29630         (POLL_ERR): Likewise.
29631         (POLL_PRI): Likewise.
29632         (POLL_HUP): Likewise.
29633         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
29634         (ILL_ILLOPN): Likewise.
29635         (ILL_ILLADR): Likewise.
29636         (ILL_ILLTRP): Likewise.
29637         (ILL_PRVOPC): Likewise.
29638         (ILL_PRVREG): Likewise.
29639         (ILL_COPROC): Likewise.
29640         (ILL_BADSTK): Likewise.
29641         (FPE_INTDIV): Likewise.
29642         (FPE_INTOVF): Likewise.
29643         (FPE_FLTDIV): Likewise.
29644         (FPE_FLTOVF): Likewise.
29645         (FPE_FLTUND): Likewise.
29646         (FPE_FLTRES): Likewise.
29647         (FPE_FLTINV): Likewise.
29648         (FPE_FLTSUB): Likewise.
29649         (SEGV_MAPERR): Likewise.
29650         (SEGV_ACCERR): Likewise.
29651         (BUS_ADRALN): Likewise.
29652         (BUS_ADRERR): Likewise.
29653         (BUS_OBJERR): Likewise.
29654         (BUS_MCEERR_AR): Likewise.
29655         (BUS_MCEERR_AO): Likewise.
29656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29657         (TRAP_TRACE): Likewise.
29658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29659         __USE_XOPEN2K8].
29660         (CLD_KILLED): Likewise.
29661         (CLD_DUMPED): Likewise.
29662         (CLD_TRAPPED): Likewise.
29663         (CLD_STOPPED): Likewise.
29664         (CLD_CONTINUED): Likewise.
29665         (POLL_IN): Likewise.
29666         (POLL_OUT): Likewise.
29667         (POLL_MSG): Likewise.
29668         (POLL_ERR): Likewise.
29669         (POLL_PRI): Likewise.
29670         (POLL_HUP): Likewise.
29671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
29672         (ILL_ILLOPN): Likewise.
29673         (ILL_ILLADR): Likewise.
29674         (ILL_ILLTRP): Likewise.
29675         (ILL_PRVOPC): Likewise.
29676         (ILL_PRVREG): Likewise.
29677         (ILL_COPROC): Likewise.
29678         (ILL_BADSTK): Likewise.
29679         (FPE_INTDIV): Likewise.
29680         (FPE_INTOVF): Likewise.
29681         (FPE_FLTDIV): Likewise.
29682         (FPE_FLTOVF): Likewise.
29683         (FPE_FLTUND): Likewise.
29684         (FPE_FLTRES): Likewise.
29685         (FPE_FLTINV): Likewise.
29686         (FPE_FLTSUB): Likewise.
29687         (SEGV_MAPERR): Likewise.
29688         (SEGV_ACCERR): Likewise.
29689         (BUS_ADRALN): Likewise.
29690         (BUS_ADRERR): Likewise.
29691         (BUS_OBJERR): Likewise.
29692         (BUS_MCEERR_AR): Likewise.
29693         (BUS_MCEERR_AO): Likewise.
29694         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29695         (TRAP_TRACE): Likewise.
29696         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29697         __USE_XOPEN2K8].
29698         (CLD_KILLED): Likewise.
29699         (CLD_DUMPED): Likewise.
29700         (CLD_TRAPPED): Likewise.
29701         (CLD_STOPPED): Likewise.
29702         (CLD_CONTINUED): Likewise.
29703         (POLL_IN): Likewise.
29704         (POLL_OUT): Likewise.
29705         (POLL_MSG): Likewise.
29706         (POLL_ERR): Likewise.
29707         (POLL_PRI): Likewise.
29708         (POLL_HUP): Likewise.
29709         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
29710         (ILL_ILLOPN): Likewise.
29711         (ILL_ILLADR): Likewise.
29712         (ILL_ILLTRP): Likewise.
29713         (ILL_PRVOPC): Likewise.
29714         (ILL_PRVREG): Likewise.
29715         (ILL_COPROC): Likewise.
29716         (ILL_BADSTK): Likewise.
29717         (ILL_DBLFLT): Likewise.
29718         (ILL_HARDWALL): Likewise.
29719         (FPE_INTDIV): Likewise.
29720         (FPE_INTOVF): Likewise.
29721         (FPE_FLTDIV): Likewise.
29722         (FPE_FLTOVF): Likewise.
29723         (FPE_FLTUND): Likewise.
29724         (FPE_FLTRES): Likewise.
29725         (FPE_FLTINV): Likewise.
29726         (FPE_FLTSUB): Likewise.
29727         (SEGV_MAPERR): Likewise.
29728         (SEGV_ACCERR): Likewise.
29729         (BUS_ADRALN): Likewise.
29730         (BUS_ADRERR): Likewise.
29731         (BUS_OBJERR): Likewise.
29732         (BUS_MCEERR_AR): Likewise.
29733         (BUS_MCEERR_AO): Likewise.
29734         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29735         (TRAP_TRACE): Likewise.
29736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29737         __USE_XOPEN2K8].
29738         (CLD_KILLED): Likewise.
29739         (CLD_DUMPED): Likewise.
29740         (CLD_TRAPPED): Likewise.
29741         (CLD_STOPPED): Likewise.
29742         (CLD_CONTINUED): Likewise.
29743         (POLL_IN): Likewise.
29744         (POLL_OUT): Likewise.
29745         (POLL_MSG): Likewise.
29746         (POLL_ERR): Likewise.
29747         (POLL_PRI): Likewise.
29748         (POLL_HUP): Likewise.
29749         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
29750         (ILL_ILLOPN): Likewise.
29751         (ILL_ILLADR): Likewise.
29752         (ILL_ILLTRP): Likewise.
29753         (ILL_PRVOPC): Likewise.
29754         (ILL_PRVREG): Likewise.
29755         (ILL_COPROC): Likewise.
29756         (ILL_BADSTK): Likewise.
29757         (FPE_INTDIV): Likewise.
29758         (FPE_INTOVF): Likewise.
29759         (FPE_FLTDIV): Likewise.
29760         (FPE_FLTOVF): Likewise.
29761         (FPE_FLTUND): Likewise.
29762         (FPE_FLTRES): Likewise.
29763         (FPE_FLTINV): Likewise.
29764         (FPE_FLTSUB): Likewise.
29765         (SEGV_MAPERR): Likewise.
29766         (SEGV_ACCERR): Likewise.
29767         (BUS_ADRALN): Likewise.
29768         (BUS_ADRERR): Likewise.
29769         (BUS_OBJERR): Likewise.
29770         (BUS_MCEERR_AR): Likewise.
29771         (BUS_MCEERR_AO): Likewise.
29772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29773         (TRAP_TRACE): Likewise.
29774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29775         __USE_XOPEN2K8].
29776         (CLD_KILLED): Likewise.
29777         (CLD_DUMPED): Likewise.
29778         (CLD_TRAPPED): Likewise.
29779         (CLD_STOPPED): Likewise.
29780         (CLD_CONTINUED): Likewise.
29781         (POLL_IN): Likewise.
29782         (POLL_OUT): Likewise.
29783         (POLL_MSG): Likewise.
29784         (POLL_ERR): Likewise.
29785         (POLL_PRI): Likewise.
29786         (POLL_HUP): Likewise.
29787         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
29788         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29790         [BZ #16670]
29791         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
29792         before #include of <time.h>.
29793         [!__USE_XOPEN2K] (__need_timespec): Likewise.
29794         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
29795         (test-xfail-UNIX98/sched.h/conform): Likewise.
29797 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29799         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
29800         error absence of trapping exception support.
29801         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
29803 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29805         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
29806         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
29807         * timezone/Makefile (testdata): Move definition above include of
29808         Rules.
29809         (test-zones): New variable.
29810         (tests-special): Add zone files.
29811         (build-testdata): Use $(evaluate-test).
29813         * elf/Makefile (tests-special): Rename tests to end with .out.
29814         ($(objpfx)noload-mem): Likewise.
29815         ($(objpfx)tst-leaks1-mem): Likewise.
29816         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
29817         * iconv/Makefile (xtests-special): Change test-iconvconfig to
29818         $(objpfx)test-iconvconfig.out.
29819         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
29820         set -e inside subshell and redirect output to file.
29821         * iconvdata/Makefile (generated): Rename tests to end with .out.
29822         Correct type.
29823         (tests-special): Rename tests to end with .out.
29824         ($(objpfx)mtrace-tst-loading): Likewise.
29825         * intl/Makefile (generated): Likewise.
29826         (tests-special): Likewise.
29827         ($(objpfx)mtrace-tst-gettext): Likewise.
29828         * misc/Makefile (generated): Likewise.
29829         (tests-special): Likewise.
29830         ($(objpfx)tst-error1-mem): Likewise.
29831         * nptl/Makefile (tests-special): Likewise.
29832         ($(objpfx)tst-stack3-mem): Likewise.
29833         (generated): Likewise.
29834         * posix/Makefile (generated): Likewise.
29835         (tests-special): Likewise.
29836         (xtests-special): Likewise.
29837         ($(objpfx)tst-fnmatch-mem): Likewise.
29838         ($(objpfx)bug-regex2-mem): Likewise.
29839         ($(objpfx)bug-regex14-mem): Likewise.
29840         ($(objpfx)bug-regex21-mem): Likewise.
29841         ($(objpfx)bug-regex31-mem): Likewise.
29842         ($(objpfx)tst-vfork3-mem): Likewise.
29843         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29844         ($(objpfx)tst-pcre-mem): Likewise.
29845         ($(objpfx)tst-boost-mem): Likewise.
29846         ($(objpfx)bug-ga2-mem): Likewise.
29847         ($(objpfx)bug-glob2-mem): Likewise.
29848         * resolv/Makefile (generate): Likewise.
29849         (tests-special): Likewise.
29850         (xtests-special): Likewise.
29851         (generated): Likewise.
29852         ($(objpfx)mtrace-tst-leaks): Likewise.
29853         ($(objpfx)mtrace-tst-leaks2): Likewise.
29855         * scripts/merge-test-results.sh: New file.
29856         * Makefile (tests-special-notdir): New variable.
29857         (tests): Run merge-test-results.sh.
29858         (xtests): Likewise.
29859         * Rules (tests-special-notdir): New variable.
29860         (xtests-special-notdir): Likewise.
29861         (tests): Run merge-test-results.sh
29862         (xtests): Likewise.
29864         * Makeconfig (test-xfail-name): New variable.
29865         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
29866         compute variable name for expected failures.
29867         * conform/Makefile (conformtest-headers-data): New variable.
29868         (conformtest-standards): Likewise.
29869         (conformtest-headers-ISO): Likewise.
29870         (conformtest-headers-ISO99): Likewise.
29871         (conformtest-headers-ISO11): Likewise.
29872         (conformtest-headers-POSIX): Likewise.
29873         (conformtest-headers-XPG3): Likewise.
29874         (conformtest-headers-XPG4): Likewise.
29875         (conformtest-headers-UNIX98): Likewise.
29876         (conformtest-headers-XOPEN2K): Likewise.
29877         (conformtest-headers-POSIX2008): Likewise.
29878         (conformtest-headers-XOPEN2K8): Likewise.
29879         (conformtest-header-list-base): Likewise.
29880         (conformtest-header-list-tests): Likewise.
29881         (conformtest-header-base): Likewise.
29882         (conformtest-header-tests): Likewise.
29883         (tests-special): Add $(conformtest-header-list-tests).  If
29884         [$(fast-check) && !$(cross-compiling)], add
29885         $(conformtest-header-tests) instead of
29886         $(objpfx)run-conformtest.out.
29887         (generated): Add $(conformtest-header-list-base).  If
29888         [$(fast-check) && !$(cross-compiling)], add
29889         $(conformtest-header-base).  Remove previous setting.
29890         ($(conformtest-header-list-tests)): New target.
29891         (test-xfail-run-conformtest): Remove variable.
29892         ($(objpfx)run-conformtest.out): Remove target.
29893         (test-xfail-ISO11/complex.h/conform): New variable.
29894         (test-xfail-ISO11/stdalign.h/conform): Likewise.
29895         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
29896         (test-xfail-XPG3/varargs.h/conform): Likewise.
29897         (test-xfail-XPG4/varargs.h/conform): Likewise.
29898         (test-xfail-UNIX98/varargs.h/conform): Likewise.
29899         (test-xfail-XPG4/ndbm.h/conform): Likewise.
29900         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
29901         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
29902         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
29903         (test-xfail-XPG3/fcntl.h/conform): Likewise.
29904         (test-xfail-XPG3/ftw.h/conform): Likewise.
29905         (test-xfail-XPG3/grp.h/conform): Likewise.
29906         (test-xfail-XPG3/langinfo.h/conform): Likewise.
29907         (test-xfail-XPG3/limits.h/conform): Likewise.
29908         (test-xfail-XPG3/pwd.h/conform): Likewise.
29909         (test-xfail-XPG3/search.h/conform): Likewise.
29910         (test-xfail-XPG3/signal.h/conform): Likewise.
29911         (test-xfail-XPG3/stdio.h/conform): Likewise.
29912         (test-xfail-XPG3/stdlib.h/conform): Likewise.
29913         (test-xfail-XPG3/string.h/conform): Likewise.
29914         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
29915         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
29916         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29917         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29918         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
29919         (test-xfail-XPG3/sys/types.h/conform): Likewise.
29920         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
29921         (test-xfail-XPG3/termios.h/conform): Likewise.
29922         (test-xfail-XPG3/time.h/conform): Likewise.
29923         (test-xfail-XPG3/unistd.h/conform): Likewise.
29924         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
29925         (test-xfail-XPG4/fcntl.h/conform): Likewise.
29926         (test-xfail-XPG4/langinfo.h/conform): Likewise.
29927         (test-xfail-XPG4/netdb.h/conform): Likewise.
29928         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
29929         (test-xfail-XPG4/signal.h/conform): Likewise.
29930         (test-xfail-XPG4/stdio.h/conform): Likewise.
29931         (test-xfail-XPG4/stdlib.h/conform): Likewise.
29932         (test-xfail-XPG4/stropts.h/conform): Likewise.
29933         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29934         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29935         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29936         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29937         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29938         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29939         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29940         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29941         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29942         (test-xfail-XPG4/termios.h/conform): Likewise.
29943         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29944         (test-xfail-XPG4/unistd.h/conform): Likewise.
29945         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29946         (test-xfail-POSIX/sched.h/conform): Likewise.
29947         (test-xfail-POSIX/signal.h/conform): Likewise.
29948         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29949         (test-xfail-POSIX/tar.h/conform): Likewise.
29950         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29951         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29952         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29953         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29954         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29955         (test-xfail-UNIX98/sched.h/conform): Likewise.
29956         (test-xfail-UNIX98/signal.h/conform): Likewise.
29957         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29958         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29959         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29960         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29961         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29962         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29963         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29964         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29965         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29966         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29967         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29968         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29969         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29970         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29971         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29972         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29973         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29974         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29975         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29976         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29977         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29978         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29979         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29980         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29981         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29982         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29983         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29984         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29985         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29986         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29987         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29988         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29989         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29990         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29991         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29992         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29993         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29994         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29995         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29996         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29997         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29998         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29999         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30000         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30001         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30002         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30003         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30004         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30005         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30006         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30007         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30008         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30009         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30010         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30011         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30012         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30013         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30014         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30015         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30016         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30017         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30018         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30019         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30020         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30021         (conformtest-cc-flags): Likewise.
30022         ($(conformtest-header-tests): New target.
30023         * conform/check-header-lists.sh: New file.
30024         * conform/run-conformtest.sh: Remove.
30026         * conform/conformtest.pl: Allow ' and \ in values given for
30027         constants.
30028         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30029         inclusion.
30030         [POSIX] (sys/types.h): Likewise.
30031         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30032         inclusion.
30033         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30034         inclusion.
30035         * conform/data/signal.h-data (SIGIO): Remove expectation.
30036         [XPG3] (SIGBUS): Do not expect.
30037         [POSIX || XPG3] (SIGPOLL): Likewise.
30038         [POSIX || XPG3] (SIGPROF): Likewise.
30039         [POSIX || XPG3] (SIGSYS): Likewise.
30040         [XPG3] (SIGTRAP): Likewise.
30041         [POSIX || XPG3] (SIGURG): Likewise.
30042         [POSIX || XPG3] (SIGVTALRM): Likewise.
30043         [POSIX || XPG3] (SIGXCPU): Likewise.
30044         [POSIX || XPG3] (SIGXFSZ): Likewise.
30045         [POSIX] (SA_SIGINFO): Expect.
30046         [XPG3] (siginfo_t): Do not expect type or contents.
30047         [POSIX] (si_pid): Do not expect element.
30048         [POSIX] (si_uid): Likewise.
30049         [POSIX] (si_addr): Likewise.
30050         [POSIX] (si_status): Likewise.
30051         [POSIX] (si_band): Likewise.
30052         [XPG4] (si_value): Likewise.
30053         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30054         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30055         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30056         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30057         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30058         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30059         [POSIX || XPG3] (ILL_COPROC): Likewise.
30060         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30061         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30062         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30063         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30064         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30065         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30066         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30067         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30068         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30069         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30070         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30071         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30072         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30073         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30074         [POSIX || XPG3] (CLD_EXITED): Likewise.
30075         [POSIX || XPG3] (CLD_KILLED): Likewise.
30076         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30077         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30078         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30079         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30080         [POSIX || XPG3] (POLL_IN): Likewise.
30081         [POSIX || XPG3] (POLL_OUT): Likewise.
30082         [POSIX || XPG3] (POLL_MSG): Likewise.
30083         [POSIX || XPG3] (POLL_ERR): Likewise.
30084         [POSIX || XPG3] (POLL_PRI): Likewise.
30085         [POSIX || XPG3] (POLL_HUP): Likewise.
30086         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30087         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30088         (SIG*): Do not allow.
30089         [XPG3] (si_*): Likewise.
30090         [XPG3] (SI_*): Likewise.
30091         [XPG3 || XPG4] (sigev_*): Likewise.
30092         [XPG3 || XPG4] (SIGEV_*): Likewise.
30093         [XPG3 || XPG4] (sival_*): Likewise.
30094         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30095         [POSIX || XPG3] (BUS_*): Likewise.
30096         [POSIX || XPG3] (CLD_*): Likewise.
30097         [POSIX || XPG3] (FPE_*): Likewise.
30098         [POSIX || XPG3] (ILL_*): Likewise.
30099         [POSIX || XPG3] (POLL_*): Likewise.
30100         [POSIX || XPG3] (SEGV_*): Likewise.
30101         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30102         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30103         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30104         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30105         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30106         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30107         Specify type and value.
30108         (TVERSLEN): Likewise.
30109         (REGTYPE): Likewise.
30110         (AREGTYPE): Likewise.
30111         (LNKTYPE): Likewise.
30112         (SYMTYPE): Likewise.
30113         (CHRTYPE): Likewise.
30114         (BLKTYPE): Likewise.
30115         (DIRTYPE): Likewise.
30116         (FIFOTYPE): Likewise.
30117         (CONTTYPE): Likewise.
30118         (TSUID): Likewise.
30119         (TSGID): Likewise.
30120         (TSVTX): Likewise.
30121         (TUREAD): Likewise.
30122         (TUWRITE): Likewise.
30123         (TUEXEC): Likewise.
30124         (TGREAD): Likewise.
30125         (TGWRITE): Likewise.
30126         (TGEXEC): Likewise.
30127         (TOREAD): Likewise.
30128         (TOWRITE): Likewise.
30129         (TOEXEC): Likewise.
30130         [POSIX] (TSVTX): Expect constant.
30132 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30134         * Makefile (tests): Change dependencies to ....
30135         (tests-special): ... additions to this variable.
30136         (tests): Depend on $(tests-special).
30137         * Makerules (check-abi-list): New variable.
30138         (check-abi): Depend on $(check-abi-list).
30139         [$(subdir) = elf] (tests-special): Add
30140         $(objpfx)check-abi-libc.out.
30141         [$(build-shared) = yes && subdir] (tests-special): Add
30142         $(check-abi-list).
30143         [$(build-shared) = yes && subdir] (tests): Do not depend on
30144         check-abi.
30145         * Rules (tests): Depend on $(tests-special).
30146         (xtests): Depend on $(xtests-special).
30147         * catgets/Makefile (tests): Change dependencies to ....
30148         (tests-special): ... additions to this variable.
30149         * conform/Makefile (tests): Change dependencies to ....
30150         (tests-special): ... additions to this variable.
30151         * elf/Makefile (tests): Change dependencies to ....
30152         (tests-special): ... additions to this variable.
30153         * grp/Makefile (tests): Change dependencies to ....
30154         (tests-special): ... additions to this variable.
30155         * iconv/Makefile (xtests): Change dependencies to ....
30156         (xtests-special): ... additions to this variable.
30157         * iconvdata/Makefile (tests): Change dependencies to ....
30158         (tests-special): ... additions to this variable.
30159         * intl/Makefile (tests): Change dependencies to ....
30160         (tests-special): ... additions to this variable.  Also add
30161         $(objpfx)tst-gettext.out.
30162         * io/Makefile (tests): Change dependencies to ....
30163         (tests-special): ... additions to this variable.
30164         * libio/Makefile (tests): Change dependencies to ....
30165         (tests-special): ... additions to this variable.
30166         * malloc/Makefile (tests): Change dependencies to ....
30167         (tests-special): ... additions to this variable.
30168         * misc/Makefile (tests): Change dependencies to ....
30169         (tests-special): ... additions to this variable.
30170         * nptl/Makefile (tests): Change dependencies to ....
30171         (tests-special): ... additions to this variable.
30172         * nptl_db/Makefile (tests): Change dependencies to ....
30173         (tests-special): ... additions to this variable.
30174         * posix/Makefile (tests): Change dependencies to ....
30175         (tests-special): ... additions to this variable.
30176         (xtests): Change dependencies to ....
30177         (xtests-special): ... additions to this variable.
30178         * resolv/Makefile (tests): Change dependencies to ....
30179         (tests-special): ... additions to this variable.
30180         (xtests): Change dependencies to ....
30181         (xtests-special): ... additions to this variable.
30182         * stdio-common/Makefile (tests): Change dependencies to ....
30183         (tests-special): ... additions to this variable.
30184         (do-tst-unbputc): Remove target.
30185         (do-tst-printf): Likewise.
30186         * stdlib/Makefile (tests): Change dependencies to ....
30187         (tests-special): ... additions to this variable.
30188         * string/Makefile (tests): Change dependencies to ....
30189         (tests-special): ... additions to this variable.
30190         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30191         (tests-special): ... additions to this variable.
30193         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30194         whole file.
30195         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30196         whole file.
30197         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30198         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30200         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30201         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30202         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30203         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30204         * conform/data/libgen.h-data [XPG3]: Likewise.
30205         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30206         * conform/data/ndbm.h-data [XPG3]: Likewise.
30207         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30208         * conform/data/netdb.h-data [XPG3]: Likewise.
30209         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30210         * conform/data/poll.h-data [XPG3]: Likewise.
30211         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30212         * conform/data/strings.h-data [XPG3]: Likewise.
30213         * conform/data/stropts.h-data [XPG3]: Likewise.
30214         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30215         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30216         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30217         Likewise.
30218         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30219         * conform/data/sys/time.h-data [XPG3]: Likewise.
30220         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30221         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30222         * conform/data/sys/un.h-data [XPG3]: Likewise.
30223         * conform/data/syslog.h-data [XPG3]: Likewise.
30224         * conform/data/ucontext.h-data [XPG3]: Likewise.
30225         * conform/data/utmpx.h-data [XPG3]: Likewise.
30226         * conform/data/varargs.h-data [UNIX98]: Enable file.
30228         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30230         * math/libm-test.inc (struct test_f_f_data): Move expected results
30231         into structure for each rounding mode.
30232         (struct test_ff_f_data): Likewise.
30233         (struct test_ff_f_data_nexttoward): Likewise.
30234         (struct test_fi_f_data): Likewise.
30235         (struct test_fl_f_data): Likewise.
30236         (struct test_if_f_data): Likewise.
30237         (struct test_fff_f_data): Likewise.
30238         (struct test_c_f_data): Likewise.
30239         (struct test_f_f1_data): Likewise.
30240         (struct test_fF_f1_data): Likewise.
30241         (struct test_ffI_f1_data): Likewise.
30242         (struct test_c_c_data): Likewise.
30243         (struct test_cc_c_data): Likewise.
30244         (struct test_f_i_data): Likewise.
30245         (struct test_ff_i_data): Likewise.
30246         (struct test_f_l_data): Likewise.
30247         (struct test_f_L_data): Likewise.
30248         (struct test_fFF_11_data): Likewise.
30249         (RM_): New macro.
30250         (RM_FE_DOWNWARD): Likewise.
30251         (RM_FE_TONEAREST): Likewise.
30252         (RM_FE_TOWARDZERO): Likewise.
30253         (RM_FE_UPWARD): Likewise.
30254         (RUN_TEST_LOOP_f_f): Update references to expected results.
30255         (RUN_TEST_LOOP_2_f): Likewise.
30256         (RUN_TEST_LOOP_fff_f): Likewise.
30257         (RUN_TEST_LOOP_c_f): Likewise.
30258         (RUN_TEST_LOOP_f_f1): Likewise.
30259         (RUN_TEST_LOOP_fF_f1): Likewise.
30260         (RUN_TEST_LOOP_fI_f1): Likewise.
30261         (RUN_TEST_LOOP_ffI_f1): Likewise.
30262         (RUN_TEST_LOOP_c_c): Likewise.
30263         (RUN_TEST_LOOP_cc_c): Likewise.
30264         (RUN_TEST_LOOP_f_i): Likewise.
30265         (RUN_TEST_LOOP_f_i_tg): Likewise.
30266         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30267         (RUN_TEST_LOOP_f_b): Likewise.
30268         (RUN_TEST_LOOP_f_b_tg): Likewise.
30269         (RUN_TEST_LOOP_f_l): Likewise.
30270         (RUN_TEST_LOOP_f_L): Likewise.
30271         (RUN_TEST_LOOP_fFF_11): Likewise.
30272         * math/gen-libm-test.pl (parse_args): Output four copies of
30273         expected results for each test.
30275         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30276         (__ASSUME_UTIMES): Remove.
30277         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30278         (__ASSUME_UTIMES): Likewise.
30280         * math/gen-auto-libm-tests.c: Update comment on output format.
30281         (output_for_one_input_case): Generate before-rounding and
30282         after-rounding information as conditions on output flags not
30283         floating-point format.
30284         * math/auto-libm-test-out: Regenerated.
30285         * math/gen-libm-test.pl (cond_value): New function.
30286         (or_cond_value): Use cond_value.
30287         (generate_testfile): Handle conditional exceptions.
30289 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30291         * math/libm-test.inc (max_valid_error): New variable.
30292         (init_max_error): Take new argument specifying whether function
30293         results are exactly determined.  Set max_valid_error and bound
30294         other variables for errors based on this argument.
30295         (set_max_error): Do not record results above max_valid_error.
30296         (check_float_internal): Only accept errors of up to 0.5ulps if
30297         also at most max_valid_error.
30298         (START): Take new argument EXACT and pass it to init_max_error.
30299         (acos_test): Update call to START.
30300         (acos_test_tonearest): Likewise.
30301         (acos_test_towardzero): Likewise.
30302         (acos_test_downward): Likewise.
30303         (acos_test_upward): Likewise.
30304         (acosh_test): Likewise.
30305         (asin_test): Likewise.
30306         (asin_test_tonearest): Likewise.
30307         (asin_test_towardzero): Likewise.
30308         (asin_test_downward): Likewise.
30309         (asin_test_upward): Likewise.
30310         (asinh_test): Likewise.
30311         (atan_test): Likewise.
30312         (atanh_test): Likewise.
30313         (atan2_test): Likewise.
30314         (cabs_test): Likewise.
30315         (cacos_test): Likewise.
30316         (cacosh_test): Likewise.
30317         (carg_test): Likewise.
30318         (casin_test): Likewise.
30319         (casinh_test): Likewise.
30320         (catan_test): Likewise.
30321         (catanh_test): Likewise.
30322         (cbrt_test): Likewise.
30323         (ccos_test): Likewise.
30324         (ccosh_test): Likewise.
30325         (ceil_test): Likewise.
30326         (cexp_test): Likewise.
30327         (cimag_test): Likewise.
30328         (clog_test): Likewise.
30329         (clog10_test): Likewise.
30330         (conj_test): Likewise.
30331         (copysign_test): Likewise.
30332         (cos_test): Likewise.
30333         (cos_test_tonearest): Likewise.
30334         (cos_test_towardzero): Likewise.
30335         (cos_test_downward): Likewise.
30336         (cos_test_upward): Likewise.
30337         (cosh_test): Likewise.
30338         (cosh_test_tonearest): Likewise.
30339         (cosh_test_towardzero): Likewise.
30340         (cosh_test_downward): Likewise.
30341         (cosh_test_upward): Likewise.
30342         (cpow_test): Likewise.
30343         (cproj_test): Likewise.
30344         (creal_test): Likewise.
30345         (csin_test): Likewise.
30346         (csinh_test): Likewise.
30347         (csqrt_test): Likewise.
30348         (ctan_test): Likewise.
30349         (ctan_test_tonearest): Likewise.
30350         (ctan_test_towardzero): Likewise.
30351         (ctan_test_downward): Likewise.
30352         (ctan_test_upward): Likewise.
30353         (ctanh_test): Likewise.
30354         (ctanh_test_tonearest): Likewise.
30355         (ctanh_test_towardzero): Likewise.
30356         (ctanh_test_downward): Likewise.
30357         (ctanh_test_upward): Likewise.
30358         (erf_test): Likewise.
30359         (erfc_test): Likewise.
30360         (exp_test): Likewise.
30361         (exp_test_tonearest): Likewise.
30362         (exp_test_towardzero): Likewise.
30363         (exp_test_downward): Likewise.
30364         (exp_test_upward): Likewise.
30365         (exp10_test): Likewise.
30366         (exp10_test_tonearest): Likewise.
30367         (exp10_test_towardzero): Likewise.
30368         (exp10_test_downward): Likewise.
30369         (exp10_test_upward): Likewise.
30370         (pow10_test): Likewise.
30371         (exp2_test): Likewise.
30372         (expm1_test): Likewise.
30373         (expm1_test_tonearest): Likewise.
30374         (expm1_test_towardzero): Likewise.
30375         (expm1_test_downward): Likewise.
30376         (expm1_test_upward): Likewise.
30377         (fabs_test): Likewise.
30378         (fdim_test): Likewise.
30379         (floor_test): Likewise.
30380         (fma_test): Likewise.
30381         (fma_test_towardzero): Likewise.
30382         (fma_test_downward): Likewise.
30383         (fma_test_upward): Likewise.
30384         (fmax_test): Likewise.
30385         (fmin_test): Likewise.
30386         (fmod_test): Likewise.
30387         (fpclassify_test): Likewise.
30388         (frexp_test): Likewise.
30389         (hypot_test): Likewise.
30390         (ilogb_test): Likewise.
30391         (isfinite_test): Likewise.
30392         (finite_test): Likewise.
30393         (isgreater_test): Likewise.
30394         (isgreaterequal_test): Likewise.
30395         (isinf_test): Likewise.
30396         (isless_test): Likewise.
30397         (islessequal_test): Likewise.
30398         (islessgreater_test): Likewise.
30399         (isnan_test): Likewise.
30400         (isnormal_test): Likewise.
30401         (issignaling_test): Likewise.
30402         (isunordered_test): Likewise.
30403         (j0_test): Likewise.
30404         (j1_test): Likewise.
30405         (jn_test): Likewise.
30406         (ldexp_test): Likewise.
30407         (lgamma_test): Likewise.
30408         (gamma_test): Likewise.
30409         (lrint_test): Likewise.
30410         (lrint_test_tonearest): Likewise.
30411         (lrint_test_towardzero): Likewise.
30412         (lrint_test_downward): Likewise.
30413         (lrint_test_upward): Likewise.
30414         (llrint_test): Likewise.
30415         (llrint_test_tonearest): Likewise.
30416         (llrint_test_towardzero): Likewise.
30417         (llrint_test_downward): Likewise.
30418         (llrint_test_upward): Likewise.
30419         (log_test): Likewise.
30420         (log10_test): Likewise.
30421         (log1p_test): Likewise.
30422         (log2_test): Likewise.
30423         (logb_test): Likewise.
30424         (logb_test_downward): Likewise.
30425         (lround_test): Likewise.
30426         (llround_test): Likewise.
30427         (modf_test): Likewise.
30428         (nearbyint_test): Likewise.
30429         (nextafter_test): Likewise.
30430         (nexttoward_test): Likewise.
30431         (pow_test): Likewise.
30432         (pow_test_tonearest): Likewise.
30433         (pow_test_towardzero): Likewise.
30434         (pow_test_downward): Likewise.
30435         (pow_test_upward): Likewise.
30436         (remainder_test): Likewise.
30437         (drem_test): Likewise.
30438         (remainder_test_tonearest): Likewise.
30439         (drem_test_tonearest): Likewise.
30440         (remainder_test_towardzero): Likewise.
30441         (drem_test_towardzero): Likewise.
30442         (remainder_test_downward): Likewise.
30443         (drem_test_downward): Likewise.
30444         (remainder_test_upward): Likewise.
30445         (drem_test_upward): Likewise.
30446         (remquo_test): Likewise.
30447         (rint_test): Likewise.
30448         (rint_test_tonearest): Likewise.
30449         (rint_test_towardzero): Likewise.
30450         (rint_test_downward): Likewise.
30451         (rint_test_upward): Likewise.
30452         (round_test): Likewise.
30453         (scalb_test): Likewise.
30454         (scalbn_test): Likewise.
30455         (scalbln_test): Likewise.
30456         (signbit_test): Likewise.
30457         (sin_test): Likewise.
30458         (sin_test_tonearest): Likewise.
30459         (sin_test_towardzero): Likewise.
30460         (sin_test_downward): Likewise.
30461         (sin_test_upward): Likewise.
30462         (sincos_test): Likewise.
30463         (sinh_test): Likewise.
30464         (sinh_test_tonearest): Likewise.
30465         (sinh_test_towardzero): Likewise.
30466         (sinh_test_downward): Likewise.
30467         (sinh_test_upward): Likewise.
30468         (sqrt_test): Likewise.
30469         (sqrt_test_tonearest): Likewise.
30470         (sqrt_test_towardzero): Likewise.
30471         (sqrt_test_downward): Likewise.
30472         (sqrt_test_upward): Likewise.
30473         (tan_test): Likewise.
30474         (tan_test_tonearest): Likewise.
30475         (tan_test_towardzero): Likewise.
30476         (tan_test_downward): Likewise.
30477         (tan_test_upward): Likewise.
30478         (tanh_test): Likewise.
30479         (tgamma_test): Likewise.
30480         (trunc_test): Likewise.
30481         (y0_test): Likewise.
30482         (y1_test): Likewise.
30483         (yn_test): Likewise.
30484         (significand_test): Likewise.
30486         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30487         individual tests in comment.
30488         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30489         (prev_max_error): New variable.
30490         (prev_real_max_error): Likewise.
30491         (prev_imag_max_error): Likewise.
30492         (compare_ulp_data): Don't refer to test names in comment.
30493         (find_test_ulps): Remove function.
30494         (find_function_ulps): Likewise.
30495         (find_complex_function_ulps): Likewise.
30496         (init_max_error): Take function name as argument.  Look up ulps
30497         for that function.
30498         (print_ulps): Remove function.
30499         (print_max_error): Use prev_max_error instead of calling
30500         find_function_ulps.
30501         (print_complex_max_error): Use prev_real_max_error and
30502         prev_imag_max_error instead of calling find_complex_function_ulps.
30503         (check_float_internal): Take max_ulp parameter instead of calling
30504         find_test_ulps.  Don't call print_ulps.
30505         (check_float): Update call to check_float_internal.
30506         (check_complex): Update calls to check_float_internal.
30507         (START): Pass argument to init_max_error.
30508         * math/gen-libm-test.pl (%results): Don't include "kind"
30509         information.
30510         (parse_ulps): Don't handle ulps of individual tests.
30511         (print_ulps_file): Likewise.
30512         (output_ulps): Likewise.
30513         * math/README.libm-test: Update.
30514         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
30515         individual tests.
30516         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
30517         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
30518         * sysdeps/arm/libm-test-ulps: Likewise.
30519         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
30520         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
30521         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
30522         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
30523         * sysdeps/microblaze/libm-test-ulps: Likewise.
30524         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30525         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30526         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30527         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
30528         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30529         * sysdeps/sh/libm-test-ulps: Likewise.
30530         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30531         * sysdeps/tile/libm-test-ulps: Likewise.
30532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30534 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
30536         * math/libm-test.inc (print_complex_max_error): Check separately
30537         whether real and imaginary errors are within allowed range and
30538         pass 0 to print_complex_function_ulps instead of value within
30539         allowed range.
30541 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30543         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
30544         formatting.
30545         (get_handles_fopen): Likewise.
30546         (do_write_test): Likewise.
30548         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
30550         * libio/fileops.c (do_ftell): Use cached offset when
30551         available.
30552         * libio/iofwide.c (do_ftell_wide): Likewise.
30553         * libio/iofdopen.c (_IO_new_fdopen): Don't use
30554         _IO_file_attach.
30555         * libio/wfileops.c (_IO_fwide): Don't cache offset.
30557         [BZ #16532]
30558         * libio/libioP.h (get_file_offset): New function.
30559         * libio/fileops.c (get_file_offset): Likewise.
30560         (do_ftell): Likewise.
30561         (_IO_new_file_seekoff): Split out ftell logic.
30562         * libio/wfileops.c (do_ftell_wide): Likewise.
30563         (_IO_wfile_seekoff): Split out ftell logic.
30564         * libio/tst-ftell-active-handler.c: New test case.
30565         * libio/Makefile (tests): Add it.
30567 2014-03-03  Roland McGrath  <roland@hack.frob.com>
30569         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
30570         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
30572 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574         [BZ #16639]
30575         * nscd/connections.c (nscd_init): Call do_exit.
30576         (start_threads): Call do_exit and notify_parent.
30577         (begin_drop_privileges): Call do_exit.
30578         (finish_drop_privileges): Likewise.
30579         * nscd/selinux.c (preserve_capabilities): Likewise.
30580         (install_real_capabilities): Likewise.
30581         (nscd_selinux_enabled): Likewise.
30582         (avc_create_thread): Likewise.
30583         (avc_alloc_lock): Likewise.
30584         (nscd_avc_init): Likewise.
30585         * nscd/nscd.c (parent_fd): New static variable.
30586         (main): Create a pipe between parent and child processes.
30587         Skip closing parent_fd.
30588         (monitor_child): New function.
30589         (do_exit): Likewise.
30590         (notify_parent): Likewise.
30591         * nscd/nscd.h (notify_parent): Likewise.
30592         (do_exit): Likewise.
30594 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
30596         * malloc/malloc.c (__libc_calloc): Revert last change.
30598 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30602 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30604         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
30605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
30606         implementation.
30607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30608         (__libc_ifunc_impl_list): Likewise.
30609         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
30610         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
30611         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
30612         * string/strrchr.c: Define STRRCHR.
30614 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
30616         * benchtest/bench-strtok.c (simple_strtok): Delete.
30617         (strtok_string): Use as benchmark.
30618         * string/strtok (STRTOK): New macro.
30620 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
30622         * manual/threads.texi: Add header and standard comments to all
30623         functions.
30625         * elf/dl-lookup.c (check_match): New function.
30626         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
30627         (do_lookup_x): Remove nested function check_match. Use non-nested
30628         function check_match.
30630 2014-02-28  Roland McGrath  <roland@hack.frob.com>
30632         * csu/Makefile (generated, before-compile): Use += rather than =.
30633         * catgets/Makefile (generated, generated-dirs): Likewise.
30634         * debug/Makefile (generated): Likewise.
30635         * dlfcn/Makefile (generated): Likewise.
30636         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
30637         * iconvdata/Makefile (before-compile, generated): Likewise.
30638         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
30639         * libio/Makefile (generated): Likewise.
30640         * malloc/Makefile (generated): Likewise.
30641         * manual/Makefile (generated, generated-dirs): Likewise.
30642         * misc/Makefile (generated): Likewise.
30643         * posix/Makefile (generated): Likewise.
30644         * resolv/Makefile (generated): Likewise.
30645         * sunrpc/Makefile (generated, generated-dirs): Likewise.
30646         * timezone/Makefile (generated, generated-dirs): Likewise.
30648         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
30650 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
30653         power8 implementation.
30654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
30655         file: POWER8 llround ifunc implementation.
30656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
30657         (__lllround): Add POWER8 implementation.
30658         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30659         POWER8 llround implementation.
30661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
30662         power8 implementation.
30663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
30664         file: POWER8 llrint ifunc implementation.
30665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
30666         Add POWER8 implementation.
30667         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
30668         POWER8 llrint implementation.
30670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
30671         power8 implementation.
30672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
30673         file: POWER8 finite ifunc implementation.
30674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
30675         Add POWER8 implementation.
30676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
30677         Likewise.
30678         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
30679         POWER8 finite implementation.
30680         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
30682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
30683         power8 implementation.
30684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
30685         file: POWER8 isinf ifunc implementation.
30686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
30687         POWER8 implementation.
30688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
30689         Likewise.
30690         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
30691         isinf implementation.
30692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
30694         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
30695         (INIT_ARCH): Add hwcap2 initialization.
30696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
30697         power8 implementation.
30698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
30699         file: POWER8 isnan ifunc implementation.
30700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
30701         POWER8 implementation.
30702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
30703         Likewise.
30704         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
30705         isnan implementation.
30706         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
30708 2014-02-27  Joey Ye  <joey.ye@arm.com>
30710         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30711         (_FP_NANFRAC_Q): Set to zero.
30713 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30715         [BZ #16623]
30716         * math/auto-libm-test-in: New test inputs.
30717         * math/auto-libm-test-out: Regenerate.
30718         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
30719         and DA.
30720         (__cos): Likewise.
30721         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30723 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
30725         * scripts/evaluate-test.sh: Take new argument indicating whether
30726         failure is expected.
30727         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
30728         indicating whether failure is expected.
30729         * conform/Makefile (test-xfail-run-conformtest): New variable.
30730         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
30731         level.
30732         * posix/Makefile (test-xfail-annexc): New variable.
30733         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
30735 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
30737         * argp/Makefile: Include Makeconfig immediately after defining
30738         subdir.
30739         * assert/Makefile: Likewise.
30740         * benchtests/Makefile: Likewise.
30741         * catgets/Makefile: Likewise.
30742         * conform/Makefile: Likewise.
30743         * crypt/Makefile: Likewise.
30744         * csu/Makefile: Likewise.
30745         (all): Remove target.
30746         * ctype/Makefile: Include Makeconfig immediately after defining
30747         subdir.
30748         * debug/Makefile: Likewise.
30749         * dirent/Makefile: Likewise.
30750         * dlfcn/Makefile: Likewise.
30751         * gmon/Makefile: Likewise.
30752         * gnulib/Makefile: Likewise.
30753         * grp/Makefile: Likewise.
30754         * gshadow/Makefile: Likewise.
30755         * hesiod/Makefile: Likewise.
30756         * hurd/Makefile: Likewise.
30757         (all): Remove target.
30758         * iconvdata/Makefile: Include Makeconfig immediately after
30759         defining subdir.
30760         * inet/Makefile: Likewise.
30761         * intl/Makefile: Likewise.
30762         * io/Makefile: Likewise.
30763         * libio/Makefile: Likewise.
30764         (all): Remove target.
30765         * locale/Makefile: Include Makeconfig immediately after defining
30766         subdir.
30767         * login/Makefile: Likewise.
30768         * mach/Makefile: Likewise.
30769         (all): Remove target.
30770         * malloc/Makefile: Include Makeconfig immediately after defining
30771         subdir.
30772         (all): Remove target.
30773         * manual/Makefile: Include Makeconfig immediately after defining
30774         subdir.
30775         * math/Makefile: Likewise.
30776         * misc/Makefile: Likewise.
30777         * nis/Makefile: Likewise.
30778         * nss/Makefile: Likewise.
30779         * po/Makefile: Likewise.
30780         (all): Remove target.
30781         * posix/Makefile: Include Makeconfig immediately after defining
30782         subdir.
30783         * pwd/Makefile: Likewise.
30784         * resolv/Makefile: Likewise.
30785         * resource/Makefile: Likewise.
30786         * rt/Makefile: Likewise.
30787         * setjmp/Makefile: Likewise.
30788         * shadow/Makefile: Likewise.
30789         * signal/Makefile: Likewise.
30790         * socket/Makefile: Likewise.
30791         * soft-fp/Makefile: Likewise.
30792         * stdio-common/Makefile: Likewise.
30793         * stdlib/Makefile: Likewise.
30794         * streams/Makefile: Likewise.
30795         * string/Makefile: Likewise.
30796         * sunrpc/Makefile: Likewise.
30797         (all): Remove target.
30798         * sysvipc/Makefile: Include Makeconfig immediately after defining
30799         subdir.
30800         * termios/Makefile: Likewise.
30801         * time/Makefile: Likewise.
30802         * timezone/Makefile: Likewise.
30803         (all): Remove target.
30804         * wcsmbs/Makefile: Include Makeconfig immediately after defining
30805         subdir.
30806         * wctype/Makefile: Likewise.
30808 2014-02-26  Steve Ellcey  <sellcey@mips.com>
30810         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
30811         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
30812         (libc_feholdexcept_setround_mips): Ditto.
30813         (libc_feholdsetround): New.
30814         (libc_feholdsetroundf): New.
30815         (libc_feholdsetroundl): New.
30816         (libc_feupdateenv_test_mips): New.
30817         (libc_feupdateenv_test): New.
30818         (libc_feupdateenv_testf): New.
30819         (libc_feupdateenv_testl): New.
30820         (libc_feresetround): New.
30821         (libc_feresetroundf): New.
30822         (libc_feresetroundl): New.
30823         (libc_fetestexcept_mips): New.
30824         (libc_fetestexcept): New.
30825         (libc_fetestexceptf): New.
30826         (libc_fetestexceptl): New.
30827         (HAVE_RM_CTX): New.
30828         (libc_feholdexcept_setround_mips_ctx): New.
30829         (libc_feholdexcept_setround_ctx): New.
30830         (libc_feholdexcept_setroundf_ctx): New.
30831         (libc_feholdexcept_setroundl_ctx): New.
30832         (libc_fesetenv_mips_ctx): New.
30833         (libc_fesetenv_ctx): New.
30834         (libc_fesetenv_ctxf): New.
30835         (libc_fesetenv_ctxl): New.
30836         (libc_feupdateenv_mips_ctx): New.
30837         (libc_feupdateenv_ctx): New.
30838         (libc_feupdateenvf_ctx): New.
30839         (libc_feupdateenvl_ctx): New.
30840         (libc_feholdsetround_mips_ctx): New.
30841         (libc_feholdsetround_ctx): New.
30842         (libc_feholdsetroundf_ctx): New.
30843         (libc_feholdsetroundl_ctx): New.
30844         (libc_feresetround_mips_ctx): New.
30845         (libc_feresetround_ctx): New.
30846         (libc_feresetroundf_ctx): New.
30847         (libc_feresetroundl_ctx): New.
30849 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
30851         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
30853         * manual/ipc.texi: New file.
30854         * manual/Makefile (chapters): Add ipc.
30855         * manual/job.texi: Add "Inter-Process Communication" to next.
30856         * manual/process.texi: Add "Inter-Process Communication" to prev.
30858 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30862 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
30864         * malloc/malloc.c (__libc_calloc): Simplify implementation.
30866         * manual/arith.texi: Fix spaces after sentences.
30867         * manual/charset.texi: Likewise.
30868         * manual/errno.texi: Likewise.
30869         * manual/install.texi: Likewise.
30870         * manual/llio.texi: Likewise.
30871         * manual/locale.texi: Likewise.
30872         * manual/maint.texi: Likewise.
30873         * manual/math.texi: Likewise.
30874         * manual/memory.texi: Likewise.
30875         * manual/message.texi: Likewise.
30876         * manual/probes.texi: Likewise.
30877         * manual/resource.texi: Likewise.
30878         * manual/signal.texi: Likewise.
30879         * manual/socket.texi: Likewise.
30880         * manual/stdio.texi: Likewise.
30881         * manual/string.texi: Likewise.
30882         * manual/time.texi: Likewise.
30883         * manual/users.texi: Likewise.
30885 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
30887         [BZ #16632]
30888         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
30889         _DEFAULT_SOURCE is defined.
30891 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
30892             Carlos O'Donell  <carlos@redhat.com>
30894         [BZ #16613]
30895         * elf/dl-tls.c (_dl_count_modids): New function.
30896         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
30897         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
30898         audit library and increment generation counter.
30899         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
30900         * elf/tst-audit9.c: New file.
30901         * elf/tst-auditmod9a.c: New file.
30902         * elf/tst-auditmod9b.c: New file.
30903         * elf/Makefile: Add rules to build and run tst-audit9.
30905 2014-02-25  Florian Weimer  <fweimer@redhat.com>
30907         [BZ #15347]
30908         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
30910 2014-02-25  Will Newton  <will.newton@linaro.org>
30912         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
30913         (__longjmp): Restore sp and lr before restoring callee
30914         saved registers.  Add longjmp and longjmp_target
30915         SystemTap probe point.
30916         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
30917         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
30918         Define to zero to match jmpbuf layout.
30919         * sysdeps/arm/setjmp.S: Include stap-probe.h.
30920         (__sigsetjmp): Save sp and lr before saving callee
30921         saved registers.  Add setjmp SystemTap probe point.
30923 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30925         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30927 2014-02-24  Andreas Schwab  <schwab@suse.de>
30929         [BZ #15804]
30930         * elf/pldd.c (wait_for_ptrace_stop): New function.
30931         (main): Call it after attaching.
30933 2014-02-22  Roland McGrath  <roland@hack.frob.com>
30935         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
30936         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30937         Versions files is now verboten.
30938         * hurd/Versions (libc: GLIBC_2.0):
30939         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30940         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30941         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30942         * mach/Versions: Likewise.
30944         * csu/Versions: Remove unused %include.
30945         * resolv/Versions: Likewise.
30947 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30949         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30950         ($(objpfx)check-local-headers.out): Likewise.
30951         ($(objpfx)begin-end-check.out): Likewise.
30952         * Makerules (check-abi-%.out): Likewise.
30953         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30954         ($(objpfx)test2.cat): Likewise.
30955         ($(objpfx)de/libc.cat): Likewise.
30956         ($(objpfx)test-gencat.out): Likewise.
30957         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30958         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30959         ($(objpfx)noload-mem): Likewise.
30960         ($(objpfx)tst-pathopt.out): Likewise.
30961         ($(objpfx)tst-rtld-load-self.out): Likewise.
30962         ($(objpfx)tst-array1-cmp.out): Likewise.
30963         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30964         ($(objpfx)tst-array2-cmp.out): Likewise.
30965         ($(objpfx)tst-array3-cmp.out): Likewise.
30966         ($(objpfx)tst-array4-cmp.out): Likewise.
30967         ($(objpfx)tst-array5-cmp.out): Likewise.
30968         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30969         ($(objpfx)check-textrel.out): Likewise.
30970         ($(objpfx)check-execstack.out): Likewise.
30971         ($(objpfx)check-localplt.out): Likewise.
30972         ($(objpfx)order2-cmp.out): Likewise.
30973         ($(objpfx)tst-leaks1-mem): Likewise.
30974         ($(objpfx)tst-leaks1-static-mem): Likewise.
30975         ($(objpfx)tst-initorder-cmp.out): Likewise.
30976         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30977         ($(objpfx)tst-unused-dep.out): Likewise.
30978         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30979         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30980         * iconv/Makefile (test-iconvconfig): Likewise.
30981         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30982         ($(objpfx)iconv-test.out): Likewise.
30983         ($(objpfx)tst-tables.out): Likewise.
30984         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30985         ($(objpfx)tst-gettext.out): Likewise.
30986         ($(objpfx)tst-translit.out): Likewise.
30987         ($(objpfx)tst-gettext2.out): Likewise.
30988         ($(objpfx)tst-gettext4.out): Likewise.
30989         ($(objpfx)tst-gettext6.out): Likewise.
30990         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30991         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30992         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30993         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30994         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30995         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30996         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30997         ($(objpfx)wordexp-tst.out): Likewise.
30998         ($(objpfx)annexc.out): Likewise.
30999         ($(objpfx)tst-fnmatch-mem): Likewise.
31000         ($(objpfx)bug-regex2-mem): Likewise.
31001         ($(objpfx)bug-regex14-mem): Likewise.
31002         ($(objpfx)bug-regex21-mem): Likewise.
31003         ($(objpfx)bug-regex31-mem): Likewise.
31004         ($(objpfx)tst-vfork3-mem): Likewise.
31005         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31006         ($(objpfx)tst-pcre-mem): Likewise.
31007         ($(objpfx)tst-boost-mem): Likewise.
31008         ($(objpfx)tst-getconf.out): Likewise.
31009         ($(objpfx)bug-ga2-mem): Likewise.
31010         ($(objpfx)bug-glob2-mem): Likewise.
31011         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31012         ($(objpfx)mtrace-tst-leaks2): Likewise.
31013         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31014         ($(objpfx)tst-printf.out): Likewise.
31015         ($(objpfx)tst-setvbuf1.out): Likewise.
31016         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31017         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31018         ($(objpfx)tst-fmtmsg.out): Likewise.
31019         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31020         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31022         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31023         * bits/sigaction.h [__USE_MISC]: Likewise.
31024         * bits/waitstatus.h: Update #endif comments.
31025         * ctype/ctype.h: Likewise.
31026         * dirent/dirent.h: Likewise.
31027         [__USE_MISC]: Remove redundant conditionals.
31028         * grp/grp.h: Update #endif comments.
31029         [__USE_GNU]: Remove redundant conditionals.
31030         [__USE_MISC]: Likewise.
31031         * inet/netinet/in.h [__USE_GNU]: Likewise.
31032         * io/sys/stat.h [__USE_MISC]: Likewise.
31033         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31034         * libio/bits/stdio.h: Update #endif comments.
31035         [__USE_MISC]: Remove redundant conditionals.
31036         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31037         * libio/stdio.h: Update #endif comments.
31038         [__USE_MISC]: Remove redundant conditionals.
31039         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31040         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31041         * math/math.h: Update #else and #endif comments.
31042         [__USE_MISC]: Remove redundant conditionals.
31043         * misc/sys/uio.h: Update #endif comments.
31044         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31045         * posix/glob.h [__USE_MISC]: Likewise.
31046         * posix/sys/types.h: Update #endif comments.
31047         [__USE_MISC]: Remove redundant conditionals.
31048         * posix/sys/wait.h: Update #endif comments.
31049         [__USE_MISC]: Remove redundant conditionals.
31050         * posix/unistd.h: Update #endif comments.
31051         [__USE_MISC]: Remove redundant conditionals.
31052         * pwd/pwd.h [__USE_GNU]: Likewise.
31053         [__USE_MISC]: Likewise.
31054         * resolv/netdb.h [__USE_GNU]: Likewise.
31055         * signal/signal.h: Update #endif comments.
31056         [__USE_MISC]: Remove redundant conditionals.
31057         * stdlib/stdlib.h: Update #else and #endif comments.
31058         [__USE_MISC]: Remove redundant conditionals.
31059         [__USE_GNU]: Likewise.
31060         * string/bits/string2.h [__USE_MISC]: Likewise.
31061         * string/string.h: Update #endif comments.
31062         [__USE_MISC]: Remove redundant conditionals.
31063         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31064         Likewise.
31065         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31066         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31067         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31068         Likewise.
31069         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31070         Likewise.
31071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31072         comments.
31073         [__USE_MISC]: Remove redundant conditionals.
31074         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31075         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31076         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31077         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31078         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31079         Likewise.
31080         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31081         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31082         Likewise.
31083         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31084         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31085         Likewise.
31086         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31087         Likewise.
31088         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31089         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31090         Likewise.
31091         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31092         Likewise.
31093         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31094         * sysdeps/x86/bits/string.h: Update #endif comments.
31095         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31096         conditionals.
31097         * time/sys/time.h: Update #endif comments.
31098         * time/time.h: Likewise.
31099         [__USE_MISC]: Remove redundant conditionals.
31101 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31103         [BZ #16600]
31104         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31106 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31108         * Versions.def (librt): Add GLIBC_2.17.
31110 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31112         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31113         synonym for _SYS_AUXV_H to allow direct inclusion.
31114         * sysdeps/sparc/bits/hwcap.h: Likewise.
31115         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31116         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31117         * sysdeps/sparc/sysdep.h: Likewise.
31119 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31121         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31123 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31125         * benchtests/bench-strrchr.c: Print length instead of position.
31127 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31129         [BZ #16611]
31130         * sysdeps/unix/sysv/linux/kernel-features.h
31131         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31132         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31133         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31134         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31135         Likewise.
31136         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31137         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31138         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31139         (__ASSUME_SENDMMSG): Define instead of using previous
31140         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31141         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31142         (__ASSUME_SENDMMSG_SYSCALL): Define.
31143         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31144         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31145         Likewise.
31146         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31147         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31148         Likewise.
31149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31150         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31151         Likewise.
31152         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31153         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31154         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31155         [__ASSUME_SENDMMSG]: Change conditionals to
31156         [__ASSUME_SENDMMSG_SOCKETCALL].
31157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31158         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31159         Define.
31160         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31161         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31162         Likewise.
31163         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31164         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31165         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31166         [!__ASSUME_SENDMMSG]: Change conditional to
31167         [!__ASSUME_SENDMMSG_SOCKETCALL].
31168         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31170         Define.
31172         [BZ #16610]
31173         * sysdeps/unix/sysv/linux/kernel-features.h
31174         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31175         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31176         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31177         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31178         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31179         [__i386__ || __sparc__]
31180         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31181         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31182         (__ASSUME_RECVMMSG): Define instead of using previous
31183         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31184         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31185         (__ASSUME_RECVMMSG_SYSCALL): Define.
31186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31187         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31188         Likewise.
31189         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31190         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31191         Likewise.
31192         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31194         Likewise.
31195         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31196         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31197         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31198         [__ASSUME_RECVMMSG]: Change condition to
31199         [__ASSUME_RECVMMSG_SOCKETCALL].
31200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31202         Define.
31203         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31205         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31206         Likewise.
31207         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31208         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31209         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31210         [!__ASSUME_RECVMMSG]: Change condition to
31211         [!__ASSUME_RECVMMSG_SOCKETCALL].
31212         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31213         (__ASSUME_RECVMMSG_SYSCALL): Define.
31215         [BZ #16609]
31216         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31217         __powerpc__ || __s390__ || __sh__ || __sparc__]
31218         (__ASSUME_SOCKETCALL): Define.
31219         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31220         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31221         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31222         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31223         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31224         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31225         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31226         (__ASSUME_ACCEPT4): Define instead of using previous
31227         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31228         __powerpc__ || __sparc__ || __s390__)] condition.
31229         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31230         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31231         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31232         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31233         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31234         [!__ASSUME_ACCEPT4]: Change condition to
31235         [!__ASSUME_ACCEPT4_SOCKETCALL].
31236         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31237         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31238         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31239         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31240         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31241         __ASSUME_ACCEPT4_SYSCALL.
31242         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31243         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31244         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31245         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31246         __ASSUME_ACCEPT4_SYSCALL.
31247         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31248         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31249         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31250         [__ASSUME_ACCEPT4]: Change condition to
31251         [__ASSUME_ACCEPT4_SOCKETCALL].
31252         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31253         (__ASSUME_SOCKETCALL): Define.
31254         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31256         (__ASSUME_SOCKETCALL): Define.
31257         (__ASSUME_ACCEPT4): Remove.
31258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31259         Define.
31260         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31261         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31262         Likewise.
31263         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31264         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31266         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31267         macro.
31268         (HWCAP_ARM_LPAE): Likewise.
31269         (HWCAP_ARM_EVTSTRM): Likewise.
31270         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31271         Add vpfd32, lpae and evtstrm.
31272         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31273         Increase to 22.
31275 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31277         * math/auto-libm-test-in: Add tests of clog10.
31278         * math/auto-libm-test-out: Regenerated.
31279         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31280         * sysdeps/i386/fpu/libm-test-ulps: Update.
31281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31283 2014-02-18  Andreas Schwab  <schwab@suse.de>
31285         [BZ #16574]
31286         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31287         Store non-zero if the second buffer was newly allocated.
31288         (send_dg): Likewise.
31289         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31290         to send_vc and send_dg.
31291         (res_nsend): Pass NULL for ansp2_malloced.
31292         * resolv/res_query.c (__libc_res_nquery): Add parameter
31293         answerp2_malloced and pass it down to __libc_res_nsend.
31294         (res_nquery): Pass additional NULL to __libc_res_nquery.
31295         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31296         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31297         second answer buffer if answerp2_malloced was set.
31298         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31299         (__libc_res_nquerydomain): Add parameter
31300         answerp2_malloced and pass it down to __libc_res_nquery.
31301         (res_nquerydomain): Pass additional NULL to
31302         __libc_res_nquerydomain.
31303         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31304         additional NULL to __libc_res_nsend and __libc_res_nquery.
31305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31306         additional NULL to __libc_res_nsearch.
31307         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31308         parameter of __libc_res_nsearch to check for separately allocated
31309         second buffer.
31310         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31311         __libc_res_nquery.
31312         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31313         additional NULL to __libc_res_nquery.
31314         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31315         __libc_res_nsearch.
31316         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31317         * include/resolv.h: Update prototypes of __libc_res_nquery,
31318         __libc_res_nsearch, __libc_res_nsend.
31320 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31322         * math/auto-libm-test-in: Add tests of fma.
31323         * math/auto-libm-test-out: Regenerated.
31324         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31325         (fma_towardzero_test_data): Likewise.
31326         (fma_downward_test_data): Likewise.
31327         (fma_upward_test_data): Likewise.
31328         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31329         mpc_mode.
31330         (rounding_modes): Add values for new field.
31331         (func_calc_method): Add value mpfr_fff_f.
31332         (func_calc_desc): Add mpfr_fff_f union field.
31333         (test_function): Add field exact_args.
31334         (FUNC): Add macro argument EXACT_ARGS.
31335         (FUNC_mpfr_f_f): Update call to FUNC.
31336         (FUNC_mpfr_f_f): Likewise.
31337         (FUNC_mpfr_ff_f): Likewise.
31338         (FUNC_mpfr_if_f): Likewise.
31339         (FUNC_mpc_c_f): Likewise.
31340         (FUNC_mpc_c_c): Likewise.
31341         (test_functions): Add fma.  Update calls to FUNC.
31342         (handle_input_arg): Add argument exact_args.
31343         (add_test): Update call to handle_input_arg.
31344         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31345         (output_for_one_input_case): Update call to calc_generic_results.
31346         Recalculate exact zero results in each rounding mode.
31348         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31349         non-negative before setting low bit.
31350         * math/auto-libm-test-in: Mark one asin test possibly having
31351         spurious underflow.
31352         * math/auto-libm-test-out: Regenerated.
31353         * sysdeps/i386/fpu/libm-test-ulps: Update.
31354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31356 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31358         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31359         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31360         ports/sysdeps/unix/sysv/linux/microblaze.
31361         * README: Add missing listing for microblaze*-*-linux-gnu.
31363 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31365         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31366         duplicate code
31368 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31370         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31371         * sysdeps/unix/sysv/linux/ia64: Move directory from
31372         ports/sysdeps/unix/sysv/linux/ia64.
31373         * README: Update listing for ia64-*-linux-gnu.
31375 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31376             Joseph Myers  <joseph@codesourcery.com>
31378         * Makeconfig (test-name): New variable.
31379         (evaluate-test): Likewise.
31380         * Makerules (do-test-clean): Remove .test-result files.
31381         (common-mostlyclean): Likewise.
31382         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31383         * scripts/evaluate-test.sh: New file.
31385 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31387         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31388         separate $(objpfx)tst-fopenloc-cmp.out and
31389         $(objpfx)tst-fopenloc-mem.out targets.
31390         (tests): Update dependencies.
31391         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31392         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31393         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31394         (tst-rxspencer-no-utf8-ARGS): New variable.
31395         (tst-rxspencer-no-utf8-ENV): Likewise.
31396         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31397         instead of $(objpfx)tst-rxspencer-mem.
31398         ($(objpfx)tst-rxspencer-mem): Change target to
31399         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31400         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31401         * posix/tst-rxspencer-no-utf8.c: New file.
31403         * elf/Makefile ($(objpfx)order.out): Remove rule.
31404         [$(run-built-tests) = yes] (tests): Depend on
31405         $(objpfx)order-cmp.out.
31406         ($(objpfx)order-cmp.out): New rule.
31407         [$(run-built-tests) = yes] (tests): Depend on
31408         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31409         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31410         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31411         $(objpfx)tst-array5-static-cmp.out.
31412         ($(objpfx)tst-array1.out): Remove rule.
31413         ($(objpfx)tst-array1-cmp.out): New rule.
31414         ($(objpfx)tst-array1-static.out): Remove rule.
31415         ($(objpfx)tst-array1-static-cmp.out): New rule.
31416         ($(objpfx)tst-array2.out): Remove rule.
31417         ($(objpfx)tst-array2-cmp.out): New rule.
31418         ($(objpfx)tst-array3.out): Remove rule.
31419         ($(objpfx)tst-array3-cmp.out): New rule.
31420         ($(objpfx)tst-array4.out): Remove rule.
31421         ($(objpfx)tst-array4-cmp.out): New rule.
31422         ($(objpfx)tst-array5.out): Remove rule.
31423         ($(objpfx)tst-array5-cmp.out): New rule.
31424         ($(objpfx)tst-array5-static.out): Remove rule.
31425         ($(objpfx)tst-array5-static-cmp.out): New rule.
31426         [$(run-built-tests) = yes] (tests): Depend on
31427         $(objpfx)order2-cmp.out.
31428         ($(objpfx)order2.out): Remove rule.
31429         ($(objpfx)order2-cmp.out): New rule.
31430         ($(objpfx)tst-initorder.out): Remove rule.
31431         [$(run-built-tests) = yes] (tests): Depend on
31432         $(objpfx)tst-initorder-cmp.out.
31433         ($(objpfx)tst-initorder-cmp.out): New rule.
31434         ($(objpfx)tst-initorder2.out): Remove rule.
31435         [$(run-built-tests) = yes] (tests): Depend on
31436         $(objpfx)tst-initorder2-cmp.out.
31437         ($(objpfx)tst-initorder2-cmp.out): New rule.
31438         [$(run-built-tests) = yes] (tests): Depend on
31439         $(objpfx)tst-unused-dep-cmp.out.
31440         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31441         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31442         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31443         on $(objpfx)tst-setvbuf1-cmp.out.
31444         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31445         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31446         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31447         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31448         ($(objpfx)tst-svc.out): Remove rule.
31449         ($(objpfx)tst-svc-cmp.out): New rule.
31451 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31453         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31454         * ctype/ctype.h [__USE_MISC]: Likewise.
31455         * dirent/dirent.h [__USE_MISC]: Likewise.
31456         * grp/grp.h [__USE_MISC]: Likewise.
31457         * io/fcntl.h [__USE_MISC]: Likewise.
31458         * io/sys/stat.h [__USE_MISC]: Likewise.
31459         * libio/stdio.h [__USE_MISC]: Likewise.
31460         * posix/unistd.h [__USE_MISC]: Likewise.
31461         * pwd/pwd.h [__USE_MISC]: Likewise.
31462         * stdlib.h [__USE_MISC]: Likewise.
31463         * string/bits/string2.h [__USE_MISC]: Likewise.
31464         * string/string.h [__USE_MISC]: Likewise.
31465         * time/time.h [__USE_MISC]: Likewise.
31467 2014-02-13  Andreas Schwab  <schwab@suse.de>
31469         [BZ #16574]
31470         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31471         second answer buffer if it was separately allocated.
31473 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31475         * sysdeps/mips/math-tests.h: Include <features.h>.
31476         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31477         (ROUNDING_TESTS_long_double): Do not define.
31478         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31479         (EXCEPTION_TESTS_long_double): Likewise.
31480         * sysdeps/mips/mips64/libm-test-ulps: Update.
31482         * include/features.h (__USE_BSD): Remove macro definitions.
31483         (__USE_SVID): Likewise.
31484         (_BSD_SOURCE): Likewise.
31485         (_SVID_SOURCE): Likewise.
31486         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31487         from definition of _DEFAULT_SOURCE.
31488         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31489         [_DEFAULT_SOURCE].
31490         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31491         * bits/mman.h [__USE_BSD]: Likewise.
31492         * bits/termios.h [__USE_BSD]: Likewise.
31493         * bits/waitstatus.h [__USE_BSD]: Likewise.
31494         * ctype/ctype.h [__USE_SVID]: Likewise.
31495         * dirent/dirent.h [__USE_BSD]: Likewise.
31496         * grp/grp.h [__USE_SVID]: Likewise.
31497         [__USE_BSD]: Likewise.
31498         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31499         * io/fcntl.h [__USE_BSD]: Likewise.
31500         * io/ftw.h [__USE_BSD]: Likewise.
31501         * io/sys/stat.h [__USE_BSD]: Likewise.
31502         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
31503         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
31504         * libio/stdio.h [__USE_SVID]: Likewise.
31505         [__USE_BSD]: Likewise.
31506         * math/math.h [__USE_SVID]: Likewise.
31507         [__USE_BSD]: Likewise.
31508         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
31509         * misc/bits/syslog.h [__USE_BSD]: Likewise.
31510         * misc/search.h [__USE_SVID]: Likewise.
31511         * misc/sys/mman.h [__USE_BSD]: Likewise.
31512         * misc/sys/syslog.h [__USE_BSD]: Likewise.
31513         * misc/sys/uio.h [__USE_BSD]: Likewise.
31514         * posix/bits/unistd.h [__USE_BSD]: Likewise.
31515         * posix/glob.h [__USE_BSD]: Likewise.
31516         * posix/regex.h [__USE_BSD]: Likewise.
31517         * posix/sys/types.h [__USE_BSD]: Likewise.
31518         [__USE_SVID]: Likewise.
31519         * posix/sys/utsname.h [__USE_SVID]: Likewise.
31520         * posix/sys/wait.h [__USE_BSD]: Likewise.
31521         [__USE_SVID]: Likewise.
31522         * posix/unistd.h [__USE_BSD]: Likewise.
31523         [__USE_SVID]: Likewise.
31524         * pwd/pwd.h [__USE_SVID]: Likewise.
31525         * resolv/netdb.h [__USE_BSD]: Likewise.
31526         * setjmp/setjmp.h [__USE_BSD]: Likewise.
31527         * signal/signal.h [__USE_BSD]: Likewise.
31528         [__USE_SVID]: Likewise.
31529         * socket/sys/socket.h [__USE_BSD]: Likewise.
31530         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
31531         * stdlib/stdlib.h [__USE_BSD]: Likewise.
31532         [__USE_SVID]: Likewise.
31533         * string/bits/string2.h [__USE_BSD]: Likewise.
31534         [__USE_SVID]: Likewise.
31535         * string/bits/string3.h [__USE_BSD]: Likewise.
31536         * string/endian.h [__USE_BSD]: Likewise.
31537         * string/string.h [__USE_SVID]: Likewise.
31538         [__USE_BSD]: Likewise.
31539         * string/strings.h [__USE_BSD]: Likewise.
31540         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
31541         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
31542         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
31543         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
31544         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
31545         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
31546         Likewise.
31547         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
31548         Likewise.
31549         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
31550         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
31551         Likewise.
31552         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
31553         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
31554         Likewise.
31555         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
31556         Likewise.
31557         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
31558         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
31559         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
31560         Likewise.
31561         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
31562         Likewise.
31563         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
31564         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
31565         * termios/termios.h [__USE_BSD]: Likewise.
31566         * time/sys/time.h [__USE_BSD]: Likewise.
31567         * time/time.h [__USE_BSD]: Likewise.
31568         [__USE_SVID]: Likewise.
31570         * Makefile (subdir_targets): Remove subdir_lint.out.
31572         * stdio-common/Makefile (do-tst-unbputc): Remove target.
31573         (do-tst-printf): Likewise.
31574         (tests): Depend directly on $(objpfx)tst-unbputc.out and
31575         $(objpfx)tst-printf.out.
31577         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
31579         * Makerules (check-abi-%): Change target to
31580         $(objpfx)check-abi-%.out.
31581         (check-abi target): Update dependencies.
31582         (check-abi-pattern variable): Redirect output of diff to $@.
31583         (check-abi variable): Likewise.
31584         * elf/Makefile (check-abi): Update dependencies.
31586         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
31587         unused.
31588         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
31589         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
31590         subnormal range.
31591         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
31592         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
31593         value has largest subnormal exponent.
31594         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
31595         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
31596         * sysdeps/aarch64/soft-fp/sfp-machine.h
31597         (_FP_TININESS_AFTER_ROUNDING): New macro.
31598         * sysdeps/alpha/soft-fp/sfp-machine.h
31599         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31600         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31601         Likewise.
31602         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
31603         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31604         * sysdeps/mips/soft-fp/sfp-machine.h
31605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31606         * sysdeps/powerpc/soft-fp/sfp-machine.h
31607         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31608         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31609         Likewise.
31610         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31611         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31612         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
31614         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
31615         Likewise.
31617 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
31619         [BZ #16545]
31620         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
31621         model 1.
31623 2014-02-12  Richard Henderson  <rth@redhat.com>
31625         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
31626         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
31627         * sysdeps/unix/sysv/linux/alpha: Move directory from
31628         ports/sysdeps/unix/sysv/linux/alpha.
31629         * README: Update listing for alpha-*-linux-gnu.
31631 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
31633         * include/features.h: Update comment documenting feature test
31634         macros.
31635         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
31636         _DEFAULT_SOURCE.
31637         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
31638         (_SVID_SOURCE): Likewise.
31639         (_DEFAULT_SOURCE): Update description of default features.
31640         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
31641         with _GNU_SOURCE.
31642         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
31643         (S_ISVTX): Likewise.
31644         * manual/math.texi (Mathematical Constants): Likewise.
31645         * manual/signal.texi (Interrupted Primitives): Likewise.
31646         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
31647         * math/test-matherr.c (_SVID_SOURCE): Do not define.
31648         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
31649         Don't refer to _SVID_SOURCE in warning text.
31651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31653         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
31654         already defined.
31655         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
31656         * sysdeps/mips/dl-lookup.c: Remove.
31657         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
31659 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31661         [BZ #16447]
31662         * math/auto-libm-test-in: Add testcase for expl.
31663         * math/auto-libm-test-out: Regenerate.
31664         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
31665         calculation of unsafe.
31666         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
31668 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31670         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
31671         * sysdeps/unix/sysv/linux/aarch64: Move directory from
31672         ports/sysdeps/unix/sysv/linux/aarch64.
31673         * README: Update listing for aarch64*-*-linux-gnu.
31675 2014-02-11  Will Newton  <will.newton@linaro.org>
31677         * manual/probes.texi (Mathematical Function Probes): Use
31678         "triggered" instead of "hit".
31680         * manual/probes.texi (Internal Probes): Add documentation
31681         of setjmp, longjmp and longjmp_target probes.
31683         * include/stap-probe.h: Add comment about probe argument
31684         format.
31686         * malloc/mtrace.c (attribute_hidden): Remove unused macro
31687         definition.  (tr_where, tr_freehook, tr_mallochook,
31688         tr_reallochook, tr_memalignhook): Use ANSI protoype.
31690 2014-02-11  David S. Miller  <davem@davemloft.net>
31692         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
31693         processing int_tests.
31695 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
31697         * sysdeps/mips: Move directory from ports/sysdeps/mips.
31698         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
31699         * sysdeps/unix/sysv/linux/mips: Move directory from
31700         ports/sysdeps/unix/sysv/linux/mips.
31701         * README: Update listing for mips-*-linux-gnu and
31702         mips64-*-linux-gnu.
31704 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
31706         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
31707         * sysdeps/unix/sysv/linux/m68k: Move directory from
31708         ports/sysdeps/unix/sysv/linux/m68k.
31709         * README: Update listing for m68k-*-linux-gnu.
31711 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
31713         * sysdeps/tile: Move directory from ports/sysdeps/tile.
31714         * sysdeps/unix/sysv/linux/generic: Move directory from
31715         ports/sysdeps/unix/sysv/linux/generic.
31716         * sysdeps/unix/sysv/linux/tile: Move directory from
31717         ports/sysdeps/unix/sysv/linux/tile.
31718         * README: Update listing for tile*-*-linux-gnu.
31720 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
31722         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
31723         __builtin_expect.
31724         * benchtests/bench-memmem.c (simple_memmem): Likewise.
31725         * catgets/open_catalog.c (__open_catalog): Likewise.
31726         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
31727         * debug/confstr_chk.c: Likewise.
31728         * debug/fread_chk.c (__fread_chk): Likewise.
31729         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
31730         * debug/getgroups_chk.c: Likewise.
31731         * debug/mbsnrtowcs_chk.c: Likewise.
31732         * debug/mbsrtowcs_chk.c: Likewise.
31733         * debug/mbstowcs_chk.c: Likewise.
31734         * debug/memcpy_chk.c: Likewise.
31735         * debug/memmove_chk.c: Likewise.
31736         * debug/mempcpy_chk.c: Likewise.
31737         * debug/memset_chk.c: Likewise.
31738         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31739         * debug/strcat_chk.c (__strcat_chk): Likewise.
31740         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
31741         * debug/strncat_chk.c (__strncat_chk): Likewise.
31742         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
31743         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
31744         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
31745         * debug/wcpncpy_chk.c: Likewise.
31746         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31747         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
31748         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
31749         * debug/wcsncpy_chk.c: Likewise.
31750         * debug/wcsnrtombs_chk.c: Likewise.
31751         * debug/wcsrtombs_chk.c: Likewise.
31752         * debug/wcstombs_chk.c: Likewise.
31753         * debug/wmemcpy_chk.c: Likewise.
31754         * debug/wmemmove_chk.c: Likewise.
31755         * debug/wmempcpy_chk.c: Likewise.
31756         * debug/wmemset_chk.c: Likewise.
31757         * dirent/scandirat.c (SCANDIRAT): Likewise.
31758         * dlfcn/dladdr1.c (dladdr1): Likewise.
31759         * dlfcn/dladdr.c (dladdr): Likewise.
31760         * dlfcn/dlclose.c (dlclose_doit): Likewise.
31761         * dlfcn/dlerror.c (__dlerror): Likewise.
31762         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
31763         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
31764         * dlfcn/dlopen.c (dlopen_doit): Likewise.
31765         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
31766         * dlfcn/dlsym.c (dlsym_doit): Likewise.
31767         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
31768         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
31769         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
31770         Likewise.
31771         * elf/dl-conflict.c: Likewise.
31772         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31773         * elf/dl-dst.h: Likewise.
31774         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
31775         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
31776         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31777         * elf/dl-init.c (call_init, _dl_init): Likewise.
31778         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
31779         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
31780         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
31781         Likewise.
31782         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
31783         Likewise.
31784         * elf/dl-minimal.c (__libc_memalign): Likewise.
31785         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
31786         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31787         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
31788         * elf/dl-sym.c (do_sym): Likewise.
31789         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
31790         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
31791         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
31792         * elf/dl-writev.h (_dl_writev): Likewise.
31793         * elf/ldconfig.c (search_dir): Likewise.
31794         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
31795         (dl_main): Likewise.
31796         * elf/setup-vdso.h (setup_vdso): Likewise.
31797         * grp/compat-initgroups.c (compat_call): Likewise.
31798         * grp/fgetgrent.c (fgetgrent): Likewise.
31799         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
31800         * grp/putgrent.c (putgrent): Likewise.
31801         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31802         Likewise.
31803         * hurd/hurdinit.c: Likewise.
31804         * iconvdata/8bit-gap.c (struct): Likewise.
31805         * iconvdata/ansi_x3.110.c : Likewise.
31806         * iconvdata/big5.c : Likewise.
31807         * iconvdata/big5hkscs.c : Likewise.
31808         * iconvdata/cp1255.c: Likewise.
31809         * iconvdata/cp1258.c : Likewise.
31810         * iconvdata/cp932.c : Likewise.
31811         * iconvdata/euc-cn.c: Likewise.
31812         * iconvdata/euc-jisx0213.c : Likewise.
31813         * iconvdata/euc-jp.c: Likewise.
31814         * iconvdata/euc-jp-ms.c : Likewise.
31815         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
31816         * iconvdata/gb18030.c : Likewise.
31817         * iconvdata/gbbig5.c (const): Likewise.
31818         * iconvdata/gbgbk.c: Likewise.
31819         * iconvdata/gbk.c : Likewise.
31820         * iconvdata/ibm1364.c : Likewise.
31821         * iconvdata/ibm930.c : Likewise.
31822         * iconvdata/ibm932.c: Likewise.
31823         * iconvdata/ibm933.c : Likewise.
31824         * iconvdata/ibm935.c : Likewise.
31825         * iconvdata/ibm937.c : Likewise.
31826         * iconvdata/ibm939.c : Likewise.
31827         * iconvdata/ibm943.c: Likewise.
31828         * iconvdata/iso_11548-1.c: Likewise.
31829         * iconvdata/iso-2022-cn.c : Likewise.
31830         * iconvdata/iso-2022-cn-ext.c : Likewise.
31831         * iconvdata/iso-2022-jp-3.c: Likewise.
31832         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
31833         * iconvdata/iso-2022-kr.c : Likewise.
31834         * iconvdata/iso646.c (gconv_end): Likewise.
31835         * iconvdata/iso_6937-2.c : Likewise.
31836         * iconvdata/iso_6937.c : Likewise.
31837         * iconvdata/iso8859-1.c: Likewise.
31838         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
31839         * iconvdata/shift_jisx0213.c : Likewise.
31840         * iconvdata/sjis.c : Likewise.
31841         * iconvdata/t.61.c : Likewise.
31842         * iconvdata/tcvn5712-1.c : Likewise.
31843         * iconvdata/tscii.c: Likewise.
31844         * iconvdata/uhc.c : Likewise.
31845         * iconvdata/unicode.c (gconv_end): Likewise.
31846         * iconvdata/utf-16.c (gconv_end): Likewise.
31847         * iconvdata/utf-32.c (gconv_end): Likewise.
31848         * iconvdata/utf-7.c (base64): Likewise.
31849         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
31850         * iconv/gconv_close.c (__gconv_close): Likewise.
31851         * iconv/gconv_open.c (__gconv_open): Likewise.
31852         * iconv/gconv_simple.c (internal_ucs4_loop_single)
31853         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
31854         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
31855         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
31856         (ucs4le_internal_loop_single): Likewise.
31857         * iconv/iconv.c (iconv): Likewise.
31858         * iconv/iconv_close.c: Likewise.
31859         * iconv/loop.c (SINGLE): Likewise.
31860         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
31861         * include/atomic.h: Likewise.
31862         * inet/inet6_option.c (option_alloc): Likewise.
31863         * intl/bindtextdom.c (set_binding_values): Likewise.
31864         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
31865         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
31866         * intl/localealias.c (read_alias_file): Likewise.
31867         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31868         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
31869         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
31870         * libio/fmemopen.c (fmemopen): Likewise.
31871         * libio/iofgets.c (_IO_fgets): Likewise.
31872         * libio/iofgets_u.c (fgets_unlocked): Likewise.
31873         * libio/iofgetws.c (fgetws): Likewise.
31874         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
31875         * libio/iogetdelim.c (_IO_getdelim): Likewise.
31876         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
31877         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
31878         * locale/findlocale.c (_nl_find_locale): Likewise.
31879         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31880         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
31881         Likewise.
31882         * locale/setlocale.c (setlocale): Likewise.
31883         * login/programs/pt_chown.c (main): Likewise.
31884         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
31885         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
31886         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
31887         (mmap, mmap64, mremap, munmap): Likewise.
31888         * math/e_exp2l.c: Likewise.
31889         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
31890         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
31891         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
31892         * math/s_catan.c (__catan): Likewise.
31893         * math/s_catanf.c (__catanf): Likewise.
31894         * math/s_catanh.c (__catanh): Likewise.
31895         * math/s_catanhf.c (__catanhf): Likewise.
31896         * math/s_catanhl.c (__catanhl): Likewise.
31897         * math/s_catanl.c (__catanl): Likewise.
31898         * math/s_ccosh.c (__ccosh): Likewise.
31899         * math/s_ccoshf.c (__ccoshf): Likewise.
31900         * math/s_ccoshl.c (__ccoshl): Likewise.
31901         * math/s_cexp.c (__cexp): Likewise.
31902         * math/s_cexpf.c (__cexpf): Likewise.
31903         * math/s_cexpl.c (__cexpl): Likewise.
31904         * math/s_clog10.c (__clog10): Likewise.
31905         * math/s_clog10f.c (__clog10f): Likewise.
31906         * math/s_clog10l.c (__clog10l): Likewise.
31907         * math/s_clog.c (__clog): Likewise.
31908         * math/s_clogf.c (__clogf): Likewise.
31909         * math/s_clogl.c (__clogl): Likewise.
31910         * math/s_csin.c (__csin): Likewise.
31911         * math/s_csinf.c (__csinf): Likewise.
31912         * math/s_csinh.c (__csinh): Likewise.
31913         * math/s_csinhf.c (__csinhf): Likewise.
31914         * math/s_csinhl.c (__csinhl): Likewise.
31915         * math/s_csinl.c (__csinl): Likewise.
31916         * math/s_csqrt.c (__csqrt): Likewise.
31917         * math/s_csqrtf.c (__csqrtf): Likewise.
31918         * math/s_csqrtl.c (__csqrtl): Likewise.
31919         * math/s_ctan.c (__ctan): Likewise.
31920         * math/s_ctanf.c (__ctanf): Likewise.
31921         * math/s_ctanh.c (__ctanh): Likewise.
31922         * math/s_ctanhf.c (__ctanhf): Likewise.
31923         * math/s_ctanhl.c (__ctanhl): Likewise.
31924         * math/s_ctanl.c (__ctanl): Likewise.
31925         * math/w_pow.c: Likewise.
31926         * math/w_powf.c: Likewise.
31927         * math/w_powl.c: Likewise.
31928         * math/w_scalb.c (sysv_scalb): Likewise.
31929         * math/w_scalbf.c (sysv_scalbf): Likewise.
31930         * math/w_scalbl.c (sysv_scalbl): Likewise.
31931         * misc/error.c (error_tail): Likewise.
31932         * misc/pselect.c (__pselect): Likewise.
31933         * nis/nis_callback.c (__nis_create_callback): Likewise.
31934         * nis/nis_call.c (__nisfind_server): Likewise.
31935         * nis/nis_creategroup.c (nis_creategroup): Likewise.
31936         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31937         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31938         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31939         * nis/nis_lookup.c (nis_lookup): Likewise.
31940         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31941         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31942         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31943         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31944         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31945         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31946         * nis/nss_compat/compat-initgroups.c (add_group)
31947         (internal_getgrent_r): Likewise.
31948         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31949         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31950         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31951         (internal_getspnam_r): Likewise.
31952         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31953         (_nss_nis_getaliasbyname_r): Likewise.
31954         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31955         (_nss_nis_getntohost_r): Likewise.
31956         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31957         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31958         (_nss_nis_getgrgid_r): Likewise.
31959         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31960         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31961         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31962         (_nss_nis_gethostbyname4_r): Likewise.
31963         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31964         (initgroups_netid): Likewise.
31965         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31966         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31967         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31968         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31969         (_nss_nis_getprotobynumber_r): Likewise.
31970         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31971         (_nss_nis_getsecretkey): Likewise.
31972         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31973         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31974         (_nss_nis_getpwuid_r): Likewise.
31975         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31976         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31977         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31978         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31979         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31980         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31981         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31982         Likewise.
31983         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31984         (_nss_nisplus_getntohost_r): Likewise.
31985         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31986         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31987         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31988         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31989         Likewise.
31990         * nis/nss_nisplus/nisplus-initgroups.c
31991         (_nss_nisplus_initgroups_dyn): Likewise.
31992         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31993         (_nss_nisplus_getnetbyaddr_r): Likewise.
31994         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31995         (_nss_nisplus_getprotobynumber_r): Likewise.
31996         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31997         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31998         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31999         Likewise.
32000         * nis/nss_nisplus/nisplus-service.c
32001         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32002         (_nss_nisplus_getservbyport_r): Likewise.
32003         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32004         (_nss_nisplus_getspnam_r): Likewise.
32005         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32006         Likewise.
32007         * nscd/aicache.c (addhstaiX): Likewise.
32008         * nscd/cache.c (cache_search, prune_cache): Likewise.
32009         * nscd/connections.c (register_traced_file, send_ro_fd)
32010         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32011         (main_loop_epoll): Likewise.
32012         * nscd/grpcache.c (addgrbyX): Likewise.
32013         * nscd/hstcache.c (addhstbyX): Likewise.
32014         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32015         * nscd/mem.c (gc, mempool_alloc): Likewise.
32016         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32017         (addinnetgrX): Likewise.
32018         * nscd/nscd-client.h (__nscd_acquire_maplock)
32019         (__nscd_drop_map_ref): Likewise.
32020         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32021         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32022         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32023         Likewise.
32024         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32025         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32026         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32027         (__nscd_get_map_ref): Likewise.
32028         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32029         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32030         Likewise.
32031         * nscd/pwdcache.c (addpwbyX): Likewise.
32032         * nscd/selinux.c (preserve_capabilities): Likewise.
32033         * nscd/servicescache.c (addservbyX): Likewise.
32034         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32035         * posix/fnmatch.c (fnmatch): Likewise.
32036         * posix/getopt.c (_getopt_internal_r): Likewise.
32037         * posix/glob.c (glob, glob_in_dir): Likewise.
32038         * posix/wordexp.c (exec_comm_child): Likewise.
32039         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32040         (getanswer_r, gaih_getanswer_slice): Likewise.
32041         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32042         * resolv/res_init.c: Likewise.
32043         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32044         * resolv/res_query.c (__libc_res_nquery): Likewise.
32045         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32046         Likewise.
32047         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32048         * stdio-common/perror.c (perror): Likewise.
32049         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32050         * stdio-common/tmpnam.c (tmpnam): Likewise.
32051         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32052         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32053         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32054         Likewise.
32055         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32056         * stdlib/putenv.c (putenv): Likewise.
32057         * stdlib/setenv.c (__add_to_environ): Likewise.
32058         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32059         * stdlib/strtol_l.c (INTERNAL): Likewise.
32060         * string/memmem.c (memmem): Likewise.
32061         * string/strerror.c (strerror): Likewise.
32062         * string/strnlen.c (__strnlen): Likewise.
32063         * string/test-memmem.c (simple_memmem): Likewise.
32064         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32065         * sunrpc/pm_getport.c (__get_socket): Likewise.
32066         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32067         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32068         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32069         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32070         Likewise.
32071         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32072         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32073         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32074         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32075         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32076         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32077         Likewise.
32078         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32079         Likewise.
32080         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32081         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32082         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32083         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32084         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32086         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32087         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32088         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32089         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32090         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32091         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32092         Likewise.
32093         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32094         Likewise.
32095         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32096         Likewise.
32097         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32098         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32099         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32100         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32101         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32102         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32103         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32104         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32105         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32106         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32107         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32108         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32109         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32110         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32111         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32112         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32113         Likewise.
32114         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32115         Likewise.
32116         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32117         Likewise.
32118         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32119         Likewise.
32120         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32122         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32123         Likewise.
32124         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32125         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32126         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32127         * sysdeps/posix/sleep.c: Likewise.
32128         * sysdeps/posix/tempname.c: Likewise.
32129         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32130         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32131         Likewise.
32132         * sysdeps/powerpc/powerpc32/dl-machine.h
32133         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32134         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32136         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32137         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32138         Likewise.
32139         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32141         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32143         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32144         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32145         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32146         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32147         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32148         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32149         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32150         (elf_machine_lazy_rel): Likewise.
32151         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32152         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32153         (elf_machine_lazy_rel): Likewise.
32154         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32155         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32156         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32157         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32158         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32159         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32160         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32162         Likewise.
32163         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32164         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32165         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32166         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32167         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32168         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32169         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32170         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32171         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32173         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32174         Likewise.
32175         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32176         (__posix_fallocate64_l64): Likewise.
32177         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32178         (posix_fallocate): Likewise.
32179         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32180         Likewise.
32181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32182         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32183         (getifaddrs_internal): Likewise.
32184         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32185         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32186         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32187         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32188         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32189         (__posix_fallocate64_l64): Likewise.
32190         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32191         Likewise.
32192         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32194         (__get_clockfreq): Likewise.
32195         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32196         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32197         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32200         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32201         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32202         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32203         Likewise.
32204         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32205         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32206         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32208         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32209         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32210         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32211         Likewise.
32212         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32213         (posix_fallocate): Likewise.
32214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32215         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32216         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32217         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32218         (elf_machine_rela, elf_machine_rela_relative)
32219         (elf_machine_lazy_rel): Likewise.
32220         * time/asctime.c (asctime_internal): Likewise.
32221         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32222         * time/tzset.c (__tzset_parse_tz): Likewise.
32223         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32224         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32225         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32226         * wcsmbs/wcsmbsload.h: Likewise.
32228         [BZ #15894]
32229         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32231         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32232         (arena_get2): Remove THREAD_STATS conditionals.
32233         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32234         (__malloc_stats, int): Likewise.
32236 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32238         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32239         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32241         * manual/setjmp.texi: Fix typos/grammar errors.
32243         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32244         Only return early when n is <= 0.  Delete unused return statement.
32246         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32247         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32248         * debug/tst-longjmp_chk3.c: New file.
32250         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32251         (test_main): Replace code with set_fortify_handler call.
32252         * debug/test-strcpy_chk.c: Likewise.
32253         * debug/tst-chk1.c: Likewise.
32254         * debug/tst-longjmp_chk.c: Likewise.
32255         * test-skeleton.c: Include fcntl.h & paths.h
32256         (set_fortify_handler): Define.
32258         * debug/tst-longjmp_chk.c: Add header comment and include
32259         ../test-skeleton.c.
32260         (do_test): Mark static.
32261         (TEST_FUNCTION): Define.
32263         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32264         (IP_PMTUDISC_INTERFACE): Likewise.
32265         (IP_MULTICAST_IF): Likewise.
32266         (IP_MULTICAST_TTL): Likewise.
32267         (IP_MULTICAST_LOOP): Likewise.
32268         (IP_ADD_MEMBERSHIP): Likewise.
32269         (IP_DROP_MEMBERSHIP): Likewise.
32270         (IP_UNBLOCK_SOURCE): Likewise.
32271         (IP_BLOCK_SOURCE): Likewise.
32272         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32273         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32274         (IP_MSFILTER): Likewise.
32275         (MCAST_JOIN_GROUP): Likewise.
32276         (MCAST_BLOCK_SOURCE): Likewise.
32277         (MCAST_UNBLOCK_SOURCE): Likewise.
32278         (MCAST_LEAVE_GROUP): Likewise.
32279         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32280         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32281         (MCAST_MSFILTER): Likewise.
32282         (IP_MULTICAST_ALL): Likewise.
32283         (IP_UNICAST_IF): Likewise.
32285         * timezone/Makefile: Delete $(have-ksh) check.
32286         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32287         * timezone/tzselect.ksh: Add +x mode bits.
32289         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32290         (ANON_INODE_FS_MAGIC): Likewise.
32291         (BDEVFS_MAGIC): Likewise.
32292         (BINFMTFS_MAGIC): Likewise.
32293         (BTRFS_TEST_MAGIC): Likewise.
32294         (CRAMFS_MAGIC_WEND): Likewise.
32295         (DEBUGFS_MAGIC): Likewise.
32296         (ECRYPTFS_SUPER_MAGIC): Likewise.
32297         (EXT3_SUPER_MAGIC): Likewise.
32298         (EXT4_SUPER_MAGIC): Likewise.
32299         (FUTEXFS_SUPER_MAGIC): Likewise.
32300         (HOSTFS_SUPER_MAGIC): Likewise.
32301         (HUGETLBFS_MAGIC): Likewise.
32302         (MINIX3_SUPER_MAGIC): Likewise.
32303         (MTD_INODE_FS_MAGIC): Likewise.
32304         (NILFS_SUPER_MAGIC): Likewise.
32305         (OPENPROM_SUPER_MAGIC): Likewise.
32306         (PIPEFS_MAGIC): Likewise.
32307         (PSTOREFS_MAGIC): Likewise.
32308         (QNX6_SUPER_MAGIC): Likewise.
32309         (RAMFS_MAGIC): Likewise.
32310         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32311         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32312         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32313         (SECURITYFS_MAGIC): Likewise.
32314         (SELINUX_MAGIC): Likewise.
32315         (SMACK_MAGIC): Likewise.
32316         (SOCKFS_MAGIC): Likewise.
32317         (SQUASHFS_MAGIC): Likewise.
32318         (STACK_END_MAGIC): Likewise.
32319         (TMPFS_MAGIC): Likewise.
32320         (USBDEVICE_SUPER_MAGIC): Likewise.
32321         (V9FS_MAGIC): Likewise.
32322         (XENFS_SUPER_MAGIC): Likewise.
32323         (CRAMFS_MAGIC): Fix typo in comment.
32324         (EXT2_SUPER_MAGIC): Update comment.
32325         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32327 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32329         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32330         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32331         * sysdeps/unix/sysv/linux/arm: Move directory from
32332         ports/sysdeps/unix/sysv/linux/arm.
32333         * README: Update listing for arm-*-linux-gnueabi.
32335         * README: Remove mention of am33.
32337 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32339         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32340         than the comma operator, to avoid "rhs of comma has no effect"
32341         compiler warnings.
32342         (__sigfillset, __sigandset, __sigorset): Likewise.
32343         * include/signal.h (__sigemptyset): Likewise.
32344         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32346 2014-02-07  Allan McRae  <allan@archlinux.org>
32348         * version.h (RELEASE): Set to "development".
32349         (VERSION): Set to "2.19.90"
32350         * NEWS: Add 2.20 section.
32352 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32354         [BZ #16529]
32355         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32357 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32359         * manual/contrib.texi: Update entry for Carlos O'Donell,
32360         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32362 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32364         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32366         * sysdeps/unix/sysv/linux/kernel-features.h
32367         [__LINUX_KERNEL_VERSION >= 0x020621]
32368         (__ASSUME_PROC_PID_TASK_COMM): Define.
32370 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32372         [BZ #16398]
32373         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32374         conversion when destination buffer does not have enough space.
32375         * libio/tst-ftell-partial-wide.c: New test case.
32376         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32378         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32379         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32380         Leonard and Allan McRae.
32382 2014-02-04  David S. Miller  <davem@davemloft.net>
32384         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32385         32-bit.
32387 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32390         New file
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32392         New file
32393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32394         New file.
32395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32396         New file.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32398         New file.
32399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32400         New file.
32401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32402         New file.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32404         New file.
32405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32406         New file.
32407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32408         New file.
32409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32410         New file.
32411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32412         New file.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32414         New file.
32416 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32418         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32419         * shlib-versions: Likewise.
32421 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32422             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32424         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32425         (abilist-pattern): New variable, set to %-le.abilist.
32427         * Makerules (abilist-pattern): New variable.
32428         (vpath): Use $(abilist-pattern) in place of %.abilist.
32429         (check-abi-% pattern rule): Likewise.
32430         (check-abi, update-abi): Likewise.
32432 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32436 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32438         * manual/startup.texi: Add next, previous, and top entries for
32439         the `Program Arguments' and `Environment Variables' nodes.
32441 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32443         * manual/macros.texi: Add comments before MTASC-safety macros.
32445         * manual/users.texi: Document MTASC-safety properties.
32447         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32448         (pthread_getspecific, pthread_setspecific): Format with
32449         @deftypefun, and add @safety note.
32450         * manual/signal.texi: Move comments that analyze the above
32451         functions to their home place.
32453 2014-02-03  Allan McRae  <allan@archlinux.org>
32455         * po/sl.po: Update Slovenian translation from translation project.
32457 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32459         * manual/time.texi (timegm): Add missing blank after @c.
32460         Reported by Joseph Myers <joseph@codesourcery.com>.
32462 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32464         * manual/check-safety.sh: New.
32465         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32467         * manual/terminal.texi: Document MTASC-safety properties.
32469         * manual/filesys.texi: Document MTASC-safety properties.
32471         * manual/errno.texi: Document MTASC-safety properties.
32473         * manual/intro.texi: Document safety identifiers and
32474         conditionals.
32476         * manual/string.texi (wcstok): Fix prototype.
32477         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32479         * manual/time.texi: Document MTASC-safety properties.
32481         * manual/string.texi: Document MTASC-safety properties.
32483         * manual/threads.texi: Document MTASC-safety properties.
32485         * manual/stdio.texi: Document MTASC-safety properties.
32487         * manual/syslog.texi: Document MTASC-safety properties.
32489         * manual/sysinfo.texi: Document MTASC-safety properties.
32491         * manual/startup.texi: Document MTASC-safety properties.
32493         * manual/socket.texi: Document MTASC-safety properties.
32495         * manual/signal.texi: Document MTASC-safety properties.
32497 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32499         * manual/setjmp.texi: Document MTASC-safety properties.
32501         * manual/search.texi: Document MTASC-safety properties.
32503         * manual/resource.texi: Document MTASC-safety properties.
32505         * manual/process.texi: Document MTASC-safety properties.
32507         * manual/platform.texi: Document MTASC-safety properties.
32509         * manual/pipe.texi: Document MTASC-safety properties.
32511         * manual/pattern.texi: Document MTASC-safety properties.
32513         * manual/message.texi: Document MTASC-safety properties.
32515         [BZ #12751]
32516         * manual/memory.texi: Document MTASC-safety properties.
32518         * manual/math.texi: Document MTASC-safety properties.
32520         * manual/locale.texi: Document MTASC-safety properties.
32522         * manual/llio.texi: Document MTASC-safety properties.
32524         * manual/libdl.texi: New.
32526         * manual/lang.texi: Document MTASC-safety properties.
32528         * manual/job.texi: Document MTASC-safety properties.
32530         * manual/getopt.texi: Document MTASC-safety properties.
32532         * manual/ctype.texi: Document MTASC-safety properties.
32534 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
32536         [BZ #16046]
32537         * csu/libc-tls.c (static_map): Remove variable.
32538         (__libc_setup_tls): Use main executable's link map for TLS data.
32539         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
32540         casing for LM_ID_BASE and GL(dl_nns).
32541         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
32542         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
32543         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
32544         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32545         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
32546         member.
32547         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
32548         l_phnum members.
32550 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
32552         * manual/debug.texi: Document MTASC-safety properties.
32554 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
32556         [BZ #16510]
32557         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
32558         of __x86_64__ when disabling x87 inline functions.
32560 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
32562         * manual/charset.texi: Document MTASC-safety properties.
32564         * manual/crypt.texi: Document MTASC-safety properties.
32566         * manual/conf.texi: Document MTASC-safety properties.
32568         * manual/arith.texi: Document MTASC-safety properties.
32570         * manual/argp.texi: Document MTASC-safety properties.
32572         * manual/macros.texi: Introduce macros to document multi
32573         thread, asynchronous signal and asynchronous cancellation
32574         safety properties.
32575         * manual/intro.texi: Introduce the properties themselves.
32577 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32579         * sysdeps/sh/sh4/Makefile: New file.
32581 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
32583         * math/gen-libm-test.pl ($srcdir): New variable.
32584         ($auto_input): Use it.
32586 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32588         [BZ #16506]
32589         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
32590         access beyond array bounds when parsing netgroups file.
32592         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
32593         the old buffer before realloc.
32595 2014-01-27  Allan McRae  <allan@archlinux.org>
32597         * po/fr.po: Update French translation from translation project.
32599 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32601         * sysdeps/sh/libm-test-ulps: Regenerate.
32603 2014-01-24  David S. Miller  <davem@davemloft.net>
32605         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
32607 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32609         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
32610         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
32612 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32614         [BZ #16474]
32615         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
32616         string pointers after reallocation.
32618 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32620         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
32621         __SH4A__ instead of __SH_FPU_ANY__.
32623 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32625         * sysdeps/sh/fpu_control.h: New file.
32626         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
32627         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
32628         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
32629         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
32630         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
32631         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
32632         * sysdeps/sh/sys/ucontext.h: Remove.
32633         * sysdeps/sh/sys: Remove directory.
32635 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32637         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
32638         s390/sys/ucontext.h.
32639         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
32640         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
32642 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
32644         [BZ #15605]
32645         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
32647 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32649         [BZ#16431]
32650         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32651         Adjust the vDSO correctly for internal calls.
32652         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
32654 2014-01-20  Allan McRae  <allan@archlinux.org>
32656         * po/ca.po: Update Catalan translation from translation project.
32658 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
32660         * sysdeps/s390/sotruss-lib.c: New file.
32662 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32664         [BZ#16430]
32665         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
32666         (__GI___gettimeofday): Alias for a different internal symbol to avoid
32667         local calls issues by not having a PLT stub required for IFUNC calls.
32668         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
32670 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
32672         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
32673         * math/test-fpucw-static.c: Likewise.
32675 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32677         [BZ #16453]
32678         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
32680 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32682         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
32683         implementation for powerpc.
32685 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
32687         [BZ #14782]
32688         * sysdeps/posix/system.c (__libc_system): Do not enable
32689         asynchronous cancellation.
32691 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32693         [BZ #16427]
32694         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
32695         handling only for numbers special also in the IEEE case.
32697 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32699         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32701 2014-01-11  Allan McRae  <allan@archlinux.org>
32703         * po/bg.po: Update Bulgarian translation from translation project.
32705         * po/de.po: Update German translation from translation project.
32707 2014-01-10  Roland McGrath  <roland@hack.frob.com>
32709         * sysdeps/generic/gcc-compat.h: New file.
32711 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32713         * benchtests/asin-inputs: Correct slow inputs.
32714         * benchtests/acos-inputs: Likewise.
32716 2014-01-10  Allan McRae  <allan@archlinux.org>
32718         * po:sv.po: Update Swedish translation from translation project.
32720         * po/vi.po: Update Vietnamese translation from translation project.
32722         * po/eo.po: Update Esperanto translation from translation project.
32724         * po/cs.po: Update Czech translation from translation project.
32726         * po/nl.po: Update Dutch translation from translation project.
32728         * po/pl.po: Update Polish translation from translation project.
32730         * po/ru.po: Update Russian translation from translation project.
32732         * po/uk.po: Update Ukrainian translation from translation project.
32734 2014-01-08  Brooks Moses  <bmoses@google.com>
32736         * elf/dl-load.c: Fix comment typo.
32738 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
32740         * po/header.pot: Rename to...
32741         * po/pot.header: ... this.
32742         * po/Makefile: Use pot.header.
32744 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
32745             Maxim Kuvyrkov  <maxim@kugelworks.com>
32747         [BZ #16394]
32748         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
32749         SRC and DEST against LEN.
32751 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32753         [BZ #16414]
32754         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
32755         implementation.
32756         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
32758 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32762 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
32764         [BZ #16408]
32765         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
32766         for large positive arguments.
32768 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
32770         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32772         * math/auto-libm-test-in: Mark various tests with
32773         xfail-rounding:ldbl-128ibm.
32774         * math/auto-libm-test-out: Regenerated.
32776         [BZ #16407]
32777         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32778         Increase overflow threshold.
32780 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
32782         [BZ #14286]
32783         * stdio-common/vfprintf.c: Check for integer overflow.
32785 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32787         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
32788         the first argument and return value of __tls_get_addr_internal.
32790 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32792         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
32793         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
32795 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32797         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
32798         * sysdeps/s390/rtld-global-offsets.sym: New file.
32799         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
32800         GLIBC_2.19 symbol.
32801         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
32802         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
32803         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32804         ... this.
32805         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
32806         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32807         ... this.
32808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32809         Regenerate.
32810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32811         Regenerate.
32812         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
32813         halfs of GPRs for high_gprs contexts.
32814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
32815         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
32816         field.
32817         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
32818         uc_flags field.
32819         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
32820         64 bit versions:
32821         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
32822         for high GPRs (uc_high_gprs) and for future extensions
32823         (__reserved).
32824         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
32825         for future extensions (__reserved).
32826         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
32827         64 bit versions:
32828         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
32829         SC_HIGHGPRS offset definition.
32830         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
32831         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
32833         * Versions.def: Add GLIBC_2.19 for libpthread.
32834         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
32835         siglongjmp for libpthread with GLIBC_2.19 symver.
32836         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
32837         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
32838         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
32839         * sysdeps/s390/__longjmp.c: New file.
32840         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
32841         * sysdeps/s390/longjmp.c: New file.
32842         * sysdeps/s390/setjmp.S: New file.
32843         * sysdeps/s390/sigjmp.S: New file.
32844         * sysdeps/s390/v1-longjmp.c: New file.
32845         * sysdeps/s390/v1-setjmp.h: New file.
32846         * sysdeps/s390/v1-sigjmp.c: New file.
32847         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
32848         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
32849         GLIBC_2.19 version.
32850         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
32851         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
32852         versioned symbols for ____longjmp_chk.
32853         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32854         Likewise.
32855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32856         Regenerate.
32857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32858         Regenerate.
32859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32860         Regenerate.
32861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32862         Regenerate.
32863         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
32864         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
32865         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
32866         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
32867         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
32868         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
32869         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
32870         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
32871         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
32872         * sysdeps/s390/rtld-__longjmp.c: New file.
32873         * sysdeps/s390/rtld-setjmp.S: New file.
32875 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
32877         [BZ #16400]
32878         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32879         Return -__logl (x) for small positive arguments without evaluating
32880         a polynomial.
32882 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
32884         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
32885         Rename to ...
32886         (__ptrace_peeksiginfo_args): ... this.
32887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32888         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32889         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32891 2014-01-06  Allan McRae  <allan@archlinux.org>
32893         * inet/netinet/in.h: Fix typo in comment.
32895 2014-01-05  Andreas Jaeger  <aj@suse.de>
32897         * sysdeps/i386/fpu/libm-test-ulps: Update.
32899 2014-01-05  Allan McRae  <allan@archlinux.org>
32901         * po/libc.pot: Regenerated.
32903         * malloc/memusagestat.c: Fix gettext call formatting.
32905 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
32907         * nscd/nscd.c: Improve usage() output.
32909 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
32911         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
32912         * sysdeps/unix/sysv/linux/configure: Regenerated.
32913         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
32914         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
32916 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32918         [BZ #16390]
32919         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32920         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
32922 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32924         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
32925         extra tokens at end of #undef directive.
32926         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
32927         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
32928         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32930 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
32932         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32934         * math/auto-libm-test-in: Mark various tests with
32935         xfail-rounding:ldbl-128ibm.
32936         * math/auto-libm-test-out: Regenerated.
32938 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32940         [BZ #16386]
32941         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32942         numbers with subnormal high part when calculating exponent.
32944         [BZ #16385]
32945         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32946         fabs.
32948         [BZ #16384]
32949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32950         M_LN2l.
32951         (__ieee754_acoshl): Use __log1pl not __log1p.
32953 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32955         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32956         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32957         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32958         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32959         (reused_arena, arena_get2): Convert to GNU style.
32960         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32961         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32962         (memalign_check, __malloc_set_state): Likewise.
32963         * malloc/mallocbug.c (main): Likewise.
32964         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32965         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32966         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32967         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32968         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32969         (__posix_memalign, malloc_info): Likewise.
32970         * malloc/malloc.h: Likewise.
32971         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32972         (mallochook, memalignhook, reallochook, mabort): Likewise.
32973         * malloc/mcheck.h: Likewise.
32974         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32975         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32976         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32977         * malloc/morecore.c (__default_morecore): Likewise.
32978         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32979         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32980         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32981         (print_and_abort): Likewise.
32982         * malloc/obstack.h: Likewise.
32983         * malloc/set-freeres.c (__libc_freeres): Likewise.
32984         * malloc/tst-mallocstate.c (main): Likewise.
32985         * malloc/tst-mtrace.c (main): Likewise.
32986         * malloc/tst-realloc.c (do_test): Likewise.
32988 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32990         [BZ #16366]
32991         * nscd/netgroupcache.c (do_notfound): New function.
32992         (addgetnetgrentX): Use it.
32994         [BZ # 16365]
32995         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32996         NSS_STATUS_NOTFOUND.
32998 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33000         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33003 2014-01-01  Allan McRae  <allan@archlinux.org>
33005         * scripts/update-copyrights: Update configure input file suffix.
33007         * NEWS: Update copyright year.
33008         * catgets/gencat.c: Likewise.
33009         * csu/version.c: Likewise.
33010         * debug/catchsegv.sh: Likewise.
33011         * debug/pcprofiledump.c: Likewise.
33012         * debug/xtrace.sh: Likewise.
33013         * elf/ldconfig.c: Likewise.
33014         * elf/ldd.bash.in: Likewise.
33015         * elf/pldd.c: Likewise.
33016         * elf/sotruss.ksh: Likewise.
33017         * elf/sprof.c: Likewise.
33018         * iconv/iconv_prog.c: Likewise.
33019         * iconv/iconvconfig.c: Likewise.
33020         * locale/programs/locale.c: Likewise.
33021         * locale/programs/localedef.c: Likewise.
33022         * login/programs/pt_chown.c: Likewise.
33023         * malloc/memusage.sh: Likewise.
33024         * malloc/memusagestat.c: Likewise.
33025         * malloc/mtrace.pl: Likewise.
33026         * manual/libc.texinfo: Likewise.
33027         * nscd/nscd.c: Likewise.
33028         * nss/getent.c: Likewise.
33029         * nss/makedb.c: Likewise.
33030         * posix/getconf.c: Likewise.
33031         * scripts/test-installation.pl: Likewise.
33033         * All files with FSF copyright notices: Update copyright dates
33034         using scripts/update-copyrights.
33035         * intl/plural.c: Regenerated.
33036         * locale/programs/charmap-kw.h: Likewise.
33037         * locale/programs/locfile-kw.h: Likewise.
33039 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33041         * sysdeps/unix/sysv/linux/configure: Regenerated.
33042         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33043         the linux/fanotify.h header.
33044         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33045         HAVE_LINUX_FANOTIFY_H is defined.
33047 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33049         * benchtests/cos-inputs: New inputs.
33050         * benchtests/sin-inputs: Likewise.
33052         * benchtests/atan-inputs: New inputs. Fix name of multiple
33053         precision fallback inputs.
33055         * benchtests/atanh-inputs: New inputs.
33056         * benchtests/tanh-inputs: Likewise.
33058         * benchtests/acosh-inputs: New inputs.
33059         * benchtests/asinh-inputs: Likewise.
33061         * benchtests/cosh-inputs: New inputs.
33062         * benchtests/sinh-inputs: Likewise.
33064         * benchtests/acos-inputs: Add more inputs.
33065         * benchtests/asin-inputs: Likewise.
33067 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33069         [BZ #16375]
33070         * manual/arith.texi: Fix spelling.
33071         * manual/charset.texi: Likewise.
33072         * manual/errno.texi: Likewise.
33073         * manual/filesys.texi: Likewise.
33074         * manual/lang.texi: Likewise.
33075         * manual/llio.texi: Likewise.
33076         * manual/locale.texi: Likewise.
33077         * manual/message.texi: Likewise.
33078         * manual/resource.texi: Likewise.
33079         * manual/search.texi: Likewise.
33080         * manual/setjmp.texi: Likewise.
33081         * manual/stdio.texi: Likewise.
33082         * manual/string.texi: Likewise.
33083         * manual/sysinfo.texi: Likewise.
33084         * manual/time.texi: Likewise.
33086 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33088         * po/sl.po: New file.
33090 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33092         * .gitignore: Add core/.gdbinit/.gdb_history.
33094 2013-12-27  Allan McRae  <allan@archlinux.org>
33096         [BZ #16369]
33097         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33098         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33100 2013-12-24  Brooks Moses  <bmoses@google.com>
33102         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33103         all compilers that claim C++98 compliance, not just GCC.
33104         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33105         Likewise.
33107 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33109         * NEWS: Restore accidentally deleted bug-fix entries.
33111 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33112             Ondřej Bílka  <neleai@seznam.cz>
33114         [BZ #15073]
33115         * malloc/malloc.c (_int_free): Perform sanity check only if we
33116         have_lock.
33118 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33120         [BZ #12986]
33121         * manual/stdio.texi (String Input Conversions): Clarify that character
33122         classes are not supported.
33124 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33128 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33130         [BZ #16337]
33131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33132         Calculate results for small negative arguments directly rather
33133         than using reflection formula with special underflow handling.
33135         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33136         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33137         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33138         (fchflags): Likewise.
33139         (revoke): Likewise.
33140         (setlogin): Likewise.
33141         (sigaltstack): Likewise.
33142         (wait4): Likewise.
33143         (sigblock): Remove.
33144         (sigsetmask): Likewise.
33145         (wait3): Likewise.
33146         (waitpid): Likewise.
33147         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33148         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33149         file.
33150         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33151         * sysdeps/unix/bsd/Makefile: ... here.
33152         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33153         * sysdeps/unix/bsd/Versions: ... here.
33154         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33155         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33156         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33157         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33158         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33159         * sysdeps/unix/bsd/sigblock.c: ... here.
33160         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33161         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33162         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33163         * sysdeps/unix/bsd/sigvec.c: ... here.
33164         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33165         * sysdeps/unix/bsd/tcdrain.c: ... here.
33166         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33167         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33168         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33169         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33170         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33171         * sysdeps/unix/bsd/wait.c: ... here.
33172         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33173         * sysdeps/unix/bsd/wait3.c: ... here.
33174         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33175         * sysdeps/unix/bsd/waitpid.c: ... here.
33177 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33179         [BZ #16356]
33180         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33181         round-to-nearest for [!USE_AS_EXPM1L].
33182         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33183         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33184         more tests of exp and exp10.  Expect some exp10 tests to miss
33185         exceptions or fail in directed rounding modes.
33186         * math/auto-libm-test-out: Regenerated.
33187         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33188         (exp10_test_tonearest): New function.
33189         (exp10_towardzero_test_data): New array.
33190         (exp10_test_towardzero): New function.
33191         (exp10_downward_test_data): New array.
33192         (exp10_test_downward): New function.
33193         (exp10_upward_test_data): New array.
33194         (exp10_test_upward): New function.
33195         (main): Call the new functions.
33196         * sysdeps/i386/fpu/libm-test-ulps: Update.
33197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33199 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33201         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33202         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33203         * math/auto-libm-test-out: Regenerated.
33204         * math/libm-test.inc (acosh_test_data): Add more tests.
33205         (atanh_test_data): Likewise.
33206         (ceil_test_data): Likewise.
33207         (copysign_test_data): Likewise.
33208         * sysdeps/i386/fpu/libm-test-ulps: Update.
33209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33211         * timezone/checktab.awk: Update from tzcode 2013i.
33212         * timezone/private.h: Likewise.
33213         * timezone/scheck.c: Likewise.
33214         * timezone/tzfile.h: Likewise.
33215         * timezone/tzselect.ksh: Likewise.
33216         * timezone/zdump.c: Likewise.
33217         * timezone/zic.c: Likewise.
33219         * math/auto-libm-test-in: Add tests of cpow.
33220         * math/auto-libm-test-out: Regenerated.
33221         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33222         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33223         mpc_cc_c.
33224         (func_calc_desc): Add mpc_cc_c union field.
33225         (test_functions): Add cpow.
33226         (special_fill_2pi): New function.
33227         (special_real_inputs): Add 2pi.
33228         (calc_generic_results): Handle mpc_cc_c.
33229         * sysdeps/i386/fpu/libm-test-ulps: Update.
33230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33232         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33233         csqrt, ctan and ctanh.
33234         * math/auto-libm-test-out: Regenerated.
33235         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33236         (TEST_COND_x86): Likewise.
33237         (ccos_test_data): Use AUTO_TESTS_c_c.
33238         (ccosh_test_data): Likewise.
33239         (cexp_test_data): Likewise.
33240         (clog_test_data): Likewise.
33241         (csqrt_test_data): Likewise.
33242         (ctan_test_data): Likewise.
33243         (ctan_tonearest_test_data): Likewise.
33244         (ctan_towardzero_test_data): Likewise.
33245         (ctan_downward_test_data): Likewise.
33246         (ctan_upward_test_data): Likewise.
33247         (ctanh_test_data): Likewise.
33248         (ctanh_tonearest_test_data): Likewise.
33249         (ctanh_towardzero_test_data): Likewise.
33250         (ctanh_downward_test_data): Likewise.
33251         (ctanh_upward_test_data): Likewise.
33252         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33253         mpc_c_c.
33254         (func_calc_desc): Add mpc_c_c union field.
33255         (FUNC_mpc_c_c): New macro.
33256         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33257         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33258         ctanh.
33259         (special_fill_min_subnorm_p120): New function.
33260         (special_real_inputs): Add min_subnorm_p120.
33261         (calc_generic_results): Handle mpc_c_c.
33262         * sysdeps/i386/fpu/libm-test-ulps: Update.
33263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33265 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33267         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33268         (do_sin_slow): New functions.
33269         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33270         (cslow2, csloww1, csloww2): Use the new functions.
33272         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33273         Use M to change sign of result instead of X.  Assume X is
33274         positive.
33275         (csloww1): Likewise.
33276         (__sin): Adjust.
33277         (__cos): Adjust.
33279         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33280         arguments A and DA.
33281         (__sin): Adjust.
33282         (__cos): Likewise.
33284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33285         (__cos): Likewise.
33286         (sloww1): Don't adjust sign of DX.
33287         (csloww1): Likewise.
33288         (sloww2): Use X directly and don't adjust sign of DX.
33289         (csloww2): Likewise.
33291 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33293         * math/auto-libm-test-in: Add tests of cabs and carg.
33294         * math/auto-libm-test-out: Regenerated.
33295         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33296         (carg_test_data): Likewise.
33297         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33298         mpc_c_f.
33299         (func_calc_desc): Add mpc_c_f union field.
33300         (test_functions): Add cabs and carg.
33301         (calc_generic_results): Handle mpc_c_f.
33303         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33304         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33305         as a macro and a compat symbol.
33306         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33307         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33308         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33309         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33310         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33311         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33312         not use .hidden.
33313         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33314         Likewise.
33315         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33316         Likewise.
33317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33318         Likewise.
33319         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33320         Likewise.
33321         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33322         Likewise.
33323         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33324         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33325         from GLIBC_2.3.2.
33327 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33331 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33333         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33334         trailing whitespace removed.
33335         * scripts/config.guess: Update to version 2013-11-29.
33336         * scripts/config.sub: Update to version 2013-10-01.
33338         * math/auto-libm-test-in: Add tests of sincos.
33339         * math/auto-libm-test-out: Regenerated.
33340         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33342         mpfr_f_11.
33343         (func_calc_desc): Add mpfr_f_11 union field.
33344         (test_functions): Add sincos.
33345         (calc_generic_results): Handle mpfr_f_11.
33346         * sysdeps/i386/fpu/libm-test-ulps: Update.
33347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33349 2013-12-19  Andreas Schwab  <schwab@suse.de>
33351         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33352         CALL_MCOUNT.
33353         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33354         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33355         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33357 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33359         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33360         * sysdeps/i386/fpu/libm-test-ulps: Update.
33361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33363         [BZ #16293]
33364         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33365         round-to-nearest mode when using frndint.
33366         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33367         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33369         Likewise.
33370         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33371         sinh test to fail.
33372         * math/auto-libm-test-out: Regenerated.
33373         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33374         (TEST_COND_x86): Likewise.
33375         (expm1_tonearest_test_data): New array.
33376         (expm1_test_tonearest): New function.
33377         (expm1_towardzero_test_data): New array.
33378         (expm1_test_towardzero): New function.
33379         (expm1_downward_test_data): New array.
33380         (expm1_test_downward): New function.
33381         (expm1_upward_test_data): New array.
33382         (expm1_test_upward): New function.
33383         (main): Run the new test functions.
33384         * sysdeps/i386/fpu/libm-test-ulps: Update.
33385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33387         * include/features.h: Update comment documenting feature test
33388         macros.  Mention _DEFAULT_SOURCE in comment.
33389         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33390         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33391         _BSD_SOURCE and _SVID_SOURCE.
33392         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33393         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33394         !_SVID_SOURCE]: Likewise.
33395         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33396         (__USE_POSIX_IMPLICITLY): Define.
33397         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33398         (_POSIX_SOURCE): Undefine and redefine.
33399         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33400         (_POSIX_C_SOURCE): Likewise.
33401         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33402         (Feature Test Macros): Update documentation of default features.
33404 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33406         * benchtests/Makefile: Add bench-strtok.
33407         * benchtests/bench-strtok.c: New file: strtok benchtest.
33409 2013-12-19  Allan McRae  <allan@archlinux.org>
33411         * manual/install.texi: Suppress menu for plain text output.
33412         * INSTALL: Regenerated.
33414 2013-12-18  Brooks Moses  <bmoses@google.com>
33416         [BZ #15846]
33417         * misc/getauxval.c: Include errno.h.
33418         (__getauxval): Set errno to ENOENT if the requested type is not
33419         found.
33420         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33421         don't declare with __attribute_const__.
33422         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33423         * manual/startup.texi: Document that getauxval sets errno.
33425 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33427         * math/auto-libm-test-in: Add tests of jn and yn.
33428         * math/auto-libm-test-out: Regenerated.
33429         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33430         (yn_test_data): Likewise.
33431         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33432         mpfr_if_f.
33433         (func_calc_desc): Add mpfr_if_f union field.
33434         (FUNC_mpfr_if_f): New macro.
33435         (test_functions): Add jn and yn.
33436         (calc_generic_results): Assert type of second input for
33437         mpfr_ff_f.  Handle mpfr_if_f.
33438         (output_for_one_input_case): Disable all checking for arguments
33439         fitting floating-point types in case of an integer argument.
33440         * sysdeps/i386/fpu/libm-test-ulps: Update.
33441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33444         Don't expect fegetround reference in libm.so.
33446 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33448         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33449         $(config-cflags-nofma).
33451 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33453         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33454         * math/auto-libm-test-out: Regenerated.
33456         [BZ #16338]
33457         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33458         to determine exponent and adjust argument to have exponent of -1.
33459         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33460         log2.
33461         * math/auto-libm-test-out: Regenerated.
33462         * sysdeps/i386/fpu/libm-test-ulps: Update.
33463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33465 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33467         * manual/probes.texi: Remove cases when per-thread arenas are
33468         disabled.
33470 2013-12-18  Andreas Schwab  <schwab@suse.de>
33472         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33473         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33474         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33475         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33476         * sysdeps/i386/i686/multiarch/Makefile: Update.
33477         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33479 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33481         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33482         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33484 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33486         [BZ #15968]
33487         Support TZ transition times < 00:00:00.
33488         This is needed for version-3 tz-format files; it supports time
33489         stamps past 2037 for America/Godthab (the only entry in the tz
33490         database for which this change is relevant).
33491         * manual/time.texi (TZ Variable): Document transition times
33492         from -167:59:59 through -00:00:01.
33493         * time/tzset.c (tz_rule): Time of day is now signed.
33494         (__tzset_parse_tz): Parse negative time of day.
33496         Document TZ transition times >= 25:00:00.
33497         * manual/time.texi (TZ Variable): Document transition times from
33498         25:00:00 through 167:59:59.  These are already supported, and this
33499         support will help with version-3 tz-format files.
33501         * manual/time.texi (TZ Variable): Modernize North America example
33502         to reflect current (i.e., 2007-and-later) daylight saving rules.
33504         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
33506 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33508         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
33509         * sysdeps/unix/bsd/bits/stat.h: Likewise.
33510         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
33511         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33512         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
33513         * sysdeps/unix/bsd/bsdstat.h: Likewise.
33514         * sysdeps/unix/bsd/clock.c: Likewise.
33515         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
33516         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
33517         * sysdeps/unix/bsd/init-posix.c: Likewise.
33518         * sysdeps/unix/bsd/poll.c: Likewise.
33519         * sysdeps/unix/bsd/ptsname.c: Likewise.
33520         * sysdeps/unix/bsd/seekdir.c: Likewise.
33521         * sysdeps/unix/bsd/setegid.c: Likewise.
33522         * sysdeps/unix/bsd/seteuid.c: Likewise.
33523         * sysdeps/unix/bsd/setgid.c: Likewise.
33524         * sysdeps/unix/bsd/setrgid.c: Likewise.
33525         * sysdeps/unix/bsd/setruid.c: Likewise.
33526         * sysdeps/unix/bsd/setsid.c: Likewise.
33527         * sysdeps/unix/bsd/setuid.c: Likewise.
33528         * sysdeps/unix/bsd/sigaction.c: Likewise.
33529         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
33530         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
33531         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
33532         * sysdeps/unix/bsd/telldir.c: Likewise.
33533         * sysdeps/unix/bsd/times.c: Likewise.
33534         * sysdeps/unix/bsd/usleep.c: Likewise.
33536         * misc/Makefile (install-lib): Remove libbsd-compat.a.
33537         ($(objpfx)libbsd-compat.a): Remove rule.
33539         * include/features.h (__FAVOR_BSD): Do not define.
33540         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
33541         features conflicting with POSIX.
33542         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
33543         (_BSD_SOURCE): Remove description of not being a subset of other
33544         feature test macros.
33545         * manual/job.texi (getpgrp): Do not document BSD version.
33546         (getpgid): Do not document by reference to BSD getpgrp.
33547         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
33548         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
33549         * signal/signal.h [__FAVOR_BSD]: Likewise.
33550         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
33551         instead of making contents conditional on [__FAVOR_BSD].
33552         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
33554 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33558 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33560         [BZ #16314]
33561         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
33562         values below 2**-450, not 2**-500.
33563         * math/auto-libm-test-in: Don't allow spurious underflow from
33564         hypot.
33565         * math/auto-libm-test-out: Regenerated.
33567         [BZ #16316]
33568         [BZ #16330]
33569         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
33570         values of ha and hb and sort them after adjusting subnormal
33571         arguments.
33572         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
33573         Likewise.
33574         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
33575         values of ea and eb and sort them after adjusting subnormal
33576         arguments.
33577         * math/auto-libm-test-in: Do not expect some hypot tests of
33578         subnormals to fail.  Add more hypot tests.
33579         * math/auto-libm-test-out: Regenerated.
33581 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33583         [BZ #13304]
33584         * sysdeps/sh/s_fma.c: New file.
33585         * sysdeps/sh/s_fmaf.c: New file.
33586         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
33587         version.
33588         * sysdeps/sh/Implies: Add sh/soft-fp.
33590 2013-12-16  Roland McGrath  <roland@hack.frob.com>
33592         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
33593         level of indirection to members `objname', `errstring', `malloced'.
33594         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
33595         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
33596         it as the __longjmp argument (just pass 1 instead).
33597         (_dl_catch_error): Initialize C with argument pointers and address of
33598         volatile local ERRCODE rather than copying values out of C at return.
33600 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
33602         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
33603         * math/auto-libm-test-out: Regenerated.
33604         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
33605         (hypot_test_data): Likewise.
33606         (pow_test_data): Likewise.
33607         (pow_tonearest_test_data): Likewise.
33608         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33609         mpfr_ff_f.
33610         (func_calc_desc): Add mpfr_ff_f union field.
33611         (FUNC_mpfr_ff_f): New macro.
33612         (test_functions): Add atan2, hypot and pow.
33613         (special_fill_min): New function.
33614         (special_fill_minus_min): Likewise.
33615         (special_fill_min_subnorm): Likewise.
33616         (special_fill_minus_min_subnorm): Likewise.
33617         (special_real_inputs): Add min, -min, min_subnorm and
33618         -min_subnorm.
33619         (calc_generic_results): Handle mpfr_ff_f.
33620         * sysdeps/i386/fpu/libm-test-ulps: Update.
33621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623 2013-12-16  Will Newton  <will.newton@linaro.org>
33625         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
33626         (Aligned Memory Blocks): Add documentation for aligned_alloc
33627         and suggest it as an alternative to posix_memalign.
33628         (Hooks for Malloc): Document __memalign_hook is also called
33629         for aligned_alloc.  (Summary of Malloc): Add summary for
33630         aligned alloc.  Document __memalign_hook is also called
33631         for aligned_alloc.
33633 2013-12-16  Will Newton  <will.newton@linaro.org>
33635         * manual/memory.texi (Malloc Examples): Clarify default
33636         alignment documentation.  Suggest posix_memalign rather
33637         than memalign or valloc.
33638         (Aligned Memory Blocks): Remove suggestion to use memalign
33639         or valloc.  Remove obsolete comment about BSD.
33640         Document memalign errno values and mark the function obsolete.
33641         Document posix_memalign returned error codes.  Mark valloc
33642         as obsolete.  (Hooks for Malloc): __memalign_hook is also
33643         called for posix_memalign and valloc.
33644         (Summary of Malloc): Add posix_memalign to function summary.
33645         __memalign_hook is also called for posix_memalign and valloc.
33647 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33649         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
33650         TAYLOR_SIN.
33651         (__sin): Adjust.
33652         (__cos): Likewise.
33653         (sloww): Use mynumber union.  Expand ternary operator into
33654         if-else statements.
33655         (cslow): use mynumber union.
33657 2013-12-16  Allan McRae  <allan@archlinux.org>
33659         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
33660         * configure: Regenerated.
33662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
33664         [BZ #14120]
33665         * configure.ac: Added --enable-maintainer-mode. Check for
33666         autoconf when enabled.
33667         * configure: Regenerated.
33669         * nscd/nscd.service: New file.
33670         * nscd/nscd.tmpfiles: New file.
33672 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
33674         [BZ #12100]
33675         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
33676         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
33677         * sysdeps/x86_64/multiarch/strstr.c: ... here.
33678         (strstr): Add __strstr_sse2_unaligned ifunc.
33679         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
33680         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
33681         (strcasestr): Remove __strcasestr_sse42 ifunc.
33682         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
33683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33686 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33688         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
33689         * sysdeps/sh/bits/fenv.h: ... here.
33690         * sysdeps/sh/sh4/fpu/bits: Remove directory.
33692 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33694         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
33696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
33697         hypotf multiarch implementations.
33698         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
33699         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
33700         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
33701         multiarch hypot for PPC64.
33702         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
33703         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
33704         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
33705         multiarch hypotf for PPC64.
33707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
33708         modff multiarch implementations.
33709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
33710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
33711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
33712         multiarch modf for PPC64.
33713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
33714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
33715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
33716         multiarch modff for PPC64.
33718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
33719         and logl multiarch implementations.
33720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
33721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
33722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
33723         multiarch logb for PPC64.
33724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
33725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
33726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
33727         multiarch logb for PPC64.
33728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
33729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
33730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
33731         multiarch logb for PPC64.
33733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
33734         isinff multiarch implementation.
33735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
33736         file.
33737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
33738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
33739         multiarch isinf for PPC64.
33740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
33741         file.
33742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
33743         multiarch isinff for PPC64.
33745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
33746         finitef multiarch implementation.
33747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
33748         file.
33749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
33750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
33751         multiarch finite for PPC64.
33752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
33753         file.
33754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
33755         multiarch finitef for PPC64.
33757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
33758         lrint multiarch implementation.
33759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
33760         file.
33761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
33762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
33763         multiarch llrint for PPC64.
33764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
33765         multiarch lrint for PPC64.
33767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
33768         copysignf multiarch implementation.
33769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
33770         file.
33771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
33772         file.
33773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
33774         multiarch copysign for PPC64.
33775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
33776         multiarch copysignf for PPC64.
33778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
33779         multiarch implementation.
33780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
33781         file.
33782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
33783         file.
33784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
33785         file.
33786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
33787         file.
33788         multiarch llround for PPC64.
33789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
33790         multiarch trunc for PPC64.
33791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
33792         multiarch truncf for PPC64.
33794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
33795         multiarch implementation.
33796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
33797         file.
33798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
33799         file.
33800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
33801         file.
33802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
33803         file.
33804         multiarch llround for PPC64.
33805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
33806         multiarch round for PPC64.
33807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
33808         multiarch roundf for PPC64.
33810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
33811         multiarch implementation.
33812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
33813         file.
33814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
33815         file.
33816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
33817         file.
33818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
33819         file.
33820         multiarch llround for PPC64.
33821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
33822         multiarch floor for PPC64.
33823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
33824         multiarch floorf for PPC64.
33826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
33827         multiarch implementation.
33828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
33829         file.
33830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
33831         file.
33832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
33833         file.
33834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
33835         file.
33836         multiarch llround for PPC64.
33837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
33838         multiarch ceil for PPC64.
33839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
33840         multiarch ceilf for PPC64.
33842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33843         multiarch implementation.
33844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
33845         file.
33846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
33847         file.
33848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
33849         file.
33850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
33851         multiarch llround for PPC64.
33852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
33853         multiarch lround for PPC64.
33855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33856         multiarch implementation.
33857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
33858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
33859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
33860         file.
33861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
33862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
33863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
33864         multiarch isnan for PPC64.
33865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
33866         multiarch isnanf for PPC64.
33868         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
33869         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
33870         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
33871         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
33872         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
33873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
33875         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
33876         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33877         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33878         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
33881         multiarch implementations.
33882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33883         (__libc_ifunc_impl_list): Likewise.
33884         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33885         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
33886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
33887         multiarch stpcpy for PPC64.
33889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
33890         multiarch implementations.
33891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33892         (__libc_ifunc_impl_list): Likewise.
33893         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
33894         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
33895         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
33896         multiarch strcpy for PPC64.
33898         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
33899         redefine function name.
33900         (_wordcopy_fwd_dest_aligned): Likewise.
33901         (_wordcopy_bwd_aligned): Likewise.
33902         (_wordcopy_bwd_dest_aligned): Likewise.
33903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
33904         multiarch implementations.
33905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33906         (__libc_ifunc_impl_list): Likewise.
33907         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
33908         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
33909         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
33910         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
33911         multiarch wcscpy for PPC64.
33913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
33914         multiarch implementations.
33915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33916         (__libc_ifunc_impl_list): Likewise.
33917         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
33918         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
33919         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
33920         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
33921         multiarch wcscpy for PPC64.
33923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
33924         multiarch implementations.
33925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33926         (__libc_ifunc_impl_list): Likewise.
33927         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
33928         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
33929         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
33930         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
33931         multiarch wcsrchr for PPC64.
33933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
33934         multiarch implementations.
33935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33936         (__libc_ifunc_impl_list): Likewise.
33937         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33938         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33939         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33940         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33941         multiarch wcschr for PPC64.
33943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33944         multiarch implementations.
33945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33946         (__libc_ifunc_impl_list): Likewise.
33947         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33948         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33949         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33950         multiarch strchrnul for PPC64.
33952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33953         implementations.
33954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33955         (__libc_ifunc_impl_list): Likewise.
33956         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33957         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33958         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33959         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33960         strchr for PPC64.
33962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33963         implementations.
33964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33965         (__libc_ifunc_impl_list): Likewise.
33966         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33967         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33968         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33969         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33970         strncmp for PPC64.
33972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33973         multiarch implementations.
33974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33975         (__libc_ifunc_impl_list): Likewise.
33976         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33977         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33978         strncasecmp for PPC64.
33979         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33980         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33981         multiarch strncasecmp_l for PPC64.
33983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33984         multiarch implementations.
33985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33986         (__libc_ifunc_impl_list): Likewise.
33987         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33988         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33989         multiarch strcasecmp for PPC64.
33990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33991         file.
33992         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33993         multiarch strcasecmp_l for PPC64.
33995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33996         implementations.
33997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33998         (__libc_ifunc_impl_list): Likewise.
33999         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34000         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34001         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34002         strnlen for PPC64.
34004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34005         implementations.
34006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34007         (__libc_ifunc_impl_list): Likewise.
34008         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34009         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34010         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34011         strlen for PPC64.
34013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34014         implementations.
34015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34016         (__libc_ifunc_impl_list): Likewise.
34017         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34018         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34019         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34020         rawmemrchr for PPC64.
34022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34023         implementation.
34024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34025         (__libc_ifunc_impl_list): Likewise.
34026         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34027         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34028         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34029         memrchr for PPC64.
34031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34032         implementation.
34033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34034         (__libc_ifunc_impl_list): Likewise.
34035         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34036         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34037         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34038         memchr for PPC64.
34040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34041         implementation.
34042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34043         (__libc_ifunc_impl_list): Likewise.
34044         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34045         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34046         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34047         mempcpy for PPC64.
34049         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34050         avoid cretion of __bzero symbol.
34051         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34052         Likewise.
34053         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34054         Likewise.
34055         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34056         Likewise.
34057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34058         multiarch implementations.
34059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34060         (__libc_ifunc_impl_list): Likewise.
34061         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34062         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34063         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34064         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34065         bzero for PPC32.
34066         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34067         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34068         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34069         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34070         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34071         memset for PPC64.
34072         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34074         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34076         implementations.
34077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34078         (__libc_ifunc_impl_list): Likewise.
34079         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34080         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34081         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34082         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34083         memcmp for PPC64.
34085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34086         multiarch for POWER/PPC64.
34087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34088         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34089         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34090         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34091         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34092         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34093         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34094         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34095         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34096         memcpy for PPC64.
34098         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34099         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34100         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34101         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34102         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34103         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34104         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34105         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34106         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34107         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34108         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34109         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34110         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34111         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34112         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34121 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34123         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34125 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34127         * benchtests/Makefile (bench): Add exp2 and log2.
34128         (LDLIBS-bench-exp2): Add -lm.
34129         (LDLIBS-bench-log2): Likewise.
34130         * benchtests/exp2-inputs: New inputs file.
34131         * benchtests/log2-inputs: New inputs file.
34132         * benchtests/log-inputs: Add new inputs.
34133         * benchtests/tan-inputs: Likewise.
34135 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34137         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34138         definition...
34139         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34140         (csloww2): ... from here.
34142         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34143         instead of structures.
34144         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34145         (POLYNOMIAL): Likewise.
34146         (TAYLOR_SLOW): Likewise.
34147         (__sin): Likewise.
34148         (__cos): Likewise.
34149         (slow1): Likewise.
34150         (slow2): Likewise.
34151         (sloww): Likewise.
34152         (sloww1); Likewise.
34153         (sloww2): Likewise.
34154         (bsloww1): Likewise.
34155         (bsloww2): Likewise.
34156         (cslow2): Likewise.
34157         (csloww): Likewise.
34158         (csloww1): Likewise.
34159         (csloww2): Likewise.
34161 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34163         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34164         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34165         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34166         * malloc/hooks.c (realloc_check): Likewise.
34168         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34169         * malloc/arena.c: Remove PER_THREAD conditional.
34170         [!PER_THREAD]: Remove code.
34171         (ptmalloc_unlock_all2): Likewise.
34172         (ptmalloc_init): Likewise.
34173         (_int_new_arena): Likewise.
34174         (arena_get2): Likewise.
34175         * malloc/hooks.c (__malloc_get_state): Likewise.
34176         (__malloc_set_state): Likewise.
34177         * malloc/malloc.c: Likewise.
34178         (struct malloc_state): Likewise.
34179         (struct malloc_par): Likewise.
34180         (__libc_realloc): Likewise.
34181         (__libc_mallopt): Likewise.
34183 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34185         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34187 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34189         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34190         macro to a function.  Check for zero perturb_byte.
34191         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34193         * malloc/malloc.c: (force_reg): Remove.
34194         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34195         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34196         force_reg by atomic_forced_read.
34197         * malloc/arena.c (ptmalloc_init): Likewise.
34198         * malloc/hooks.c (top_check): Likewise.
34200 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34204 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34208 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34210         * math/auto-libm-test-in: Add tests of lgamma.
34211         * math/auto-libm-test-out: Regenerated.
34212         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34213         (M_LOG_2_SQRT_PIl): Likewise.
34214         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34215         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34216         mpfr_f_f1.
34217         (func_calc_desc): Add mpfr_f_f1 union field.
34218         (ARGS1): New macro.
34219         (ARGS2): Likewise.
34220         (ARGS3): Likewise.
34221         (ARGS4): Likewise.
34222         (RET1): Likewise.
34223         (RET2): Likewise.
34224         (CALC): Likewise.
34225         (FUNC): Likewise.
34226         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34227         (test_functions): Add lgamma.
34228         (calc_generic_results): Handle mpfr_f_f1.
34229         * sysdeps/i386/fpu/libm-test-ulps: Update.
34230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34232 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34234         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34235         __mpn_add_n for PowerPC64/POWER7.
34236         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34237         __mpn_sub_n for PowerPC64/POWER7.
34239         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34240         __mpn_addmul_1 for PowerPC64.
34241         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34242         __mpn_submul_1 for PowerPC64.
34243         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34244         for PowerPC64.
34245         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34246         for PowerPC64.
34248 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34250         [BZ #15089]
34251         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34255         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34257         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34258         add multiarch folders.
34259         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34260         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34261         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34262         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34263         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34264         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34265         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34266         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34267         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34268         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34269         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34278         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34280         New file.
34281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34282         New file.
34283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34284         multiarch __ieee754_hypot for PowerPC32.
34285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34286         New file.
34287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34288         New file.
34289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34290         multiarch __ieee754_hypotf for PowerPC32.
34292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34293         long_double_symbol only if __logbl is defined.
34294         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34295         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34296         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34297         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34298         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34299         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34300         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34301         path for implementation.
34302         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34303         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34305         logb, and logbl multiarch implementations for PowerPC32.
34306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34307         file.
34308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34309         file.
34310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34311         multiarch logb for PowerPC32.
34312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34313         file.
34314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34315         file.
34316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34317         multiarch logbf for PowerPC32.
34318         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34320         file.
34321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34322         multiarch logbl implementation for PowerPC32.
34324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34325         and modff multiarch implementations.
34326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34327         New file.
34328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34329         New file.
34330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34331         multiarch modf for PowerPC32.
34332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34333         New file.
34334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34335         New file.
34336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34337         multiarch modff for PowerPC32.
34339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34340         and lrintf multiarch implementations.
34341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34342         New file.
34343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34344         New file.
34345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34346         multiarch lrint for PowerPC32.
34347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34348         file: multiarch lrintf for PowerPC32.
34350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34351         and lroundf multiarch implementations.
34352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34353         New file.
34354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34355         New file.
34356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34357         New file.
34358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34359         multiarch lround for PowerPC32.
34360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34361         file: multiarch lroundf for PowerPC32.
34363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34364         copysign and copysignf multiarch implementations.
34365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34366         New file.
34367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34368         New file.
34369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34370         file: multiarch copysign for PowerPC32.
34371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34372         file: multiarch copysignf for PowerPC32.
34374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34375         and truncf multiarch implementations.
34376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34377         New file.
34378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34379         file.
34380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34381         multiarch trunc for PowerPC32.
34382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34383         New file.
34384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34385         New file.
34386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34387         multiarch truncf for PowerPC32.
34389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34390         and roundf multiarch implementations.
34391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34392         New file.
34393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34394         file.
34395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34396         multiarch round for PowerPC32.
34397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34398         New file.
34399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34400         New file.
34401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34402         multiarch roundf for PowerPC32.
34404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34405         and floorf multiarch implementations.
34406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34407         New file.
34408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34409         file.
34410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34411         multiarch floor for PowerPC32.
34412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34413         New file.
34414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34415         New file.
34416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34417         multiarch floorf for PowerPC32.
34419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34420         and ceilf multiarch implementations.
34421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34422         New file.
34423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34424         file.
34425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34426         multiarch ceil for PowerPC32.
34427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34428         New file.
34429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34430         file.
34431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34432         multiarch ceilf for PowerPC32.
34434         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34435         is defined.
34436         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34437         FINITEF is defined.
34438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34439         and finitef multiarch implementations.
34440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34441         New file.
34442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34443         file.
34444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34445         multiarch finite for PowerPC32.
34446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34447         New file.
34448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34449         file: multiarch finitef for PowerPC32.
34451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34452         and isinff multiarch implementations.
34453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34454         file.
34455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34456         file.
34457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34458         multiarch isinf for PowerPC32.
34459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34460         New file.
34461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34462         multiarch isinff for PowerPC32.
34464         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34465         alias when __isnan is defined.
34466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34467         and isnanf multiarch implementations.
34468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34469         file.
34470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34471         file.
34472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34473         file.
34474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34475         file.
34476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34477         multiarch isnan for PowerPC32.
34478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34479         New file.
34480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34481         New file.
34482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34483         multiarch isnanf for PowerPC32.
34485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34486         and sqrtf multiarch implementations.
34487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34488         file.
34489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34490         file.
34491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34492         multiarch sqrt for PowerPC32.
34493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34494         file.
34495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34496         file.
34497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34498         multiarch sqrtf for PowerPC32.
34500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34501         and llroundf multiarch implementations.
34502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
34503         New file.
34504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
34505         New file.
34506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
34507         New file.
34508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
34509         file: multiarch llround for PowerPC32.
34510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
34511         file: multiarch llroundf for PowerPC32.
34513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
34514         multiarch PowerPC32 fpu implementations.
34515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
34516         New file.
34517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
34518         New file.
34519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
34520         multiarch llrint for PowerPC32.
34521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
34522         New file.
34523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
34524         New file.
34525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
34526         file.
34528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
34530         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
34531         file.
34532         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
34533         file.
34534         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
34535         file.
34536         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
34537         multiarch wordcopy for PPC32.
34538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34539         wordcopy objects.
34540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34541         (__libc_ifunc_impl_list): Likewise.
34542         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
34543         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
34544         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
34545         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
34546         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
34547         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
34549         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
34550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
34551         file.
34552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
34553         file.
34554         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
34555         file.
34556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
34557         multiarch wcscpy for PPC32.
34558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
34559         multiarch objects.
34560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34561         (__libc_ifunc_impl_list): Likewise.
34562         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34563         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34564         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
34565         sysdeps/powerpc/power6/wcscpy.c.
34567         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
34568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
34569         file.
34570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
34571         file.
34572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
34573         file.
34574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
34575         multiarch wcsrchr for PPC32.
34576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34577         multiarch objects.
34578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34579         (__libc_ifunc_impl_list): Likewise.
34580         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
34581         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
34582         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
34583         sysdeps/powerpc/power6/wcsrchr.c.
34585         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
34586         file.
34587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
34588         file.
34589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
34590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
34591         multiarch wcschr for PPc32.
34592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
34593         multiarch objects.
34594         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34595         (__libc_ifunc_impl_list): Likewise.
34596         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
34597         * sysdeps/powerpc/power6/wcschr.c: ... to here.
34598         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
34599         sysdeps/powerpc/power6/wcschr.c.
34601         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
34602         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
34603         file.
34604         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
34605         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
34606         file: multiarch strchr for PPC32.
34607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
34608         multiarch objects.
34609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34610         (__libc_ifunc_impl_list): Likewise.
34612         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
34613         name.
34614         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
34615         file.
34616         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
34617         file.
34618         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
34619         multiarch strchrnul for PPC32.
34620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
34621         multiarch objects.
34622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34623         (__libc_ifunc_impl_list): Likewise.
34625         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
34626         file.
34627         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
34628         multiarch strncasecmp for PPC32.
34629         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
34630         file.
34631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
34632         multiarch strncasecmp_l for PPC32.
34633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
34634         strncasecmp multiarch objects.
34635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34636         (__libc_ifunc_impl_list): Likewise.
34638         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
34639         file.
34640         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
34641         multiarch strncasecmp for PPC32.
34642         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34643         New file.
34644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
34645         multiarch strcasecmp_l for PPC32.
34646         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
34647         multiarch objects.
34648         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34649         (__libc_ifunc_impl_list): Likewise.
34651         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
34652         file.
34653         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
34654         file.
34655         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
34656         multiarch strncmp for PPC32.
34657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
34658         multiarch objects.
34659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34660         (__libc_ifunc_impl_list): Likewise.
34662         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
34663         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
34664         file.
34665         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
34666         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
34667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
34668         multiarch objects.
34669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34670         (__libc_ifunc_impl_list): Likewise.
34672         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
34673         file.
34674         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
34675         file.
34676         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
34677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34678         multiarch objects.
34679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34680         (__libc_ifunc_impl_list): Likewise.
34682         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
34683         file.
34684         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
34685         file.
34686         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
34687         multiarch rawmemchr for PPC32.
34688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
34689         multiarch objects.
34690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34691         (__libc_ifunc_impl_list): Likewise.
34693         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
34694         file.
34695         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
34696         file.
34697         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
34698         file: memrchr multiarch for PPC32.
34699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
34700         multiarch objects.
34701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
34702         (__libc_ifunc_impl_list): Likewise.
34704         * string/memchr.c (__memchr): Using macro to redefine symbol name.
34705         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
34706         file.
34707         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
34708         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34709         multiarch memchr for PPC32.
34710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
34711         multiarch objects.
34712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34713         (__libc_ifunc_impl_list): Likewise.
34715         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
34716         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
34717         file.
34718         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
34719         file.
34720         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
34721         file: multiarch mempcpy for PPC32.
34722         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
34723         multiarch objects.
34724         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34725         (__libc_ifunc_impl_list): Likewise.
34727         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
34728         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
34729         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
34730         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34731         multiarch bzero for PPC32.
34732         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
34733         file.
34734         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
34735         file.
34736         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
34737         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
34738         file: multiarch memset for PPC32.
34739         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
34740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
34741         memset multiarch objects.
34742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34743         (__libc_ifunc_impl_list): Likewise.
34745         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
34746         file.
34747         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
34748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
34749         memcmp for PPC32.
34750         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
34751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
34752         multiarch objects.
34753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34754         (__libc_ifunc_impl_list): Likewise.
34756         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
34757         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
34758         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
34759         file.
34760         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
34761         file.
34762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
34763         file.
34764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
34765         multiarch memcpy for PPC32.
34766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
34767         multiarch objects.
34768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34769         (__libc_ifunc_impl_list): Likewise.
34771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
34772         support multiarch for POWER/PPC32.
34773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
34774         Likewise.
34775         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
34776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
34777         Implies file to make multiarch folder appers before the fpu and
34778         default folder for power4 configuration.
34780 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34782         * scripts/bench.pl: Append volatile keyword to type.
34784 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34786         * sysdeps/sh/sotruss-lib.c: New file.
34787         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
34789 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34793 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
34795         [BZ #6810]
34796         * math/w_tgamma.c: Include <errno.h>.
34797         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
34798         * math/w_tgammaf.c: Include <errno.h>.
34799         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
34800         * math/w_tgammal.c: Include <errno.h>.
34801         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
34802         * math/auto-libm-test-in: Do not allow missing errno on tgamma
34803         underflow.  Add more tgamma tests.
34804         * math/auto-libm-test-out: Regenerated.
34805         * sysdeps/i386/fpu/libm-test-ulps: Update.
34806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34808         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
34809         sin, sinh, tan, tanh, tgamma, y0 and y1.
34810         * math/auto-libm-test-out: Regenerated.
34811         * math/libm-test.inc (TEST_COND_x86_64): New macro.
34812         (TEST_COND_x86): Likewise.
34813         (M_E2l): Remove macro.
34814         (M_E3l): Likewise.
34815         (M_2_SQRT_PIl): Likewise.
34816         (M_SQRT_PIl): Likewise.
34817         (M_1_DIV_El): Likewise.
34818         (log_test_data): Use AUTO_TESTS_f_f.
34819         (log10_test_data): Likewise.
34820         (log1p_test_data): Likewise.
34821         (log2_test_data): Likewise.
34822         (sin_test_data): Likewise.
34823         (sin_tonearest_test_data): Likewise.
34824         (sin_towardzero_test_data): Likewise.
34825         (sin_downward_test_data): Likewise.
34826         (sin_upward_test_data): Likewise.
34827         (sinh_test_data): Likewise.
34828         (sinh_tonearest_test_data): Likewise.
34829         (sinh_towardzero_test_data): Likewise.
34830         (sinh_downward_test_data): Likewise.
34831         (sinh_upward_test_data): Likewise.
34832         (tan_test_data): Likewise.
34833         (tan_tonearest_test_data): Likewise.
34834         (tan_towardzero_test_data): Likewise.
34835         (tan_downward_test_data): Likewise.
34836         (tan_upward_test_data): Likewise.
34837         (tanh_test_data): Likewise.
34838         (tgamma_test_data): Likewise.
34839         (y0_test_data): Likewise.
34840         (y1_test_data): Likewise.
34841         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
34842         (special_real_inputs): Add pi/4.
34843         * sysdeps/i386/fpu/libm-test-ulps: Update.
34844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34846 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34848         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
34849         "longjmp_target" static probes.
34850         (__longjmp): Rename to __longjmp_symbol.
34851         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34852         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
34853         on which longjmp to generate.
34854         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
34855         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
34856         probe.
34857         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34858         (__sigjmp_save): Rename to __sigjmp_save_symbol.
34859         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
34860         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
34861         and __sigjmp_save_symbol based on which sigsetjmp to generated.
34862         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
34863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
34864         __longjmp_symbol based on which __longjmp to generate.
34865         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
34866         probe.
34867         (setjmp): Rename to setjmp_symbol.
34868         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34869         (_setjmp): Rename to _setjmp_symbol.
34870         (__sigsetjmp): Rename to __sigsetjmp_symbol.
34871         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
34872         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
34873         which setjmp to generate.
34874         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
34875         "longjmp_target" static probes.
34877 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34879         * benchtests/README: Add note about output arguments.
34880         * benchtests/bench-sincos.c: Remove file.
34881         * benchtests/sincos-inputs: New file.
34882         * scripts/bench.pl: Identify output arguments and define
34883         static variables for them.
34885         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
34887         [BZ #15941]
34888         * Makefile (INSTALL): Add install-plain.texi as the primary
34889         dependency.
34890         * manual/install-plain.texi: New file.
34891         * manual/install.texi: Include node directive only for
34892         non-plaintext output.
34894 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
34896         * stdlib/longlong.h: Update from GCC.
34898         [BZ #6807]
34899         [BZ #15901]
34900         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
34901         * math/w_j0f.c (y0f): Likewise.
34902         * math/w_j0l.c (__y0l): Likewise.
34903         * math/w_j1.c (y1): Likewise.
34904         * math/w_j1f.c (y1f): Likewise.
34905         * math/w_j1l.c (__y1l): Likewise
34906         * math/w_jn.c (yn): Likewise.
34907         * math/w_jnf.c (ynf): Likewise.
34908         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
34909         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
34910         value for Bessel function domain errors outside _SVID_ mode.
34911         Adjust sign of return value for yn (negative integer, 0).
34912         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
34913         by zero in return for negative x and set sign appropriately for
34914         negative n.
34915         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
34916         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34917         * math/libm-test.inc (y0_test_data): Add more tests and adjust
34918         expectations in error cases.
34919         (y1_test_data): Likewise.
34920         (yn_test_data): Likewise.
34921         * sysdeps/i386/fpu/libm-test-ulps: Update.
34922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34924 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34926         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
34927         "64" to "64-v1".  Add "64-v2".
34928         (abi-64-options): Rename to ...
34929         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
34930         (abi-64-condition): Rename to ...
34931         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
34932         (abi-64-ld-soname): Rename to ...
34933         (abi-64-v1-ld-soname): ... this.
34934         (abi-64-v2-options): Define.
34935         (abi-64-v2-condition): Likewise.
34936         (abi-64-v2-ld-soname): Likewise.
34937         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34938         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34943 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34944             Alan Modra  <amodra@gmail.com>
34946         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34947         New versions for use with the ELFv2 ABI.
34948         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34949         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34950         declaration.
34951         (struct La_ppc64v2_retval): Likewise.
34952         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34953         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34954         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34955         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34956         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34958         Do not save or restore CR.
34959         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34960         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34961         return values for ELFv2 ABI.  Fix location of FPR return registers.
34962         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34963         updated values for _CALL_ELF == 2.
34964         (La_regs, La_retval, int_retval): Likewise.
34966 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34968         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34969         (FRAME_MIN_SIZE_PARM): Likewise.
34970         (FRAME_BACKCHAIN): Likewise.
34971         (FRAME_CR_SAVE): Likewise.
34972         (FRAME_LR_SAVE): Likewise.
34973         (FRAME_TOC_SAVE): Likewise.
34974         (FRAME_PARM_SAVE): Likewise.
34975         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34976         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34977         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34978         (call_mcount_parm_offset): New macro.
34979         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34980         (PROF): Use symbolic stack frame offsets.
34981         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34982         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34983         Redefine in terms of FRAME_MIN_SIZE.
34984         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34985         (_dl_profile_resolve): Likewise.  Update comment.
34986         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34987         symbols stack frame offsets.
34988         (__sigsetjmp): Likewise.
34989         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34990         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34991         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34992         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34995         (FRAME_BACKCHAIN): Remove.
34996         (FRAME_CR_SAVE): Likewise.
34997         (FRAME_LR_SAVE): Likewise.
34998         (FRAME_COMPILER_DW): Likewise.
34999         (FRAME_LINKER_DW): Likewise.
35000         (FRAME_TOC_SAVE): Likewise.
35001         (FRAME_PARM_SAVE): Likewise.
35002         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35003         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35004         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35006         (CHECK_SP): Use symbolic stack frame offsets.
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35008         zone" instead of caller's parameter save area for temp storage.
35009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35010         Likewise.  Also, use symbolic stack frame offsets.
35011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35012         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35013         our own stack frame instead of the caller's.
35014         (__socket): Use symbolic stack frame offsets.
35016 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35017             Alan Modra  <amodra@gmail.com>
35019         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35020         Define.
35021         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35022         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35023         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35024         New function.
35025         (elf_machine_fixup_plt): Call it.
35026         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35027         reloc arguments.
35028         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35029         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35030         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35031         r2 before calling target.
35033 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35034             Alan Modra  <amodra@gmail.com>
35036         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35037         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35038         versions of macros to support ELFv2 ABI.
35039         (LOCALENTRY): New macro.
35040         (ENTRY, EALIGN): Use it.
35041         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35042         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35043         fall through into ENTRY entry point.
35044         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35045         Only define if _CALL_ELF != 2.
35047         (elf_machine_matches_host): Verify ABI version matches.
35048         (RTLD_START): Use LOCALENTRY.
35049         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35050         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35051         (PLT_ENTRY_WORDS): New macro.
35052         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35053         (elf_machine_runtime_setup): Support ELFv2 ABI.
35054         (elf_machine_fixup_plt): Likewise.
35055         (elf_machine_plt_conflict): Likewise.
35056         (resolve_ifunc): Likewise.
35057         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35058         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35059         Likewise.
35060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35061         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35063         (makecontext): Support ELFv2 ABI.
35064         * elf/elf.h (EF_PPC64_ABI): Define.
35066 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35068         * sysdeps/powerpc/powerpc64/sysdep.h
35069         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35070         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35071         (ENTRY) [ASSEMBLER]: ... but instead here ...
35072         (EALIGN) [ASSEMBLER]: ... and here.
35073         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35074         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35075         (ENTRY_2) [!ASSEMBLER]: Use it.
35076         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35077         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35078         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35079         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35080         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35082         Use PPC64_LOAD_FUNCPTR.
35084         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35086 2013-12-04  Alan Modra  <amodra@gmail.com>
35088         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35089         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35090         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35091         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35094         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35095         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35096         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35097         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35098         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35100 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35103         (__makecontext): Fix incorrect CFI when backtracing out of
35104         context created via makecontext.
35105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35106         (__setcontext): Fix incorrect CFI during switch to new context.
35107         (__novec_setcontext): Likewise.
35109 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35111         [BZ #4772]
35112         * time/strptime_l.c (__strptime_internal): Allow modifiers
35113         in strptime.
35114         * time/tst-strptime.c (day_tests): Add testcase.
35116 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35118         * scripts/bench.pl: Skip over blank lines.
35120 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35122         [BZ #926]
35123         * manual/time.texi (Calendar Time): Clarify what timezone functions
35124         use.
35126 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35130 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35132         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35133         implementation.
35134         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35135         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35136         * debug/memset_chk.c (__memset_chk): Likewise.
35137         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35138         * debug/strncpy_chk.c: Likewise.
35140 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35142         [BZ #15268]
35143         [BZ #15425]
35144         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35145         (__ieee754_exp): For possibly underflowing results, check size of
35146         result and force underflow exception if required.
35147         * math/auto-libm-test-in: Add more tests of exp.
35148         * math/auto-libm-test-out: Regenerated.
35149         * sysdeps/i386/fpu/libm-test-ulps: Update.
35150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35152         [BZ #16283]
35153         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35154         * math/w_exp2f.c (__exp2f): Likewise.
35155         * math/w_exp2l.c (__exp2l): Likewise.
35156         * math/auto-libm-test-in: Do not allow missing errno on exp2
35157         underflow.
35158         * math/auto-libm-test-out: Regenerated.
35160 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35162         [BZ #16274]
35163         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35164         handle filename validation.
35165         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35166         (do_open): Delete.
35168 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35170         [BZ #6786]
35171         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35172         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35173         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35174         <float.h>.
35175         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35176         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35177         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35178         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35179         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35180         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35181         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35182         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35183         Add more erfc tests.
35184         * math/auto-libm-test-out: Regenerated.
35185         * sysdeps/i386/fpu/libm-test-ulps: Update.
35186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35188         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35189         exp2, expm1, j0 and j1.
35190         * math/auto-libm-test-out: Regenerated.
35191         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35192         (erfc_test_data): Likewise.
35193         (exp_test_data): Likewise.
35194         (exp_tonearest_test_data): Likewise.
35195         (exp_towardzero_test_data): Likewise.
35196         (exp_downward_test_data): Likewise.
35197         (exp_upward_test_data): Likewise.
35198         (exp10_test_data): Likewise.
35199         (exp2_test_data): Likewise.
35200         (expm1_test_data): Likewise.
35201         (j0_test_data): Likewise.
35202         (j1_test_data): Likewise.
35203         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35204         (input_flag_type): Add flag_xfail_rounding.
35205         (input_flags): Add xfail-rounding.
35206         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35207         (output_for_one_input_case): Handle flag_xfail_rounding.
35208         * sysdeps/i386/fpu/libm-test-ulps: Update.
35209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35211 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35213         [BZ #16289]
35214         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35215         division by 0.
35217 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35219         [BZ #16195]
35220         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35221         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35222         (STAP_PROBE0): New macro.
35223         (STAP_PROBE1): Likewise.
35224         (STAP_PROBE2): Likewise.
35225         (STAP_PROBE3): Likewise.
35226         (STAP_PROBE4): Likewise.
35228 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35230         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35232 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35234         * benchtests/Makefile (bench): Add sqrt.
35235         (LDLIBS-bench-sqrt): New.
35236         * benchtests/sqrt-input: New.
35238 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35240         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35241         (GAIH_EAI): Likewise.
35242         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35243         (gaih_inet): Likewise.
35244         (getaddrinfo): Don't use GAIH_EAI.
35246         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35247         (struct gaih): Remove definition.
35249 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35251         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35252         Use HERRNOP directly.
35254 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35258 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35260         * math/gen-auto-libm-tests.c (test_functions): Add more
35261         single-argument functions.
35262         (special_fill_pi_2): New function.
35263         (special_fill_minus_pi_2): Likewise.
35264         (special_fill_pi_6): Likewise.
35265         (special_fill_minus_pi_6): Likewise.
35266         (special_fill_pi_3): Likewise.
35267         (special_fill_2pi_3): Likewise.
35268         (special_fill_e): Likewise.
35269         (special_fill_1_e): Likewise.
35270         (special_fill_e_minus_1): Likewise.
35271         (special_real_inputs): Add more special inputs.
35272         (output_for_one_input_case): Do not require ERANGE on underflow to
35273         zero if round-to-nearest result does not underflow to zero, unless
35274         exact results required.
35275         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35276         atan, atanh, cbrt, cos and cosh.
35277         * math/auto-libm-test-out: Regenerated.
35278         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35279         (acos_tonearest_test_data): Likewise.
35280         (acos_towardzero_test_data): Likewise.
35281         (acos_downward_test_data): Likewise.
35282         (acos_upward_test_data): Likewise.
35283         (acosh_test_data): Likewise.
35284         (asin_test_data): Likewise.
35285         (asin_tonearest_test_data): Likewise.
35286         (asin_towardzero_test_data): Likewise.
35287         (asin_upward_test_data): Likewise.
35288         (asinh_test_data): Likewise.
35289         (atan_test_data): Likewise.
35290         (atanh_test_data): Likewise.
35291         (cbrt_test_data): Likewise.
35292         (cos_test_data): Likewise.
35293         (cos_tonearest_test_data): Likewise.
35294         (cos_towardzero_test_data): Likewise.
35295         (cos_downward_test_data): Likewise.
35296         (cos_upward_test_data): Likewise.
35297         (cosh_test_data): Likewise.
35298         (cosh_tonearest_test_data): Likewise.
35299         (cosh_towardzero_test_data): Likewise.
35300         (cosh_downward_test_data): Likewise.
35301         (cosh_upward_test_data): Likewise.
35302         * sysdeps/i386/fpu/libm-test-ulps: Update.
35303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35305 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35307         [BZ #6787]
35308         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35309         * math/w_exp10f.c (__exp10f): Likewise.
35310         * math/w_exp10l.c (__exp10l): Likewise.
35311         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35312         errno settings in existing tests.
35314         [BZ #14032]
35315         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35316         precision control set to double precision.
35317         * sysdeps/i386/fpu/w_sqrt.c: New file.
35318         * math/auto-libm-test-in: Add more tests.
35319         * math/auto-libm-test-out: Update.
35321         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35322         (sqrt_test_tonearest): New function.
35323         (sqrt_towardzero_test_data): New variable.
35324         (sqrt_test_towardzero): New function.
35325         (sqrt_downward_test_data): New variable.
35326         (sqrt_test_downward): New function.
35327         (sqrt_upward_test_data): New variable.
35328         (sqrt_test_upward): New function.
35329         (main): Call the new functions.
35331         * math/gen-auto-libm-tests.c: New file.
35332         * math/auto-libm-test-in: Likewise.
35333         * math/auto-libm-test-out: New generated file.
35334         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35335         variables.
35336         (%beautify): Add generated representations of zero.
35337         (top level): Set $auto_input and call parse_auto_input.
35338         (beautify): Remove trailing "f" from hex float constants.
35339         (parse_args): Handle XFAIL_TEST.
35340         (convert_condition): New function.
35341         (or_value): Likewise.
35342         (or_cond_value): Likewise.
35343         (generate_testfile): Handle AUTO_TESTS_* lines.
35344         (parse_auto_input): New function.
35345         * math/libm-test.inc (XFAIL_TEST): New macro.
35346         (ERRNO_UNCHANGED): Update value.
35347         (ERRNO_EDOM): Likewise.
35348         (ERRNO_ERANGE): Likewise.
35349         (IGNORE_RESULT): Likewise.
35350         (TEST_COND_flt_32): New macro.
35351         (TEST_COND_dbl_64): Likewise.
35352         (TEST_COND_ldbl_96_intel): Likewise.
35353         (TEST_COND_ldbl_96_m68k): Likewise.
35354         (TEST_COND_ldbl_128): Likewise.
35355         (TEST_COND_ldbl_128ibm): Likewise.
35356         (TEST_COND_long32): Likewise.
35357         (TEST_COND_long64): Likewise.
35358         (TEST_COND_before_rounding): Likewise.
35359         (TEST_COND_after_rounding): Likewise.
35360         (enable_test): Handle XFAIL_TEST flag.
35361         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35362         with finite results.
35363         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35364         auto-libm-test-out.
35366 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35367             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35369         [BZ #16214]
35370         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35371         __tls_get_addr_internal instead of __tls_get_offset in order to
35372         avoid GOT pointer dependency.  Make rtld export
35373         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35374         __tls_get_addr since we are a __tls_get_offset platform.
35375         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35376         GOT pointer being set up before.
35377         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35379 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35381         * manual/math.texi (Errors in Math Functions): Document accuracy
35382         goals.
35384         [BZ #15004]
35385         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35386         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35389         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35390         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35391         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35392         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35393         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35394         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35395         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35396         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35397         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35398         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35399         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35400         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35402         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35403         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35404         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35405         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35406         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35407         Likewise.
35408         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35409         Likewise.
35410         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35411         Likewise.
35412         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35413         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35414         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35415         atomic-feupdateenv and flt-rounds.
35416         * sysdeps/powerpc/nofpu/Versions (libc): Add
35417         __atomic_feholdexcept, __atomic_feclearexcept,
35418         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35419         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35420         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35421         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35422         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35423         here.
35424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35425         Update.
35427         * manual/arith.texi (FP Exceptions): Document that exceptions may
35428         not be raised when matherr is used.
35429         (Math Error Reporting): Document overflow in directed rounding
35430         modes.  Document that errno may not be set when finite values are
35431         returned on overflow.  Document intent to set errno on underflow
35432         only for underflow to zero.
35434         [BZ #16271]
35435         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35436         round-to-nearest then adjust result for other rounding modes.
35437         * include/fenv.h (fegetround): Use libm_hidden_proto.
35438         * math/fegetround.c (fegetround): Use libm_hidden_def.
35439         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35440         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35441         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35442         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35443         Likewise.
35444         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35445         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35446         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35447         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35449 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35451         [BZ #16077]
35452         * nss/Versions (libnss_files): Add
35453         _nss_files_gethostbyname3_r.
35454         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35455         New function.
35456         (HOST_DB_LOOKUP): Remove macro.
35457         (_nss_files_gethostbyname_r): Implement function without the
35458         HOST_DB_LOOKUP macro.
35459         (_nss_files_gethostbyname2_r): Likewise.
35461 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35463         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35465 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35467         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35468         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35469         warning.
35471 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35473         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35474         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35475         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35476         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35477         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35478         __fe_nomask_env_priv and attribute_hidden.
35479         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35480         (libc_feupdateenv_test_ppc): Likewise.
35481         (libc_feresetround_ppc): Likewise.
35482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35483         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35484         compat_symbol macro.
35485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35486         (__fe_nomask_env): Likewise.
35487         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35489 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35491         * string/Makefile: Remove ifunc tests.
35492         * string/test-string.h: Define TEST_IFUNC.
35493         * string/test-bcopy-ifunc.c: Remove.
35494         * string/test-bzero-ifunc.c: Likewise.
35495         * string/test-memccpy-ifunc.c: Likewise.
35496         * string/test-memchr-ifunc.c: Likewise.
35497         * string/test-memcmp-ifunc.c: Likewise.
35498         * string/test-memcpy-ifunc.c: Likewise.
35499         * string/test-memmem-ifunc.c: Likewise.
35500         * string/test-memmove-ifunc.c: Likewise.
35501         * string/test-mempcpy-ifunc.c: Likewise.
35502         * string/test-memrchr-ifunc.c: Likewise.
35503         * string/test-memset-ifunc.c: Likewise.
35504         * string/test-rawmemchr-ifunc.c: Likewise.
35505         * string/test-stpcpy-ifunc.c: Likewise.
35506         * string/test-stpncpy-ifunc.c: Likewise.
35507         * string/test-strcasecmp-ifunc.c: Likewise.
35508         * string/test-strcasestr-ifunc.c: Likewise.
35509         * string/test-strcat-ifunc.c: Likewise.
35510         * string/test-strchr-ifunc.c: Likewise.
35511         * string/test-strchrnul-ifunc.c: Likewise.
35512         * string/test-strcmp-ifunc.c: Likewise.
35513         * string/test-strcpy-ifunc.c: Likewise.
35514         * string/test-strcspn-ifunc.c: Likewise.
35515         * string/test-strlen-ifunc.c: Likewise.
35516         * string/test-strncasecmp-ifunc.c: Likewise.
35517         * string/test-strncat-ifunc.c: Likewise.
35518         * string/test-strncmp-ifunc.c: Likewise.
35519         * string/test-strncpy-ifunc.c: Likewise.
35520         * string/test-strnlen-ifunc.c: Likewise.
35521         * string/test-strpbrk-ifunc.c: Likewise.
35522         * string/test-strrchr-ifunc.c: Likewise.
35523         * string/test-strspn-ifunc.c: Likewise.
35524         * string/test-strstr-ifunc.c: Likewise.
35526 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35528         * benchtests/Makefile: Remove ifunc tests.
35529         * benchtests/bench-string.h: Define TEST_IFUNC.
35530         * benchtests/bench-bcopy-ifunc.c: Remove.
35531         * benchtests/bench-bzero-ifunc.c: Likewise.
35532         * benchtests/bench-memccpy-ifunc.c: Likewise.
35533         * benchtests/bench-memchr-ifunc.c: Likewise.
35534         * benchtests/bench-memcmp-ifunc.c: Likewise.
35535         * benchtests/bench-memcpy-ifunc.c: Likewise.
35536         * benchtests/bench-memmem-ifunc.c: Likewise.
35537         * benchtests/bench-memmove-ifunc.c: Likewise.
35538         * benchtests/bench-mempcpy-ifunc.c: Likewise.
35539         * benchtests/bench-memrchr-ifunc.c: Likewise.
35540         * benchtests/bench-memset-ifunc.c: Likewise.
35541         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
35542         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
35543         * benchtests/bench-stpcpy-ifunc.c: Likewise.
35544         * benchtests/bench-stpncpy-ifunc.c: Likewise.
35545         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
35546         * benchtests/bench-strcasestr-ifunc.c: Likewise.
35547         * benchtests/bench-strcat-ifunc.c: Likewise.
35548         * benchtests/bench-strchr-ifunc.c: Likewise.
35549         * benchtests/bench-strchrnul-ifunc.c: Likewise.
35550         * benchtests/bench-strcmp-ifunc.c: Likewise.
35551         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
35552         * benchtests/bench-strcpy-ifunc.c: Likewise.
35553         * benchtests/bench-strcspn-ifunc.c: Likewise.
35554         * benchtests/bench-strlen-ifunc.c: Likewise.
35555         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
35556         * benchtests/bench-strncat-ifunc.c: Likewise.
35557         * benchtests/bench-strncmp-ifunc.c: Likewise.
35558         * benchtests/bench-strncpy-ifunc.c: Likewise.
35559         * benchtests/bench-strnlen-ifunc.c: Likewise.
35560         * benchtests/bench-strpbrk-ifunc.c: Likewise.
35561         * benchtests/bench-strrchr-ifunc.c: Likewise.
35562         * benchtests/bench-strsep-ifunc.c: Likewise.
35563         * benchtests/bench-strspn-ifunc.c: Likewise.
35564         * benchtests/bench-strstr-ifunc.c: Likewise.
35566 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35568         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
35570 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35572         * resolv/netdb.h: Use __glibc_reserved instead __unused.
35573         * rt/aio.h: Likewise.
35574         * sysdeps/gnu/bits/utmp.h: Likewise.
35575         * sysdeps/gnu/bits/utmpx.h: Likewise.
35576         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35577         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
35578         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
35579         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
35580         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
35581         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
35582         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
35583         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
35584         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
35585         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
35586         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
35587         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
35588         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
35590         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
35591         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
35592         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
35593         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
35594         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
35595         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
35596         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
35597         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
35598         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
35599         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35600         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
35601         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35602         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
35603         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
35604         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
35605         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
35606         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
35607         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
35608         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
35609         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35610         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
35611         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
35612         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
35613         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
35614         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
35615         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
35616         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
35617         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
35619 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
35621         [BZ #16245]
35622         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
35623         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
35625 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
35627         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
35628         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35629         Likewise.
35631 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
35634         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
35635         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
35636         (__fesetround): Remove define.
35637         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
35638         rounding and exceptions handling.
35639         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
35640         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
35641         (__fe_nomask_env): Likewise.
35642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
35643         __fegetround instead of fegetround.
35644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
35645         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
35647 2013-11-21  Roland McGrath  <roland@hack.frob.com>
35649         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
35650         it's there.
35652         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
35654 2013-11-21  Meador Inge  <meadori@codesourcery.com>
35656         [BZ #11157]
35657         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
35658         (encrypt_r): Likewise.
35659         * malloc/obstack.h (obstack_free): Likewise.
35660         * posix/unistd.h (encrypt): Likewise.
35662 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
35664         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
35665         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
35666         DL_CALL_DT_FINI() that call the functions directly.
35667         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
35668         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
35669         * elf/dl-fini.c: Likewise.
35671 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
35673         * malloc/hooks.c (memalign_check): Add alignment rounding.
35674         * malloc/malloc.c (_mid_memalign): New function.
35675         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
35676         Implement by calling _mid_memalign.
35677         * manual/probes.texi (Memory Allocation Probes): Remove
35678         memory_valloc_retry and memory_pvalloc_retry.
35680 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35682         * locale/programs/locarchive.c (open_archive): Add const
35683         qualifier to ARCHIVEFNAME and copy default fname to
35684         DEFAULT_FNAME.
35686         [BZ #15601]
35687         * libio/tst-widetext.input: Rename Oriya to Odia.
35688         * locale/iso-639.def: Likewise.
35690         * manual/probes.texi (Mathematical Function Probes): Add
35691         documentation for sin, cos, asin and acos probes.
35692         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
35693         (__sin32): Add slowasin probe.
35694         (__cos32): Add slowacos probe.
35695         (__mpsin): Add slowsin probe.
35696         (__mpcos): Add slowcos probe.
35698 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
35700         [BZ #15483]
35701         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
35702         thread-local __sim_exceptions_thread and global
35703         __sim_exceptions_global.
35704         (__sim_disabled_exceptions): Change to thread-local
35705         __sim_disabled_exceptions_thread and global
35706         __sim_disabled_exceptions_global.
35707         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35708         and global __sim_round_mode_global.
35709         (__simulate_exceptions): Use thread-local floating-point state and
35710         set global state from it as needed.
35711         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
35712         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
35713         __sim_round_mode_thread.
35714         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
35715         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
35716         and global __sim_exceptions_global.
35717         (__sim_disabled_exceptions): Change to thread-local
35718         __sim_disabled_exceptions_thread and global
35719         __sim_disabled_exceptions_global.
35720         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
35721         and global __sim_round_mode_global.
35722         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
35723         (SIM_SET_GLOBAL): Likewise.
35724         * sysdeps/powerpc/soft-fp/sfp-machine.h
35725         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
35726         __sim_round_mode_thread.
35727         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
35728         __sim_disabled_exceptions_thread.
35729         (__sim_exceptions): Change to __sim_exceptions_thread.
35730         (__sim_disabled_exceptions): Change to
35731         __sim_disabled_exceptions_thread.
35732         (__sim_round_mode): Change to __sim_round_mode_thread.
35733         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
35734         thread-local floating-point state and set global state from it as
35735         needed.
35736         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
35737         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
35738         (__sim_disabled_exceptions): Remove extern declaration.
35739         (feenableexcept): Use thread-local floating-point state and set
35740         global state from it as needed.
35741         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
35742         extern declaration.
35743         (__sim_disabled_exceptions): Likewise.
35744         (__sim_round_mode): Likewise.
35745         (__fegetenv): Use thread-local floating-point state.
35746         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
35747         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35748         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
35749         floating-point state and set global state from it as needed.
35750         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
35751         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35752         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
35753         Likewise.
35754         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35755         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
35756         Likewise.
35757         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
35758         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
35759         Use __sim_round_mode_thread.
35760         * math/test-fenv-tls.c: New file.
35761         * math/Makefile (tests): Add test-fenv-tls.
35762         ($(objpfx)test-fenv-tls): Depend on
35763         $(common-objpfx)nptl/libpthread.so.
35765 2013-11-19  Andreas Schwab  <schwab@suse.de>
35767         * locale/programs/locale.c (show_info): Decode wordarray elements.
35768         * locale/categories.def (LC_MONETARY): Add element for
35769         _NL_MONETARY_CRNCYSTR.
35770         * locale/C-monetary.c (conversion_rate): New variable.
35771         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
35772         element.
35774 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
35776         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
35777         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
35779 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
35781         * elf/Makefile (tst-auxv): New test.
35782         * elf/tst-auxv.c: New
35783         * elf/rtld.c (dl_main): Adjust AT_EXECFN
35785 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
35787         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
35788         (hidden_proto): Caller changed.
35789         (hidden_tls_proto): New macro.
35790         (libc_hidden_tls_proto): Likewise.
35791         (rtld_hidden_tls_proto): Likewise.
35792         (libm_hidden_tls_proto): Likewise.
35793         (libresolv_hidden_tls_proto): Likewise.
35794         (librt_hidden_tls_proto): Likewise.
35795         (libdl_hidden_tls_proto): Likewise.
35796         (libnss_files_hidden_tls_proto): Likewise.
35797         (libnsl_hidden_tls_proto): Likewise.
35798         (libnss_nisplus_hidden_tls_proto): Likewise.
35799         (libutil_hidden_tls_proto): Likewise.
35801 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
35803         [BZ #10253]
35804         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
35805         (decompose_rpath): Defer expansion to fillin_rpath.
35806         (_dl_init_paths): Pass linkmap to fillin_rpath.
35808 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35810         * benchtests/Makefile: Add strsep.
35811         * benchtests/bench-strsep.c: New file: strsep benchtest.
35812         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
35814 2013-11-18  Andreas Schwab  <schwab@suse.de>
35816         * locale/programs/locale.c (show_info) [case byte]: Check for
35817         '\377' instead of '\177'.
35818         * locale/C-monetary.c (not_available): Always use "\377".
35819         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
35820         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
35821         detect unavailable sign_posn locale elements.
35822         * locale/localeconv.c (__localeconv): For grouping and
35823         mon_grouping handle "\177" and "\377" like no grouping.
35824         (INT_ELEM): New macro.  Use it to set all numeric members.
35825         * locale/programs/ld-monetary.c (monetary_read)
35826         <tok_mon_grouping>: Normalize single -1 to the empty string.
35827         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
35828         Likewise.
35830 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35832         [BZ #16055]
35833         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
35834         when we match (nil).
35835         * stdio-common/tst-sscanf.c (struct test): Add testcase.
35837 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
35839         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
35840         (NO_TEST_INLINE): Update value.
35841         (ERRNO_UNCHANGED): Likewise.
35842         (ERRNO_EDOM): Likewise.
35843         (ERRNO_ERANGE): Likewise.
35844         (IGNORE_RESULT): Likewise.
35845         (check_float_internal): Check signs of NaN results if
35846         TEST_NAN_SIGN used.
35847         (check_complex): Pass TEST_NAN_SIGN flag through to second
35848         check_float_internal call.
35849         (copysign_test_data): Add tests with quiet NaNs as second
35850         argument.  Use TEST_NAN_SIGN.
35851         (fabs_test_data): Add test of negative quiet NaN argument.  Use
35852         TEST_NAN_SIGN.
35853         (signbit_test_data): Add tests of quiet NaN argument.
35854         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
35856         * math/gen-libm-test.pl (show_exceptions): Take extra argument
35857         $ignore_result.
35858         (parse_args): Handle function results specified as IGNORE.
35859         * math/libm-test.inc (IGNORE_RESULT): New macro.
35860         (check_float_internal): Do not check numerical result if flag
35861         IGNORE_RESULT set.
35862         (check_complex): Pass through IGNORE_RESULT to second
35863         check_float_internal call.
35864         (check_int): Do not check numerical result if flag IGNORE_RESULT
35865         set.
35866         (check_long): Likewise.
35867         (check_bool): Likewise.
35868         (check_longlong): Likewise.
35869         (lrint_test_data): Add tests of infinite and NaN arguments.
35870         (lrint_tonearest_test_data): Likewise.
35871         (lrint_towardzero_test_data): Likewise.
35872         (lrint_downward_test_data): Likewise.
35873         (lrint_upward_test_data): Likewise.
35874         (llrint_test_data): Likewise.
35875         (llrint_tonearest_test_data): Likewise.
35876         (llrint_towardzero_test_data): Likewise.
35877         (llrint_downward_test_data): Likewise.
35878         (llrint_upward_test_data): Likewise.
35879         (lround_test_data): Likewise.
35880         (llround_test_data): Likewise.
35882         * math/libm-test.inc (NO_TEST_INLINE): New macro.
35883         (ERRNO_UNCHANGED): Update value.
35884         (ERRNO_EDOM): Likewise.
35885         (ERRNO_ERANGE): Likewise.
35886         (NO_TEST_INLINE_FLOAT): New macro.
35887         (NO_TEST_INLINE_DOUBLE): Likewise.
35888         (enable_test): New function.
35889         (RUN_TEST_f_f): Check enable_test before running test.
35890         (RUN_TEST_2_f): Likewise.
35891         (RUN_TEST_fff_f): Likewise.
35892         (RUN_TEST_c_f): Likewise.
35893         (RUN_TEST_f_f1): Likewise.
35894         (RUN_TEST_fF_f1): Likewise.
35895         (RUN_TEST_fI_f1): Likewise.
35896         (RUN_TEST_ffI_f1): Likewise.
35897         (RUN_TEST_c_c): Likewise.
35898         (RUN_TEST_cc_c): Likewise.
35899         (RUN_TEST_f_i): Likewise.
35900         (RUN_TEST_f_i_tg): Likewise.
35901         (RUN_TEST_ff_i_tg): Likewise.
35902         (RUN_TEST_f_b): Likewise.
35903         (RUN_TEST_f_b_tg): Likewise.
35904         (RUN_TEST_f_l): Likewise.
35905         (RUN_TEST_f_L): Likewise.
35906         (RUN_TEST_fFF_11): Likewise.
35907         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
35908         conditionals.
35909         (cosh_test_data): Likewise.
35910         (exp_test_data): Likewise.
35911         (expm1_test_data): Likewise.
35912         (hypot_test_data): Likewise.
35913         (pow_test_data): Likewise.
35914         (sinh_test_data): Likewise.
35915         (tanh_test_data): Likewise.
35916         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
35917         flags argument.
35919         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
35920         tests with quiet NaN input and output.
35921         (acosh_test_data): Likewise.
35922         (asin_test_data): Likewise.
35923         (asinh_test_data): Likewise.
35924         (atan_test_data): Likewise.
35925         (atanh_test_data): Likewise.
35926         (atan2_test_data): Likewise.
35927         (cbrt_test_data): Likewise.
35928         (cos_test_data): Likewise.
35929         (cosh_test_data): Likewise.
35930         (erf_test_data): Likewise.
35931         (erfc_test_data): Likewise.
35932         (exp_test_data): Likewise.
35933         (exp10_test_data): Likewise.
35934         (exp2_test_data): Likewise.
35935         (expm1_test_data): Likewise.
35936         (hypot_test_data): Likewise.
35937         (j0_test_data): Likewise.
35938         (j1_test_data): Likewise.
35939         (jn_test_data): Likewise.
35940         (lgamma_test_data): Likewise.
35941         (log_test_data): Likewise.
35942         (log10_test_data): Likewise.
35943         (log1p_test_data): Likewise.
35944         (log2_test_data): Likewise.
35945         (pow_test_data): Likewise.
35946         (scalb_test_data): Likewise.
35947         (sin_test_data): Likewise.
35948         (sincos_test_data): Likewise.
35949         (sinh_test_data): Likewise.
35950         (tan_test_data): Likewise.
35951         (tanh_test_data): Likewise.
35952         (tgamma_test_data): Likewise.
35953         (y0_test_data): Likewise.
35954         (y1_test_data): Likewise.
35955         (yn_test_data): Likewise.
35957         [BZ #16167]
35958         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35959         argument being NaN and avoid computations with second argument in
35960         that case.
35961         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35962         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35965 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35967         * locale/iso-639.def: Add Chitwani Tharu (the).
35969 2013-11-14  Andreas Schwab  <schwab@suse.de>
35971         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35972         word instead of empty string.
35974 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35977         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35979         (__fe_nomask_env): Likewise.
35981 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35983         * benchtests/bench-timing.h: Include time.h.
35985 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35987         [BZ #15997]
35988         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35989         to 3.4.0 for x32.
35990         * sysdeps/unix/sysv/linux/configure: Regenerated.
35992 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35994         [BZ #16151]
35995         * stdlib/strtod_l.c (round_and_return): Do not consider
35996         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35997         exponent one less than half the least subnormal exponent.
35998         * stdlib/test-strtod-round-data: Add more tests.
35999         * stdlib/tst-strtod-round.c (tests): Regenerated.
36001 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36003         [BZ #14143]
36004         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36005         (__fe_mask_env): Likewise.
36006         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36007         libm_hidden_proto and add function prototype.
36008         (__fe_mask_env): Add function prototype.
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36010         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36012         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36014         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36016 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36018         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36019         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36021 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36023         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36024         of htab_find_slot().
36026 2013-11-11  David S. Miller  <davem@davemloft.net>
36028         [BZ #16150]
36029         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36030         symbol in the non-vis3 case in static builds.
36031         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36032         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36033         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36034         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36036 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36038         [BZ #387]
36039         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36040         it is empty.
36042 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36044         * benchtests/Makefile: Add bench-strtod.
36045         * benchtests/bench-strtod.c: New file: strtod benchtest
36047 2013-11-11  Andreas Schwab  <schwab@suse.de>
36049         [BZ #16153]
36050         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36051         terminating NUL in key length.
36053 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36055         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36056         Add artificial ODP entry for vDSO symbol for PPC64.
36057         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36058         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36060 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36062         [BZ #15374]
36063         * nss/getent.c (services_keys): Recognize services starting with digit.
36065 2013-11-06  David S. Miller  <davem@davemloft.net>
36067         [BZ #15985]
36068         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36069         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36071 2013-11-06  Will Newton  <will.newton@linaro.org>
36073         * manual/memory.texi (Malloc Examples): Remove register
36074         keyword from examples.
36076 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36078         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36080 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36082         [BZ #6981]
36083         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36084         depending on [__GCC_IEC_559 > 0].
36085         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36086         depending on [__GCC_IEC_559_COMPLEX > 0].
36088 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36090         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36091         to iso-639.def.
36093 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36095         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36097 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36099         [BZ #16112]
36100         * malloc/malloc (malloc_info): Do not handle first bin as
36101         special case.
36103 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36105         * locale/iso-639.def: Add Central Nahuatl (nhn).
36107 2013-11-01  Bruno Haible  <bruno@clisp.org>
36109         [BZ #7003]
36110         * manual/math.texi (BSD Random): Specify range upper bound as
36111         in POSIX.
36113 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36115         * locale/iso-639.def: Add Meadow Mari (mhr).
36117 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36119         [BZ #14752], [BZ #15763]
36120         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36121         Validate name.
36122         * rt/tst_shm.c: Add test for escaping directory.
36124 2013-10-31  Andreas Schwab  <schwab@suse.de>
36126         [BZ #15917]
36127         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36128         followed by 'x' as part of digit sequence.
36129         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36131 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36133         [BZ #16037]
36134         * configure.ac: allow GNU Make 4.0 and greater.
36135         * configure: Regenerated.
36137 2013-10-30  Will Newton  <will.newton@linaro.org>
36139         [BZ #16038]
36140         * malloc/hooks.c (memalign_check): Limit alignment to the
36141         maximum representable power of two.
36142         * malloc/malloc.c (__libc_memalign): Likewise.
36143         * malloc/tst-memalign.c (do_test): Add test for very
36144         large alignment values.
36145         * malloc/tst-posix_memalign.c (do_test): Likewise.
36147 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36149         [BZ #11087]
36150         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36151         (munmap_chunk): Likewise.
36152         (mremap_chunk): Likewise.
36154 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36156         [BZ #15799]
36157         * stdlib/div.c (div): Remove obsolete code.
36158         * stdlib/ldiv.c (ldiv): Likewise.
36159         * stdlib/lldiv.c (lldiv): Likewise.
36161 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36163         [BZ #16071]
36164         * nss/nss_files/files-XXX.c (get_contents_ret): New
36165         enumerator.
36166         (get_contents): New function.
36167         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36169 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36171         * configure.in: Moved to ...
36172         * configure.ac: ... here. Change reference to configure.in
36173         to configure.ac.
36174         * sysdeps/arm/preconfigure.ac: ... here.
36175         configure.in to configure.ac.
36176         * sysdeps/gnu/configure.in: Moved to ...
36177         * sysdeps/gnu/configure.ac: ... here.
36178         * sysdeps/i386/configure.in: Moved to ...
36179         * sysdeps/i386/configure.ac: ... here.
36180         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36181         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36182         * sysdeps/mach/configure.in: Moved to ...
36183         * sysdeps/mach/configure.ac: ... here.
36184         * sysdeps/mach/hurd/configure.in: Moved to ...
36185         * sysdeps/mach/hurd/configure.ac: ... here.
36186         * sysdeps/powerpc/configure.in: Moved to ...
36187         * sysdeps/powerpc/configure.ac: ... here.
36188         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36189         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36190         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36191         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36192         * sysdeps/s390/s390-32/configure.in: Moved to ...
36193         * sysdeps/s390/s390-32/configure.ac: ... here.
36194         * sysdeps/s390/s390-64/configure.in: Moved to ...
36195         * sysdeps/s390/s390-64/configure.ac: ... here.
36196         * sysdeps/sh/configure.in: Moved to ...
36197         * sysdeps/sh/configure.ac: ... here.
36198         * sysdeps/sparc/configure.in: Moved to ...
36199         * sysdeps/sparc/configure.ac: ... here.
36200         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36201         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36202         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36203         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36204         * sysdeps/x86_64/configure.in: Moved to ...
36205         * sysdeps/x86_64/configure.ac: ... here.
36206         * sysdeps/x86_64/preconfigure.in: Moved to ...
36207         * sysdeps/x86_64/preconfigure.ac: ... here.
36208         * aclocal.m4: Change reference to configure.in to configure.ac.
36209         * config.h.in: Likewise.
36210         * manual/install.texi: Likewise.
36211         * manual/maint.texi: Likewise.
36212         * Makefile: Likewise.
36213         * malloc/Makefile: Likewise.
36214         * nscd/Makefile: Likewise.
36215         * Makeconfig: Change reference to configure.in and
36216         preconfigure.in to configure.ac and preconfigure.ac
36217         respectively.
36218         * INSTALL: Regenerated.
36219         * configure: Likewise.
36220         * sysdeps/gnu/configure: Likewise.
36221         * sysdeps/i386/configure: Likewise.
36222         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36223         * sysdeps/mach/configure: Likewise.
36224         * sysdeps/mach/hurd/configure: Likewise.
36225         * sysdeps/powerpc/configure: Likewise.
36226         * sysdeps/powerpc/powerpc32/configure: Likewise.
36227         * sysdeps/powerpc/powerpc64/configure: Likewise.
36228         * sysdeps/s390/s390-32/configure: Likewise.
36229         * sysdeps/s390/s390-64/configure: Likewise.
36230         * sysdeps/sh/configure: Likewise.
36231         * sysdeps/sparc/configure: Likewise.
36232         * sysdeps/unix/sysv/linux/configure: Likewise.
36233         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36234         * sysdeps/x86_64/configure: Likewise.
36235         * sysdeps/x86_64/preconfigure: Likewise.
36237 2013-10-29  Andreas Schwab  <schwab@suse.de>
36239         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36241 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36243         * benchtests/pow-inputs: Add new inputs.
36245         * benchtests/exp-inputs: Add new inputs.
36247         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36248         conditional check for return value.
36249         (__cos32): Likewise.
36251 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36253         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36254         to provide a boost for large inputs with word alignment.
36255         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36256         implementation based on optimized PPC64 strcpy.
36257         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36258         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36259         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36260         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36262 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36264         [BZ #2801]
36265         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36267 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36269         [BZ #14876]
36270         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36271         * time/tst-strptime.c (day_tests): Add testcase.
36273 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36275         [BZ #14029]
36276         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36278 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36280         [BZ #16074]
36281         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36282         MAP_FAILED on error.
36284 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36286         [BZ #16072]
36287         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36288         heap for large requests.
36290 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36292         [BZ #9954]
36293         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36294         result if the result has no associated interface.
36295         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36296         interface for all 127.X.Y.Z addresses.
36298 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36300         * locale/iso-639.def: Add Ligurian (lij)
36302 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36304         [BZ #15825]
36305         * sunrpc/rpc_main.c: Document rpcgen -5.
36307 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36309         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36311 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36313         [BZ #10278]
36314         * posix/glob.c: Match only directories when trailing slash is present.
36315         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36316         (main): Add testcase.
36318 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36320         [BZ #15670]
36321         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36323 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36325         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36326         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36327         AUTH_DES and cindex for FIPS 140-2.
36328         (DES Encryption): Add cindex FIPS 46-3.
36330         * locale/locarchive.h (struct locarhandle): Add fname.
36331         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36332         if an optional argument was specified to --list-archive,
36333         otherwise NULL.
36334         * locale/programs/locarchive.c (show_archive_content): Take new
36335         argument fname and pass it via ah.fname to open_archive.
36336         * locale/programs/localedef.h: Update decl.
36337         (open_archive): If AH->fname is non-null, open that file
36338         rather than the default file name, and don't ignore ENOENT.
36339         (create_archive): Set AH.fname to NULL.
36340         (delete_locales_from_archive): Likewise.
36341         (add_locales_to_archive): Likewise.
36342         * locale/programs/locfile.c (write_all_categories): Likewise.
36344 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36345             Aldy Hernandez  <aldyh@redhat.com>
36347         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36348         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36349         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36350         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36351         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36352         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36353         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36355         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36356         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36357         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36358         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36359         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36360         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36361         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36362         Likewise.
36363         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36364         Likewise.
36365         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36366         Likewise.
36367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36368         Likewise.
36369         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36370         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36371         Likewise.
36372         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36373         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36374         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36375         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36376         Likewise.
36377         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36378         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36379         * sysdeps/powerpc/preconfigure: Likewise.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36381         Likewise.
36382         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36383         Replace contents of file by #include of <fenv_libc.h>.
36384         * sysdeps/powerpc/soft-fp/sfp-machine.h
36385         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36386         and <sys/prctl.h>.
36387         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36388         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36389         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36390         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36391         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36392         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36400         Allow copysignl PLT reference to be missing.
36402 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36403             Joseph Myers  <joseph@codesourcery.com
36405         [BZ #15948]
36406         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36407         single character.
36408         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36410 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36413         * elf/tst-tls1.c: Likewise.
36414         * elf/tst-tls10.h: Likewise.
36415         * elf/tst-tls14.c: Likewise.
36416         * elf/tst-tls2.c: Likewise.
36417         * elf/tst-tls3.c: Likewise.
36418         * elf/tst-tls4.c: Likewise.
36419         * elf/tst-tls5.c: Likewise.
36420         * elf/tst-tls6.c: Likewise.
36421         * elf/tst-tls7.c: Likewise.
36422         * elf/tst-tls8.c: Likewise.
36423         * elf/tst-tls9.c: Likewise.
36424         * elf/tst-tlsmod1.c: Likewise.
36425         * elf/tst-tlsmod13.c: Likewise.
36426         * elf/tst-tlsmod13a.c: Likewise.
36427         * elf/tst-tlsmod14a.c: Likewise.
36428         * elf/tst-tlsmod16a.c: Likewise.
36429         * elf/tst-tlsmod16b.c: Likewise.
36430         * elf/tst-tlsmod2.c: Likewise.
36431         * elf/tst-tlsmod3.c: Likewise.
36432         * elf/tst-tlsmod4.c: Likewise.
36433         * elf/tst-tlsmod5.c: Likewise.
36434         * elf/tst-tlsmod6.c: Likewise.
36436 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36438         [BZ #12486]
36439         * malloc/malloc.c: remove checks for statistics.
36441 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36443         [BZ #15277]
36444         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36445         * inet/tst-network.c: Add testcase.
36447 2013-10-17  Andreas Schwab  <schwab@suse.de>
36449         [BZ #15218]
36450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36451         to determine canonical name.
36453 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36455         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36456         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36457         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36458         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36459         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36460         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36461         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36462         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36463         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36464         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36465         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36466         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36467         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36468         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36469         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36470         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36472         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36473         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36474         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36475         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36476         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36477         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36478         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36479         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36480         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36481         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36482         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36483         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36484         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36485         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36486         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36487         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36488         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36489         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36490         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36491         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36492         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36493         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36494         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36495         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36496         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36497         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36498         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36499         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36500         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36501         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36502         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36503         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36504         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36505         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36506         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36507         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36508         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36509         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36510         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36511         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36512         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36514 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
36516         [BZ #16041]
36517         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
36518         make result into a quiet NaN.
36520 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
36522         * soft-fp/adddf3.c: Fix horizontal whitespace.
36523         * soft-fp/addsf3.c: Likewise.
36524         * soft-fp/addtf3.c: Likewise.
36525         * soft-fp/divdf3.c: Likewise.
36526         * soft-fp/divsf3.c: Likewise.
36527         * soft-fp/divtf3.c: Likewise.
36528         * soft-fp/double.h: Likewise.
36529         * soft-fp/eqdf2.c: Likewise.
36530         * soft-fp/eqsf2.c: Likewise.
36531         * soft-fp/eqtf2.c: Likewise.
36532         * soft-fp/extenddftf2.c: Likewise.
36533         * soft-fp/extended.h: Likewise.
36534         * soft-fp/extendsfdf2.c: Likewise.
36535         * soft-fp/extendsftf2.c: Likewise.
36536         * soft-fp/extendxftf2.c: Likewise.
36537         * soft-fp/fixdfdi.c: Likewise.
36538         * soft-fp/fixdfsi.c: Likewise.
36539         * soft-fp/fixdfti.c: Likewise.
36540         * soft-fp/fixsfdi.c: Likewise.
36541         * soft-fp/fixsfsi.c: Likewise.
36542         * soft-fp/fixsfti.c: Likewise.
36543         * soft-fp/fixtfdi.c: Likewise.
36544         * soft-fp/fixtfsi.c: Likewise.
36545         * soft-fp/fixtfti.c: Likewise.
36546         * soft-fp/fixunsdfdi.c: Likewise.
36547         * soft-fp/fixunsdfsi.c: Likewise.
36548         * soft-fp/fixunsdfti.c: Likewise.
36549         * soft-fp/fixunssfdi.c: Likewise.
36550         * soft-fp/fixunssfsi.c: Likewise.
36551         * soft-fp/fixunssfti.c: Likewise.
36552         * soft-fp/fixunstfdi.c: Likewise.
36553         * soft-fp/fixunstfsi.c: Likewise.
36554         * soft-fp/fixunstfti.c: Likewise.
36555         * soft-fp/floatdidf.c: Likewise.
36556         * soft-fp/floatdisf.c: Likewise.
36557         * soft-fp/floatditf.c: Likewise.
36558         * soft-fp/floatsidf.c: Likewise.
36559         * soft-fp/floatsisf.c: Likewise.
36560         * soft-fp/floatsitf.c: Likewise.
36561         * soft-fp/floattidf.c: Likewise.
36562         * soft-fp/floattisf.c: Likewise.
36563         * soft-fp/floattitf.c: Likewise.
36564         * soft-fp/floatundidf.c: Likewise.
36565         * soft-fp/floatundisf.c: Likewise.
36566         * soft-fp/floatunditf.c: Likewise.
36567         * soft-fp/floatunsidf.c: Likewise.
36568         * soft-fp/floatunsisf.c: Likewise.
36569         * soft-fp/floatunsitf.c: Likewise.
36570         * soft-fp/floatuntidf.c: Likewise.
36571         * soft-fp/floatuntisf.c: Likewise.
36572         * soft-fp/floatuntitf.c: Likewise.
36573         * soft-fp/fmadf4.c: Likewise.
36574         * soft-fp/fmasf4.c: Likewise.
36575         * soft-fp/fmatf4.c: Likewise.
36576         * soft-fp/gedf2.c: Likewise.
36577         * soft-fp/gesf2.c: Likewise.
36578         * soft-fp/getf2.c: Likewise.
36579         * soft-fp/ledf2.c: Likewise.
36580         * soft-fp/lesf2.c: Likewise.
36581         * soft-fp/letf2.c: Likewise.
36582         * soft-fp/muldf3.c: Likewise.
36583         * soft-fp/mulsf3.c: Likewise.
36584         * soft-fp/multf3.c: Likewise.
36585         * soft-fp/negdf2.c: Likewise.
36586         * soft-fp/negsf2.c: Likewise.
36587         * soft-fp/negtf2.c: Likewise.
36588         * soft-fp/op-1.h: Likewise.
36589         * soft-fp/op-2.h: Likewise.
36590         * soft-fp/op-4.h: Likewise.
36591         * soft-fp/op-8.h: Likewise.
36592         * soft-fp/op-common.h: Likewise.
36593         * soft-fp/quad.h: Likewise.
36594         * soft-fp/single.h: Likewise.
36595         * soft-fp/soft-fp.h: Likewise.
36596         * soft-fp/sqrtdf2.c: Likewise.
36597         * soft-fp/sqrtsf2.c: Likewise.
36598         * soft-fp/sqrttf2.c: Likewise.
36599         * soft-fp/subdf3.c: Likewise.
36600         * soft-fp/subsf3.c: Likewise.
36601         * soft-fp/subtf3.c: Likewise.
36602         * soft-fp/truncdfsf2.c: Likewise.
36603         * soft-fp/trunctfdf2.c: Likewise.
36604         * soft-fp/trunctfsf2.c: Likewise.
36605         * soft-fp/trunctfxf2.c: Likewise.
36606         * soft-fp/unorddf2.c: Likewise.
36607         * soft-fp/unordsf2.c: Likewise.
36608         * soft-fp/unordtf2.c: Likewise.
36610 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
36612         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
36613         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
36615 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
36617         * elf/dl-libc.c: Clear initfini list after freeing.
36619 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
36621         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
36622         * soft-fp/addsf3.c: Likewise.
36623         * soft-fp/addtf3.c: Likewise.
36624         * soft-fp/divdf3.c: Likewise.
36625         * soft-fp/divsf3.c: Likewise.
36626         * soft-fp/divtf3.c: Likewise.
36627         * soft-fp/double.h: Likewise.
36628         * soft-fp/eqdf2.c: Likewise.
36629         * soft-fp/eqsf2.c: Likewise.
36630         * soft-fp/eqtf2.c: Likewise.
36631         * soft-fp/extenddftf2.c: Likewise.
36632         * soft-fp/extended.h: Likewise.
36633         * soft-fp/extendsfdf2.c: Likewise.
36634         * soft-fp/extendsftf2.c: Likewise.
36635         * soft-fp/extendxftf2.c: Likewise.
36636         * soft-fp/fixdfdi.c: Likewise.
36637         * soft-fp/fixdfsi.c: Likewise.
36638         * soft-fp/fixdfti.c: Likewise.
36639         * soft-fp/fixsfdi.c: Likewise.
36640         * soft-fp/fixsfsi.c: Likewise.
36641         * soft-fp/fixsfti.c: Likewise.
36642         * soft-fp/fixtfdi.c: Likewise.
36643         * soft-fp/fixtfsi.c: Likewise.
36644         * soft-fp/fixtfti.c: Likewise.
36645         * soft-fp/fixunsdfdi.c: Likewise.
36646         * soft-fp/fixunsdfsi.c: Likewise.
36647         * soft-fp/fixunsdfti.c: Likewise.
36648         * soft-fp/fixunssfdi.c: Likewise.
36649         * soft-fp/fixunssfsi.c: Likewise.
36650         * soft-fp/fixunssfti.c: Likewise.
36651         * soft-fp/fixunstfdi.c: Likewise.
36652         * soft-fp/fixunstfsi.c: Likewise.
36653         * soft-fp/fixunstfti.c: Likewise.
36654         * soft-fp/floatdidf.c: Likewise.
36655         * soft-fp/floatdisf.c: Likewise.
36656         * soft-fp/floatditf.c: Likewise.
36657         * soft-fp/floatsidf.c: Likewise.
36658         * soft-fp/floatsisf.c: Likewise.
36659         * soft-fp/floatsitf.c: Likewise.
36660         * soft-fp/floattidf.c: Likewise.
36661         * soft-fp/floattisf.c: Likewise.
36662         * soft-fp/floattitf.c: Likewise.
36663         * soft-fp/floatundidf.c: Likewise.
36664         * soft-fp/floatundisf.c: Likewise.
36665         * soft-fp/floatunsidf.c: Likewise.
36666         * soft-fp/floatunsisf.c: Likewise.
36667         * soft-fp/floatuntidf.c: Likewise.
36668         * soft-fp/floatuntisf.c: Likewise.
36669         * soft-fp/floatuntitf.c: Likewise.
36670         * soft-fp/fmadf4.c: Likewise.
36671         * soft-fp/fmasf4.c: Likewise.
36672         * soft-fp/fmatf4.c: Likewise.
36673         * soft-fp/gedf2.c: Likewise.
36674         * soft-fp/gesf2.c: Likewise.
36675         * soft-fp/getf2.c: Likewise.
36676         * soft-fp/ledf2.c: Likewise.
36677         * soft-fp/lesf2.c: Likewise.
36678         * soft-fp/letf2.c: Likewise.
36679         * soft-fp/muldf3.c: Likewise.
36680         * soft-fp/mulsf3.c: Likewise.
36681         * soft-fp/multf3.c: Likewise.
36682         * soft-fp/negdf2.c: Likewise.
36683         * soft-fp/negsf2.c: Likewise.
36684         * soft-fp/negtf2.c: Likewise.
36685         * soft-fp/op-1.h: Likewise.
36686         * soft-fp/op-2.h: Likewise.
36687         * soft-fp/op-4.h: Likewise.
36688         * soft-fp/op-8.h: Likewise.
36689         * soft-fp/op-common.h: Likewise.
36690         * soft-fp/quad.h: Likewise.
36691         * soft-fp/single.h: Likewise.
36692         * soft-fp/soft-fp.h: Likewise.
36693         * soft-fp/sqrtdf2.c: Likewise.
36694         * soft-fp/sqrtsf2.c: Likewise.
36695         * soft-fp/sqrttf2.c: Likewise.
36696         * soft-fp/subdf3.c: Likewise.
36697         * soft-fp/subsf3.c: Likewise.
36698         * soft-fp/subtf3.c: Likewise.
36699         * soft-fp/truncdfsf2.c: Likewise.
36700         * soft-fp/trunctfdf2.c: Likewise.
36701         * soft-fp/trunctfsf2.c: Likewise.
36702         * soft-fp/trunctfxf2.c: Likewise.
36703         * soft-fp/unorddf2.c: Likewise.
36704         * soft-fp/unordsf2.c: Likewise.
36705         * soft-fp/unordtf2.c: Likewise.
36707 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
36709         [BZ #15672]
36710         * misc/error.c (error_tail): Fix possible buffer overflow.
36712 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
36714         [BZ #13028]
36715         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
36716         address.
36718 2013-10-14  P. J. McDermott  <pj@pehjota.net>
36720         [BZ #832]
36721         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
36722         testing pipefail option.
36724 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36726         * soft-fp/double.h: Indent preprocessor directives inside #if.
36727         * soft-fp/extended.h: Likewise.
36728         * soft-fp/op-2.h: Likewise.
36729         * soft-fp/op-4.h: Likewise.
36730         * soft-fp/op-common.h: Likewise.
36731         * soft-fp/quad.h: Likewise.
36732         * soft-fp/single.h: Likewise.
36733         * soft-fp/soft-fp.h: Likewise.
36735 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
36737         * iconv/iconv_prog.c: Fix typos.
36738         * stdio-common/psiginfo-data.h: Likewise.
36740 2013-10-12   Reuben Thomas <rrt@sc3d.org>
36742         [BZ #15764]
36743         * locale/setlocale.c: Fix typo.
36745 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
36747         [BZ #16036]
36748         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
36749         signaling NaN arguments.
36750         * soft-fp/unordsf2.c (__unordsf2): Likewise.
36751         * soft-fp/unordtf2.c (__unordtf2): Likewise.
36753         [BZ #14910]
36754         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
36755         unordered operands.
36756         * soft-fp/gesf2.c (__gesf2): Likewise.
36757         * soft-fp/getf2.c (__getf2): Likewise.
36758         * soft-fp/ledf2.c (__ledf2): Likewise.
36759         * soft-fp/lesf2.c (__lesf2): Likewise.
36760         * soft-fp/letf2.c (__letf2): Likewise.
36762         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
36763         * soft-fp/eqsf2.c (__eqsf2): Likewise.
36764         * soft-fp/eqtf2.c (__eqtf2): Likewise.
36765         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
36766         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
36767         * soft-fp/fixdfti.c (__fixdfti): Likewise.
36768         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
36769         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
36770         * soft-fp/fixsfti.c (__fixsfti): Likewise.
36771         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
36772         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
36773         * soft-fp/fixtfti.c (__fixtfti): Likewise.
36774         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
36775         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
36776         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
36777         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
36778         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
36779         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
36780         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
36781         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
36782         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
36783         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
36784         * soft-fp/floatdisf.c (__floatdisf): Likewise.
36785         * soft-fp/floatsisf.c (__floatsisf): Likewise.
36786         * soft-fp/floattidf.c (__floattidf): Likewise.
36787         * soft-fp/floattisf.c (__floattisf): Likewise.
36788         * soft-fp/floattitf.c (__floattitf): Likewise.
36789         * soft-fp/floatundidf.c (__floatundidf): Likewise.
36790         * soft-fp/floatundisf.c (__floatundisf): Likewise.
36791         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
36792         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
36793         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
36794         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
36795         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
36796         * soft-fp/gesf2.c (__gesf2): Likewise.
36797         * soft-fp/getf2.c (__getf2): Likewise.
36798         * soft-fp/ledf2.c (__ledf2): Likewise.
36799         * soft-fp/lesf2.c (__lesf2): Likewise.
36800         * soft-fp/letf2.c (__letf2): Likewise.
36802         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
36803         Undefine and redefine.
36804         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
36805         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
36806         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
36807         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
36808         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36809         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
36810         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36811         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
36812         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36813         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
36814         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36815         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
36816         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36817         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
36818         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
36820         [BZ #16032]
36821         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
36822         without decrementing exponent if mantissa >= that for the
36823         denominator, not >.
36824         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
36825         denominator, not >.  Decrement exponent in < case instead of
36826         incrementing in >= case.
36827         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
36828         without decrementing exponent if mantissa >= that for the
36829         denominator, not >.
36831         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
36832         computing saturated result for unsigned overflow.
36834 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36835             Jeff Law  <law@redhat.com>
36837         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
36838         (atan2Mp): Add systemtap probe marker.
36839         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
36840         (__ieee754_log): Add systemtap probe marker.
36841         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
36842         (atanMp): Add systemtap probe marker.
36843         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
36844         (tanMp): Add systemtap probe marker.
36845         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
36846         (__slowexp): Add systemtap probe marker.
36847         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
36848         (__slowpow): Add systemtap probe marker.
36849         * manual/probes.texi: Document probes.
36851 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
36853         [BZ #15362]
36854         * libio/fileops.c (_IO_new_file_write): Return count of bytes
36855         written.
36856         (_IO_new_file_xsputn): Don't return EOF if nothing has been
36857         written.
36858         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
36859         written to buffer but not flushed.
36860         * libio/iofwrite_u.c:  Likewise.
36861         * libio/iopadn.c:  Return bytes returned even if EOF was
36862         encountered.
36863         * libio/iowpadn.c:  Likewise.
36864         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
36865         if _IO_padn does not write the whole buffer.
36866         [!COMPILE_WPRINTF] (PAD): Likewise.
36868 2013-10-10  David S. Miller  <davem@davemloft.net>
36870         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
36871         directory block.
36873 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36875         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
36876         instead of FSF address.
36877         * soft-fp/fixdfti.c: Likewise.
36878         * soft-fp/fixsfti.c: Likewise.
36879         * soft-fp/fixtfti.c: Likewise.
36880         * soft-fp/fixunsdfti.c: Likewise.
36881         * soft-fp/fixunssfti.c: Likewise.
36882         * soft-fp/fixunstfti.c: Likewise.
36883         * soft-fp/floattidf.c: Likewise.
36884         * soft-fp/floattisf.c: Likewise.
36885         * soft-fp/floattitf.c: Likewise.
36886         * soft-fp/floatuntidf.c: Likewise.
36887         * soft-fp/floatuntisf.c: Likewise.
36888         * soft-fp/floatuntitf.c: Likewise.
36889         * soft-fp/trunctfxf2.c: Likewise.
36891         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
36892         * soft-fp/fixdfti.c: Likewise.
36893         * soft-fp/fixsfti.c: Likewise.
36894         * soft-fp/fixtfti.c: Likewise.
36895         * soft-fp/fixunsdfti.c: Likewise.
36896         * soft-fp/fixunssfti.c: Likewise.
36897         * soft-fp/fixunstfti.c: Likewise.
36898         * soft-fp/floattidf.c: Likewise.
36899         * soft-fp/floattisf.c: Likewise.
36900         * soft-fp/floattitf.c: Likewise.
36901         * soft-fp/floatuntidf.c: Likewise.
36902         * soft-fp/floatuntisf.c: Likewise.
36903         * soft-fp/floatuntitf.c: Likewise.
36904         * soft-fp/trunctfxf2.c: Likewise.
36906 2013-10-10  David S. Miller  <davem@davemloft.net>
36908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36910 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
36912         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
36913         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
36914         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
36915         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
36916         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
36917         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
36918         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
36920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
36921         for NaNs before doing comparisons on argument.
36922         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36923         Likewise.
36925 2013-10-10  Will Newton  <will.newton@linaro.org>
36927         * malloc/hooks.c (memalign_check): Ensure the value of bytes
36928         passed to _int_memalign does not overflow.
36930 2013-10-10  Torvald Riegel  <triegel@redhat.com>
36932         * scripts/bench.pl: Add include-sources directive.
36933         * benchtests/README: Update documentation.
36935 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36937         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36938         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36939         instead of FP_INIT_ROUNDMODE.
36940         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36941         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36943         [BZ #16034]
36944         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36945         copy class of input value.
36946         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36947         not handle exceptions.
36948         * soft-fp/negsf2.c (__negsf2): Likewise.
36949         * soft-fp/negtf2.c (__negtf2): Likewise.
36950         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36952 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36954         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36955         semicolon.  From Linux kernel.
36957 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36959         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36961 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36963         [BZ #156]
36964         * manual/socket.texi: Added statement about buffer
36965         for gethostbyname2_r.
36967 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36969         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36970         Use .p2align directive instead, throughout.
36971         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36972         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36973         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36974         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36975         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36976         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36977         * sysdeps/x86_64/strchr.S: Likewise.
36978         * sysdeps/x86_64/strrchr.S: Likewise.
36980 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36982         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36984         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36986         * sysdeps/generic/math_private.h (__mpsin1): Remove
36987         declaration.
36988         (__mpcos1): Likewise.
36989         (__mpsin): New argument __range_reduce.
36990         (__mpcos): Likewise.
36991         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36992         (slow): Use __mpsin and __mpcos.
36993         (slow1): Likewise.
36994         (slow2): Likewise.
36995         (sloww): Likewise.
36996         (sloww1): Likewise.
36997         (sloww2): Likewise.
36998         (bsloww): Likewise.
36999         (bsloww1): Likewise.
37000         (bsloww2): Likewise.
37001         (cslow2): Likewise.
37002         (csloww): Likewise.
37003         (csloww1): Likewise.
37004         (csloww2): Likewise.
37005         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37006         range_reduce.  Merge in __mpsin1.
37007         (__mpcos): Likewise.
37008         (__mpsin1): Remove.
37009         (__mpcos1): Likewise.
37011 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37013         * locale/loadlocale.c (_nl_intern_locale_data): Use
37014         LOCFILE_ALIGNED_P.
37015         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37016         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37017         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37018         obstack data is appropriately aligned.
37019         (obstack_int32_grow_fast): Likewise.
37020         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37021         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37022         (add_locale_uint32_array): Likewise.
37024 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37026         * benchtests/Makefile: Remove ARGLIST and RET variables.
37027         ($(objpfx)bench-%.c): Pass only function name to the script.
37028         * benchtests/README: Update documentation.
37029         * benchtests/acos-inputs: Add new directives.
37030         * benchtests/acosh-inputs: Likewise.
37031         * benchtests/asin-inputs: Likewise.
37032         * benchtests/asinh-inputs: Likewise.
37033         * benchtests/atan-inputs: Likewise.
37034         * benchtests/atanh-inputs: Likewise.
37035         * benchtests/cos-inputs: Likewise.
37036         * benchtests/cosh-inputs: Likewise.
37037         * benchtests/exp-inputs: Likewise.
37038         * benchtests/log-inputs: Likewise.
37039         * benchtests/pow-inputs: Likewise.
37040         * benchtests/rint-inputs: Likewise.
37041         * benchtests/sin-inputs: Likewise.
37042         * benchtests/sinh-inputs: Likewise.
37043         * benchtests/tan-inputs: Likewise.
37044         * benchtests/tanh-inputs: Likewise.
37045         * scripts/bench.pl: Add support for new directives.
37047 2013-10-07  Alan Modra  <amodra@gmail.com>
37049         * README: Fix careless merge.
37051 2013-10-05  Alan Modra  <amodra@gmail.com>
37053         * NEWS: Mention powerpc64le support and bugs fixed.
37054         * README: Both big-endian and little-endian powerpc64 supported.
37056 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37058         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37059         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37060         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37061         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37063 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37065         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37066         match prototype.
37068 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37070         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37071         Move -mhard-float appending from
37072         ports/sysdeps/powerpc/powerpc32/Makefile.
37073         [$(with-fp) = yes] (ASFLAGS): Likewise.
37074         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37075         * sysdeps/powerpc/nofpu: Move directory from
37076         ports/sysdeps/powerpc/nofpu.
37077         * sysdeps/powerpc/soft-fp: Move directory from
37078         ports/sysdeps/powerpc/soft-fp.
37079         * sysdeps/powerpc/powerpc32/405: Move directory from
37080         ports/sysdeps/powerpc/powerpc32/405.
37081         * sysdeps/powerpc/powerpc32/440: Move directory from
37082         ports/sysdeps/powerpc/powerpc32/440.
37083         * sysdeps/powerpc/powerpc32/464: Move directory from
37084         ports/sysdeps/powerpc/powerpc32/464.
37085         * sysdeps/powerpc/powerpc32/476: Move directory from
37086         ports/sysdeps/powerpc/powerpc32/476.
37087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37088         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37090         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37092         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37097         * README: Update for powerpc-*-linux-gnu software floating point
37098         support in libc.
37100         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37101         case to powerpc/powerpc32*.
37102         * sysdeps/unix/sysv/linux/configure: Regenerated.
37104         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37105         (_FPU_MASK_OM): Define as 0x04.
37106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37108         0x00c10080.
37109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37110         0x0000003c.
37111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37114         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37115         getcontext_e500.
37116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37117         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37118         setcontext_e500.
37119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37121         and setcontext_e500.
37123 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37125         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37127 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37129         * manual/threads.texi (Default Thread Attributes): Fix typo.
37131 2013-10-04  Will Newton  <will.newton@linaro.org>
37133         * malloc/Makefile: Add tst-memalign.
37134         * malloc/tst-memalign.c: New file.
37136         * malloc/tst-posix_memalign.c: Add comments.
37137         (do_test): Add comments and call free on all potentially
37138         allocated pointers. Add space after cast.
37140         * malloc/tst-pvalloc.c: Add comments.
37141         (do_test): Add comments and call free on all potentially
37142         allocated pointers. Remove duplicate check for NULL pointer.
37143         Add space after cast.
37145         * malloc/tst-valloc.c: Add comments.
37146         (do_test): Add comments and call free on all potentially
37147         allocated pointers. Remove duplicate check for NULL pointer.
37148         Add space after cast.
37150 2013-10-04  Alan Modra  <amodra@gmail.com>
37152         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37153         Use stdint types in rather than __attribute__((mode())).
37154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37156 2013-10-04  Alan Modra  <amodra@gmail.com>
37158         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37159         Correct handling of unaligned relocs for little-endian.
37160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37162 2013-10-04  Alan Modra  <amodra@gmail.com>
37164         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37165         * configure: Regenerate.
37166         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37167         * shlib-versions: Likewise.
37169 2013-10-04  Alan Modra  <amodra@gmail.com>
37171         * string/tester.c (test_memrchr): Increment reported test cycle.
37173 2013-10-04  Alan Modra  <amodra@gmail.com>
37175         * string/test-memcpy.c (do_one_test): When reporting errors, print
37176         string address and don't overrun end of string.
37178 2013-10-04  Alan Modra  <amodra@gmail.com>
37180         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37181         insrdi.  Make better use of reg selection to speed exit slightly.
37182         Schedule entry path a little better.  Remove useless "are we done"
37183         checks on entry to main loop.  Handle wrapping around zero address.
37184         Correct main loop count.  Handle single left-over word from main
37185         loop inline rather than by using loop_small.  Remove extra word
37186         case in loop_small caused by wrong loop count.  Add little-endian
37187         support.
37188         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37189         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37190         cache hint.
37191         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37192         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37193         support.  Avoid rlwimi.
37194         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37196 2013-10-04  Alan Modra  <amodra@gmail.com>
37198         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37199         insrdi.  Formatting.
37200         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37201         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37202         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37203         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37204         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37205         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37207 2013-10-04  Alan Modra  <amodra@gmail.com>
37209         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37210         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37211         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37212         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37213         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37214         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37215         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37216         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37217         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37218         use of regs.  Use power7 mtocrf.  Tidy function tails.
37220 2013-10-04  Alan Modra  <amodra@gmail.com>
37222         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37223         Formatting.  Consistently use rXXX register defines or rN defines.
37224         Use early exit labels that avoid restoring unused non-volatile regs.
37225         Make cr field use more consistent with rWORDn compares.  Rename
37226         regs used as shift registers for unaligned loop, using rN defines
37227         for short lifetime/multiple use regs.
37228         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37229         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37230         addi 1,1,64 to pop stack frame.  Simplify return value code.
37231         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37233 2013-10-04  Alan Modra  <amodra@gmail.com>
37235         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37236         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37237         rather than rlwimi.
37238         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37239         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37240         little-endian support.  Correct typos.
37241         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37242         rather than rlwimi.
37243         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37244         in loop and entry code to keep "and." results.
37245         (strchr): Add little-endian support.  Comment.  Move cntlzd
37246         earlier in tail.
37247         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37249 2013-10-04  Alan Modra  <amodra@gmail.com>
37251         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37252         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37253         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37254         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37256 2013-10-04  Alan Modra  <amodra@gmail.com>
37258         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37259         (rTMP): Define as r11.
37260         (strcmp): Add little-endian support.  Optimise tail.
37261         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37262         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37263         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37264         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37265         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37266         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37267         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37269 2013-10-04  Alan Modra  <amodra@gmail.com>
37271         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37272         little-endian support.  Remove unnecessary "are we done" tests.
37273         Handle "s" wrapping around zero and extremely large "size".
37274         Correct main loop count.  Handle single left-over word from main
37275         loop inline rather than by using small_loop.  Correct comments.
37276         Delete "zero" tail, use "end_max" instead.
37277         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37279 2013-10-04  Alan Modra  <amodra@gmail.com>
37281         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37282         support.  Don't branch over align.
37283         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37284         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37285         support.  Rearrange tmp reg use to suit.  Comment.
37286         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37288 2013-10-04  Alan Modra  <amodra@gmail.com>
37290         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37292 2013-10-04  Alan Modra  <amodra@gmail.com>
37294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37295         conditional form of branch and link when obtaining pc.
37296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37298 2013-10-04  Alan Modra  <amodra@gmail.com>
37300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37301         HIWORD/LOWORD.
37302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37305 2013-10-04  Alan Modra  <amodra@gmail.com>
37307         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37308         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37309         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37310         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37311         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37313         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37314         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37315         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37316         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37319             Alistair Popple <alistair@ozlabs.au.ibm.com>
37320             Alan Modra <amodra@gmail.com>
37322         [BZ #15723]
37323         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37324         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37325         _dl_hwcap access for little-endian.
37326         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37327         destroy vmx regs when saving unaligned.
37328         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37329         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37330         destroy vmx regs when saving unaligned.
37332 2013-10-04  Alan Modra  <amodra@gmail.com>
37334         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37335         Don't use a union to pack hi/low value.
37337 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37339         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37340         for little-endian.
37341         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37343         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37344         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37345         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37347 2013-10-04  Alan Modra  <amodra@gmail.com>
37349         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37350         constants to usual value for .cst8 section, and remove redundant
37351         high address load.
37352         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37353         constant for 0x1p52.  Load little-endian words of double from
37354         correct stack offsets.
37356 2013-10-04  Alan Modra  <amodra@gmail.com>
37358         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37359         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37360         words of double from correct stack offsets.
37361         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37362         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37363         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37365         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37366         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37367         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37368         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37369         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37370         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37371         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37372         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37373         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37374         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37375         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37376         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37377         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37379 2013-10-04  Alan Modra  <amodra@gmail.com>
37381         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37382         64-bit int/double union.
37383         (_FPU_SETCW): Likewise.
37384         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37385         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37387 2013-10-04  Alan Modra  <amodra@gmail.com>
37389         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37390         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37392 2013-10-04  Alan Modra  <amodra@gmail.com>
37394         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37395         use vector int constants.
37396         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37398 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37400         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37401         array with long long.
37402         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37403         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37404         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37405         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37406         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37407         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37408         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37409         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37410         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37411         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37412         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37413         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37414         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37416 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37418         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37419         (__signbit): Likewise.  Correct for little-endian.
37420         (__signbitl): Call __signbit.
37421         (lrint): Correct for little-endian.
37422         (lrintf): Call lrint.
37424 2013-10-04  Alan Modra  <amodra@gmail.com>
37426         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37427         union 32-bit int array member with 64-bit int array.
37428         (t515, tm256): Double rather than long double.
37429         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37431 2013-10-04  Alan Modra  <amodra@gmail.com>
37433         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37434         Delete.
37435         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37437         version of math_ldbl.h.
37439 2013-10-04  Alan Modra  <amodra@gmail.com>
37441         [BZ #15734], [BZ #15735]
37442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37443         all uses of ieee875 long double macros and unions.  Simplify test
37444         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37445         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37446         normalize after ldbl_extract_mantissa, and don't add hidden bit
37447         already handled.  Don't treat low word of ieee854 mantissa like
37448         low word of IBM long double and mask off bit when testing for
37449         zero.
37450         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37451         all uses of ieee875 long double macros and unions.  Simplify tests
37452         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37453         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37454         two1022, instead use their values.  Recognise that tests for large
37455         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37457         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37458         test for 0.0L and nan.  Correct negation.
37459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37460         ieee875 long double macros and unions.  Correct output for large
37461         magnitude x.  Correct absolute value calculation.
37462         (__erfcl): Likewise.
37463         * math/libm-test.inc: Add tests for errors discovered in IBM long
37464         double versions of fmodl, remainderl, erfl and erfcl.
37466 2013-10-04  Alan Modra  <amodra@gmail.com>
37468         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37469         all uses of ieee854 long double macros and unions.  Simplify tests
37470         for long doubles that are fully specified by the high double.
37471         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37472         Likewise.
37473         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37474         Remove dead code too.
37475         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37476         (__ieee754_ynl): Likewise.
37477         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37480         Remove dead code too.
37481         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37482         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37483         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37484         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37485         Simplify.
37486         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37487         Simplify.
37488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37489         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37490         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37491         Comment on variable precision.
37492         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37493         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37494         Likewise.
37495         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37496         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37497         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37498         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37499         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37501 2013-10-04  Alan Modra  <amodra@gmail.com>
37503         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
37504         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
37505         all uses of ieee854 long double macros and unions.
37506         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
37507         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37508         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
37509         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
37510         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
37511         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37512         Likewise.
37513         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
37514         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37515         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
37516         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
37518         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
37519         Simplify sign and nan test too.
37520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
37521         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
37522         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
37523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
37524         Likewise.
37525         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37526         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
37527         Likewise.
37528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37529         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
37530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
37531         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
37532         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
37533         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
37535 2013-10-04  Alan Modra  <amodra@gmail.com>
37537         * stdio-common/printf_size.c (__printf_size): Don't use
37538         union ieee854_long_double in fpnum union.
37539         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
37540         signbit macro to retrieve sign from long double.
37541         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
37542         retrieve sign from long double.
37543         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
37544         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
37545         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
37546         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37547         * math/test-misc.c (main): Don't use union ieee854_long_double.
37549 2013-10-04  Alan Modra  <amodra@gmail.com>
37551         [BZ #15680]
37552         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
37553         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
37554         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
37555         calculation.  Remove unnecessary test for denormal exponent.
37556         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
37557         Correct handling of denormals.  Avoid undefined shift behaviour.
37558         Correct normalisation of low mantissa when low double is denormal.
37559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
37560         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
37561         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
37562         Correct normalisation of low mantissa.  Test for overflow of high
37563         mantissa and normalise.
37564         (ldbl_nearbyint): Use more readable constant for two52.
37565         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
37566         (__mpn_construct_long_double): Fix test for overflow of high
37567         mantissa and correct normalisation.  Avoid undefined shift.
37569 2013-10-04  Alan Modra  <amodra@gmail.com>
37571         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37572         (union ibm_extended_long_double): Define as an array of ieee754_double.
37573         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
37574         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
37575         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
37576         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37578         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
37579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37580         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37581         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37582         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
37583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37585 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
37587         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
37588         page size instead of calling getpagesize.
37590         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
37591         (LOCFILE_ALIGN_MASK): Likewise.
37592         (LOCFILE_ALIGN_UP): Likewise.
37593         (LOCFILE_ALIGNED_P): Likewise.
37594         * locale/programs/ld-collate.c (collate_output): Use the new
37595         macros instead of __alignof__ (int32_t).
37596         * locale/weight.h (findidx): Likewise.
37598 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
37600         [BZ #431]
37601         * manual/string.texi: Fix strncat and wcsncat.
37603 2013-10-03  Brooks Moses  <bmoses@google.com>
37605         [BZ #15915]
37606         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
37607         * Makerules: ...here, and adjust associated comments.
37609 2013-10-02  Will Newton  <will.newton@linaro.org>
37611         * malloc/Makefile: Add tst-pvalloc.
37612         * malloc/tst-pvalloc.c: New file.
37614 2013-10-02  Will Newton  <will.newton@linaro.org>
37616         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
37617         improve test coverage.
37619 2013-10-02  Will Newton  <will.newton@linaro.org>
37621         * malloc/Makefile: Add tst-posix_memalign.
37622         * malloc/tst-posix_memalign.c: New file.
37624 2013-10-01  Eric Blake  <eblake@redhat.com>
37626         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
37627         Use __THROWNL rather than __THROW on static functions.
37629 2013-09-30  Petr Machata  <pmachata@redhat.com>
37631         * elf/elf.h (R_AARCH64_ABS16): New macro.
37632         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
37633         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
37634         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
37635         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
37636         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
37637         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
37638         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
37639         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
37640         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
37641         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
37642         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
37643         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
37644         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
37645         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
37646         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
37647         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
37648         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
37649         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
37650         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
37651         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
37652         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
37653         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
37654         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
37655         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
37656         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
37657         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
37658         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
37659         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
37660         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
37661         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
37662         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
37663         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
37664         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
37665         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
37666         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
37667         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
37668         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
37669         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
37670         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
37671         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
37672         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
37673         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
37674         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
37675         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
37676         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
37677         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
37678         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
37679         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
37680         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
37681         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
37682         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
37683         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
37684         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
37685         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
37686         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
37687         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
37688         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
37689         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
37690         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
37691         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
37692         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
37693         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
37694         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
37695         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
37696         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
37697         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
37698         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
37699         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
37700         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
37701         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
37702         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
37703         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
37704         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
37705         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
37706         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
37707         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
37708         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
37709         (R_AARCH64_TLSDESC_LDR): Likewise.
37710         (R_AARCH64_TLSDESC_ADD): Likewise.
37711         (R_AARCH64_TLSDESC_CALL): Likewise.
37713 2013-09-30  Andreas Schwab  <schwab@suse.de>
37715         [BZ #15048]
37716         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
37717         the nss database lookup.
37718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37719         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37721 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
37723         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
37725 2013-09-28  P. J. McDermott  <pj@pehjota.net>
37727         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
37728         ${Bash-specific parameter/pattern/string} parameter expansion.
37729         * sysdeps/unix/make-syscalls.sh: Likewise.
37731 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37733         * sysdeps/sh/stackguard-macros.h: New file.
37735 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
37737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
37739         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
37740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
37741         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37742         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
37744 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37746         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
37747         Fix thread ID register.
37749 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
37751         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
37752         [POSIX || UNIX98]: Require rather than permitting all symbols from
37753         <time.h>.
37754         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
37755         element of struct sched_param.
37756         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
37757         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
37758         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
37759         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
37760         constant.
37762 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
37764         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
37765         argument calculation.
37767 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37769         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
37770         Expect macro.
37771         [POSIX] (pthread_attr_t): Do not require type.
37772         [POSIX] (pthread_cond_t): Likewise.
37773         [POSIX] (pthread_condattr_t): Likewise.
37774         [POSIX] (pthread_key_t): Likewise.
37775         [POSIX] (pthread_mutex_t): Likewise.
37776         [POSIX] (pthread_mutexattr_t): Likewise.
37777         [POSIX] (pthread_once_t): Likewise.
37778         [POSIX] (pthread_t): Likewise.
37779         [POSIX-based standards] (pthread_atfork): Expect function.
37781 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
37782             Richard Sandiford  <richard@codesourcery.com>
37784         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
37785         (swap_endianness_p): New extern variable.
37786         (set_big_endian): New inline function.
37787         (maybe_swap_uint32): Likewise.
37788         (maybe_swap_uint32_array): Likewise.
37789         (maybe_swap_uint32_obstack): Likewise.
37790         * locale/programs/locfile.c: Include <stdbool.h>.
37791         (swap_endianness_p): New variable.
37792         (add_locale_uint32): Call maybe_swap_uint32.
37793         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
37794         (write_locale_data): Call maybe_swap_uint32_array.
37795         * locale/programs/ld-collate.c (obstack_int32_grow): Call
37796         maybe_swap_uint32.
37797         (obstack_int32_grow_fast): Likewise.
37798         (output_weightwc): Call maybe_swap_uint32_obstack.
37799         (collate_output): Likewise.
37800         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
37801         (OPT_LITTLE_ENDIAN): Likewise.
37802         (options): Add --little-endian and --big-endian options.
37803         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
37804         * locale/programs/locarchive.c: Include "locfile.h".
37805         (GET): New macro.
37806         (SET): Likewise.
37807         (INC): Likewise.
37808         (create_archive): Use the new macros to access fields of
37809         structures directly mapped from or written to locale archives.
37810         (oldlocrecentcmp): Likewise.
37811         (enlarge_archive): Likewise.
37812         (insert_name): Likewise.
37813         (add_alias): Likewise.
37814         (add_locale): Likewise.
37815         (delete_locales_from_archive): Likewise.
37816         (show_archive_content): Likewise.
37817         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
37818         locale data.
37820 2013-09-24  Roland McGrath  <roland@hack.frob.com>
37822         * manual/freemanuals.texi: Updated from (newly) canonical copy at
37823         http://www.gnu.org/doc/freemanuals.texi.
37824         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
37826 2013-09-24  Will Newton  <will.newton@linaro.org>
37828         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
37829         macro.
37831 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
37833         * locale/hashval.h (compute_hashval): Interpret bytes of key as
37834         unsigned char.
37836 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
37838         * manual/threads.texi (POSIX Threads): Fix a typo.
37840 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37842         [BZ #14547]
37843         * string/tst-strcoll-overflow.c: New test case.
37844         * string/Makefile (xtests): Add tst-strcoll-overflow.
37845         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
37846         cache if string sizes may cause integer overflow.
37848         [BZ #14547]
37849         * string/strcoll_l.c (coll_seq): New members rule, idx,
37850         save_idx and back_us.
37851         (get_next_seq_nocache): New function.
37852         (do_compare_nocache): New function.
37853         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
37854         when malloc fails.
37856 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
37858         [BZ #15754]
37859         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
37860         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
37861         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
37863         [BZ #15754]
37864         * elf/Makefile (tests): Add tst-ptrguard1.
37865         (tests-static): Add tst-ptrguard1-static.
37866         (tst-ptrguard1-ARGS): Define.
37867         (tst-ptrguard1-static-ARGS): Define.
37868         * elf/tst-ptrguard1.c: New file.
37869         * elf/tst-ptrguard1-static.c: New file.
37870         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
37871         * sysdeps/i386/stackguard-macros.h: Likewise.
37872         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37873         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37874         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37875         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37876         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37877         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37879 2013-09-23  Hector Marco  <hecmargi@upv.es>
37880             Ismael Ripoll  <iripoll@disca.upv.es>
37881             Carlos O'Donell  <carlos@redhat.com>
37883         [BZ #15754]
37884         * sysdeps/generic/stackguard-macros.h: Define
37885         __pointer_chk_guard_local and POINTER_CHK_GUARD.
37886         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
37887         Define __pointer_chk_guard_local.
37888         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
37889         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
37891 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
37893         [BZ #15859]
37894         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
37896 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
37898         * include/string.h (__ffs): Declare as hidden.
37899         * string/ffs.c (__ffs): Define as hidden.
37900         * sysdeps/i386/ffs.c (__ffs): Likewise.
37901         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
37902         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
37903         * sysdeps/s390/ffs.c (__ffs): Likewise.
37904         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
37906 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
37908         * NEWS: Mention malloc probes.
37910         * malloc/arena.c (new_heap): New memory_heap_new probe.
37911         (grow_heap): New memory_heap_more probe.
37912         (shrink_heap): New memory_heap_less probe.
37913         (heap_trim): New memory_heap_free probe.
37914         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
37915         (systrim): New memory_sbrk_less probe.
37916         * manual/probes.texi: Document them.
37918         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
37919         * manual/probes.texi: Document it.
37921         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
37922         (__libc_realloc): Add memory_realloc_retry probe.
37923         (__libc_memalign): Add memory_memalign_retry probe.
37924         (__libc_valloc): Add memory_valloc_retry probe.
37925         (__libc_pvalloc): Add memory_pvalloc_retry probe.
37926         (__libc_calloc): Add memory_calloc_retry probe.
37927         * manual/probes.texi: Document them.
37929         * malloc/arena.c (get_free_list): Add probe
37930         memory_arena_reuse_free_list.
37931         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37932         and memory_arena_reuse.
37933         (arena_get2) [!PER_THREAD]: Likewise.
37934         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
37935         memory_arena_reuse_realloc.
37936         * manual/probes.texi: Document them.
37938         * malloc/malloc.c (__libc_free): Add
37939         memory_mallopt_free_dyn_thresholds probe.
37940         (__libc_mallopt): Add multiple memory_mallopt probes.
37941         * manual/probes.texi: Document them.
37943         * malloc/malloc.c: Include stap-probe.h.
37944         (__libc_mallopt): Add memory_mallopt probe.
37945         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37946         * manual/probes.texi: New.
37947         * manual/Makefile (chapters): Add probes.
37948         * manual/threads.texi: Set next node.
37950 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37952         [BZ #15963, #13985]
37953         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37954         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37955         Add `Chinese' to `nan' entry name.
37957 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37959         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37960         (POLYNOMIAL): Likewise.
37961         (TAYLOR_SINCOS): Likewise.
37962         (TAYLOR_SLOW): Likewise.
37963         (__sin): Use TAYLOR_SINCOS.
37964         (__cos): Likewise.
37965         (slow): Use TAYLOR_SLOW.
37966         (sloww): Likewise.
37967         (bsloww): Likewise.
37968         (csloww): Likewise.
37970 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37972         * stdlib/strtod_l.c: Fix buffer overrun.
37974 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37976         * benchtests/Makefile (bench): Add sincos.
37977         * benchtests/bench-sincos.c: New file.
37979         * math/libm-test.inc (cos_test_data): New test inputs.
37980         (sin_test_data): Likewise.
37982         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37983         macro.
37984         (__sin): Use it.
37985         (__cos): Likewise.
37986         (slow1): Likewise.
37987         (slow2): Likewise.
37988         (sloww1): Likewise.
37989         (sloww2): Likewise.
37990         (bsloww1): Likewise.
37991         (bsloww2): Likewise.
37992         (cslow2): Likewise.
37993         (csloww1): Likewise.
37994         (csloww2): Likewise.
37996         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37997         function.
37998         (__sin): Use it.
37999         (__cos): Likewise.
38001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38002         gotos.
38003         (__cos): Likewise.
38005 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38007         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38008         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38009         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38010         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38011         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38012         * elf/cache.c (print_entry): Handle the new cache flags.
38014 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38015             Aldy Hernandez  <aldyh@redhat.com>
38017         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38018         Change condition to [_SOFT_FLOAT].
38019         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38022         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38023         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38024         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38031         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38034         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38035         declaration.
38037 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38039         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38040         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38041         (__longjmp): Use LOAD_GP to load saved GPRs.
38042         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38043         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38044         (__sigsetjmp): Use SAVE_GP to save GPRs.
38046         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38047         Do not append -msoft-float.
38048         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38050 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38052         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38054 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38056         [BZ #15966]
38057         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38058         (_FPU_GETCW): Use initial "__" on variable and field names but not
38059         on macro parameter name.
38060         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38061         parentheses around reference to macro parameter.
38063 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38065         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38066         prototype.
38067         (ctype_startup): Use uint32_t in cast and sizeof for
38068         ctype->charnames.
38070 2013-09-11  Jia Liu  <proljc@gmail.com>
38072         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38073         __daddr_t_defined.
38074         [__FreeBSD__]: Likewise.
38076 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38079         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38080         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38081         (strchr): Remove __strchr_sse42 ifunc selection.
38082         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38083         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38085 2013-09-11  Will Newton  <will.newton@linaro.org>
38087         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38088         parameter to RES. Remove hardcoded 1000 value.
38089         * benchtests/bench-skeleton.c (main): Pass RES parameter
38090         to TIMING_INIT and multiply result by 1000.
38092 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38096 2013-09-11  Andreas Schwab  <schwab@suse.de>
38098         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38099         if not defined.
38100         (O_TMPFILE) [__USE_GNU]: Define.
38101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38102         Define.
38104 2013-09-11  Will Newton  <will.newton@linaro.org>
38106         [BZ #15857]
38107         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38108         does not overflow.
38110 2013-09-11  Will Newton  <will.newton@linaro.org>
38112         [BZ #15856]
38113         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38114         does not overflow.
38116 2013-09-11  Will Newton  <will.newton@linaro.org>
38118         [BZ #15855]
38119         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38120         does not overflow.
38122 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38124         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38125         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38126         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38127         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38130 2013-09-10  Allan McRae  <allan@archlinux.org>
38132         [BZ #15748]
38133         * manual/arith.texi (Parsing of Floats): Clarify
38134         cross-reference.
38136         [BZ #15849]
38137         * manual/install.texi (Running make install): Mention
38138         --enable-pt-chown.
38139         * INSTALL: Regenerated.
38141 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38143         * csu/init-first.c (_init): Remove the !SHARED condition around
38144         FPU control word initialization.
38145         * elf/dl-support.c (_dl_fpu_control): New variable.
38146         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38147         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38148         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38149         * math/test-fpucw-static.c: New file.
38150         * math/test-fpucw-ieee.c: New file.
38151         * math/test-fpucw-ieee-static.c: New file.
38152         * math/Makefile (tests): Add `test-fpucw-ieee' and
38153         `$(tests-static)'.
38154         (tests-static): New variable.
38155         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38156         dependency to...
38157         [($(build-shared),yes)]
38158         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38159         ... this.
38160         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38161         New dependency.
38163 2013-09-09  Allan McRae  <allan@archlinux.org>
38165         [BZ #15939]
38166         * manual/string.texi (Collation Functions): Fix typo in
38167         strcoll example.
38168         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38170         [BZ #15893]
38171         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38173         [BZ #15892]
38174         * libio/memstream.c (open_memstream): Fix memory leak.
38175         * libio/wmemstream.c (open_wmemstream): Likewise.
38177         [BZ #15895]
38178         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38180 2013-09-09  Will Newton  <will.newton@linaro.org>
38182         * malloc/Makefile: Add tst-realloc to tests.
38183         * malloc/tst-realloc.c: New file.
38185 2013-09-09  Allan McRae  <allan@archlinux.org>
38187         [BZ #15844]
38188         * COPYING: Update from GNU website to fix FSF address.
38189         * COPYING.LIB: Likewise.
38191 2013-09-06  David S. Miller  <davem@davemloft.net>
38193         * po/zh_TW.po: Update Chinese (traditional) translation from
38194         translation project.
38196 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38197             Joseph Myers  <joseph@codesourcery.com>
38199         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38200         "localeinfo.h".
38201         (obstack_chunk_alloc): New macro.
38202         (obstack_chunk_free): Likewise.
38203         (record_offset): New function.
38204         (init_locale_data): Likewise.
38205         (align_locale_data): Likewise.
38206         (add_locale_empty): Likewise.
38207         (add_locale_raw_data): Likewise.
38208         (add_locale_raw_obstack): Likewise.
38209         (add_locale_string): Likewise.
38210         (add_locale_wstring): Likewise.
38211         (add_locale_uint32): Likewise.
38212         (add_locale_uint32_array): Likewise.
38213         (add_locale_char): Likewise.
38214         (start_locale_structure): Likewise.
38215         (end_locale_structure): Likewise.
38216         (start_locale_prelude): Likewise.
38217         (end_locale_prelude): Likewise.
38218         (write_locale_data): Take locale_file structure rather than an
38219         iovec.
38220         * locale/programs/locfile.h: Include "obstack.h".
38221         (struct locale_file): Change to store locale file contents instead
38222         of header.
38223         (init_locale_data): New prototype.
38224         (align_locale_data): Likewise.
38225         (add_locale_empty): Likewise.
38226         (add_locale_raw_data): Likewise.
38227         (add_locale_raw_obstack): Likewise.
38228         (add_locale_string): Likewise.
38229         (add_locale_wstring): Likewise.
38230         (add_locale_uint32): Likewise.
38231         (add_locale_uint32_array): Likewise.
38232         (add_locale_char): Likewise.
38233         (start_locale_structure): Likewise.
38234         (end_locale_structure): Likewise.
38235         (start_locale_prelude): Likewise.
38236         (end_locale_prelude): Likewise.
38237         (write_locale_data): Update prototype.
38238         * locale/programs/3level.h (struct TABLE): Remove result field.
38239         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38240         Use new locale_file interface.
38241         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38242         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38243         * locale/programs/ld-address.c (address_output): Use new
38244         locale_file interface.
38245         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38246         NO_ADD_LOCALE.
38247         (collate_finish): Don't call collseq_table_finalize.
38248         (collate_output): Use new locale_file interface.
38249         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38250         in file.
38251         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38252         (TABLE): Move defines earlier in file.
38253         (ELEMENT): Likewise.
38254         (DEFAULT): Likewise.
38255         (wctrans_table_add): Move macro and inline function earlier in
38256         file.
38257         (struct wctype_table): Move type earlier in file.
38258         (add_locale_wctype_table): New static prototype.
38259         (struct locale_ctype_t): Use logical types instead of struct iovec
38260         pointers for members.
38261         (ctype_output): Use new locale_file interface.
38262         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38263         new locale_file interface.
38264         (allocate_arrays): Update for use of new locale_file interface.
38265         * locale/programs/ld-identification.c (identification_output): Use
38266         new locale_file interface.
38267         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38268         * locale/programs/ld-messages.c (messages_output): Likewise.
38269         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38270         * locale/programs/ld-name.c (name_output): Likewise.
38271         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38272         * locale/programs/ld-paper.c (paper_output): Likewise.
38273         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38274         * locale/programs/ld-time.c (time_output): Likewise.
38276 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38278         * benchtests/Makefile: Add memrchr benchmark.
38279         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38280         benchmark as memrchr.
38281         * benchtests/bench-memrchr-ifunc.c: New file.
38282         * benchtests/bench-memrchr.c: New file.
38284 2013-09-06   Will Newton  <will.newton@linaro.org>
38286         * benchtests/Makefile (string-bench): Add memcpy.
38288 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38289             Cong Wang  <amwang@redhat.com>
38291         [BZ #15850]
38292         * sysdeps/unix/sysv/linux/bits/in.h
38293         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38294         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38295         before __USE_KERNEL_IPV6_DEFS uses.
38296         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38297         IPPROTO_BEETPH.
38298         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38299         sockaddr_in6, or ipv6_mreq.
38301 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38303         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38304         memory access for final bytes in some large inputs.
38305         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38307 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38309         * string/test-memrchr.c: New file.
38310         * string/test-memrchr-ifunc.c: New file.
38311         * string/Makefile: Add new memrchr testcase.
38313 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38315         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38316         fanotify_init returns EPERM.
38318 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38320         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38321         errors.
38322         (top level): Treat second token from macro or constant entries for
38323         allowed headers as allowed.
38324         * include/complex.h: Condition internal declarations on
38325         [!_ISOMAC].
38326         * include/fenv.h: Condition include of <stdbool.h> and internal
38327         declarations on [!_ISOMAC].
38329 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38331         [BZ #15923]
38332         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38334 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38336         * configure.in (--enable-versioning): Remove configure option.
38337         (libc_cv_asm_symver_directive): Remove configure test.
38338         (libc_cv_ld_version_script_option): Likewise.
38339         (VERSIONING): Remove variable and AC_SUBST.
38340         (DO_VERSIONING): Remove AC_DEFINE.
38341         * configure: Regenerated.
38342         * config.h.in (DO_VERSIONING): Remove macro.
38343         * Makerules [$(versioning) = yes]: Change conditionals to
38344         [$(build-shared) = yes].
38345         * config.make.in (versioning): Remove variable.
38346         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38347         [$(build-shared) = yes].
38348         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38349         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38350         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38351         [$(build-shared) = yes].
38352         * extra-lib.mk [$(versioning) = yes]: Likewise.
38353         * hurd/Makefile [$(versioning) = yes]: Likewise.
38354         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38355         [SHARED].
38356         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38357         [SHARED].
38358         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38359         [SHARED && !NO_HIDDEN].
38360         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38361         [SHARED].
38362         [SHARED && DO_VERSIONING]: Likewise..
38363         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38364         [$(build-shared) = yes].
38365         * manual/install.texi (--disable-versioning): Remove
38366         documentation.
38367         * INSTALL: Regenerated.
38368         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38369         to [SHARED].
38370         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38371         [$(build-shared) = yes].
38372         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38373         * sysdeps/i386/i686/multiarch/strstr-c.c
38374         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38375         [SHARED && !NO_HIDDEN].
38376         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38377         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38378         * sysdeps/powerpc/powerpc32/dl-machine.c
38379         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38380         * sysdeps/powerpc/powerpc32/sysdep.h
38381         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38382         to [SHARED && PIC && !NO_HIDDEN].
38383         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38384         conditional to [SHARED].
38386 2013-09-04   Will Newton  <will.newton@linaro.org>
38388         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38389         * benchtests/bench-string.h: Include bench-timing.h instead
38390         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38391         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38392         call to HP_TIMING_DIFF_INIT.
38393         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38394         instead of hp-timing.h macros.
38395         * benchtests/bench-memchr.c: Likewise.
38396         * benchtests/bench-memcmp.c: Likewise.
38397         * benchtests/bench-memcpy.c: Likewise.
38398         * benchtests/bench-memmem.c: Likewise.
38399         * benchtests/bench-memmove.c: Likewise.
38400         * benchtests/bench-memset.c: Likewise.
38401         * benchtests/bench-rawmemchr.c: Likewise.
38402         * benchtests/bench-strcasecmp.c: Likewise.
38403         * benchtests/bench-strcasestr.c: Likewise.
38404         * benchtests/bench-strcat.c: Likewise.
38405         * benchtests/bench-strchr.c: Likewise.
38406         * benchtests/bench-strcmp.c: Likewise.
38407         * benchtests/bench-strcpy.c: Likewise.
38408         * benchtests/bench-strcpy_chk.c: Likewise.
38409         * benchtests/bench-strlen.c: Likewise.
38410         * benchtests/bench-strncasecmp.c: Likewise.
38411         * benchtests/bench-strncat.c: Likewise.
38412         * benchtests/bench-strncmp.c: Likewise.
38413         * benchtests/bench-strncpy.c: Likewise.
38414         * benchtests/bench-strnlen.c: Likewise.
38415         * benchtests/bench-strpbrk.c: Likewise.
38416         * benchtests/bench-strrchr.c: Likewise.
38417         * benchtests/bench-strspn.c: Likewise.
38418         * benchtests/bench-strstr.c: Likewise.
38420 2013-09-04  Will Newton  <will.newton@linaro.org>
38422         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38424 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38426         [BZ #15427]
38427         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38428         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38429         * math/libm-test.inc (lgamma_test_data): Add more tests.
38430         * sysdeps/i386/fpu/libm-test-ulps: Update.
38431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38433 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38435         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38437         Add ifunc.
38438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38439         Add strcmp-sse2-unaligned
38440         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38442 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38444         * Versions.def (libc): Add GLIBC_2.19.
38446 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38448         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38449         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38451 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38453         [BZ #14155]
38454         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38455         intermediate calculations in recurrence.
38456         (__ieee754_ynf): Likewise.
38457         * math/libm-test.inc (jn_test_data): Do not allow spurious
38458         underflow exception.  Add more tests.
38459         (yn_test_data): Add more tests.
38460         * sysdeps/i386/fpu/libm-test-ulps: Update.
38461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38463 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38465         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38467 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38469         * csu/init-first.c: Fix then/than typos.
38470         * locale/programs/ld-collate.c: Likewise.
38471         * locale/programs/linereader.h: Likewise.
38472         * manual/charset.texi: Likewise.
38473         * manual/filesys.texi: Likewise.
38474         * manual/stdio.texi: Likewise.
38475         * manual/string.texi: Likewise.
38476         * stdlib/fmtmsg.c: Likewise.
38477         * sysdeps/i386/stpncpy.S: Likewise.
38478         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38479         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38480         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38481         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38483 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38485         * elf/dl-open.c: Fix typos.
38486         * iconvdata/gbbig5.c: Likewise.
38487         * iconvdata/iso-2022-jp.c: Likewise.
38488         * iconv/gconv_int.h: Likewise.
38489         * iconv/loop.c: Likewise.
38490         * nis/rpcsvc/nis.h: Likewise.
38491         * resolv/ns_name.c: Likewise.
38492         * stdio-common/vfscanf.c: Likewise.
38493         * streams/stropts.h: Likewise.
38494         * sunrpc/rpc_thread.c: Likewise.
38495         * sysdeps/i386/strpbrk.S: Likewise.
38496         * sysdeps/ieee754/k_standard.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38499         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38500         * sysdeps/mach/hurd/profil.c: Likewise.
38501         * sysdeps/s390/dl-procinfo.h: Likewise.
38502         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
38503         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38504         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
38505         * sysdeps/x86_64/dl-trampoline.S: Likewise.
38506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38508 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
38510         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
38511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
38513 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
38515         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
38516         aix specific files.
38517         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
38518         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
38519         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
38520         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
38521         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
38522         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
38523         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
38524         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
38526 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38527             Roland McGrath  <roland@hack.frob.com>
38529         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
38530         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
38532 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38534         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
38535         __executable_start symbol instead of _start.
38537 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
38539         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
38540         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
38541         Move macros to...
38542         * sysdeps/gnu/ldsodefs.h: ... this new file.
38544         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
38545         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
38546         instead of ELFOSABI_LINUX.
38548         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
38549         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
38550         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
38551         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
38552         Likewise.
38553         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
38554         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
38555         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
38556         Likewise.
38557         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38558         (ibm_extended_long_double): Add ieee_nan member.
38559         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
38560         (do_test): New function.
38562         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
38563         TEST_TRUNC.
38564         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
38565         functions, renamed from truncdfsf_test, trunctfsf_test,
38566         trunctfdf_test.
38567         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
38568         functions.
38569         (do_test): Run all these.
38571 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
38573         * argp/argp-help.c: Fix typos.
38574         * argp/argp-parse.c: Likewise.
38575         * debug/backtracesyms.c: Likewise.
38576         * elf/elf.h: Likewise.
38577         * malloc/malloc.c: Likewise.
38578         * nis/nis_print.c: Likewise.
38579         * resolv/res_comp.c: Likewise.
38580         * stdlib/stdlib.h: Likewise.
38581         * sunrpc/clnt_tcp.c: Likewise.
38582         * sunrpc/clnt_udp.c: Likewise.
38583         * sunrpc/clnt_unix.c: Likewise.
38584         * sysdeps/unix/bsd/ptsname.c: Likewise.
38585         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38586         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
38588         Likewise.
38589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
38590         Likewise.
38591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38592         Likewise.
38593         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38595 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38597         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
38598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38600 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
38602         [BZ #15897]
38603         * dlfcn/Makefile (tests): Add bug-dl-leaf.
38604         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
38605         ($(objpfx)bug-dl-leaf): New rule.
38606         ($(objpfx)bug-dl-leaf.so): Likewise.
38607         ($(objpfx)bug-dl-leaf.out): Likewise.
38608         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
38609         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
38610         * dlfcn/bug-dl-leaf.c: New test.
38611         * dlfcn/bug-dl-leaf-lib.c: Likewise.
38612         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
38613         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
38614         (dlclose): Likewise.
38615         (dlmopen): Likewise.
38617 2013-08-27  Roland McGrath  <roland@hack.frob.com>
38619         * include/netdb.h [!_ISOMAC]:
38620         Don't include <tls.h>.
38621         (h_errno, __libc_h_errno): Move declaration and macros out of
38622         [_LIBC_REENTRANT].
38624         * include/resolv.h [_RESOLV_H_]:
38625         Don't include <tls.h>.
38626         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
38627         * resolv/res_libc.c: Don't include <tls.h>.
38628         (_res): Use __attribute__ ((nocommon)) in place of
38629         __attribute__ ((section (".bss"))).
38631         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
38632         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
38634         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
38636         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
38637         only under [SIOCGIFCONF && SIOCGIFNETMASK].
38639         * resolv/res_mkquery.c: Include <sys/time.h>.
38641         * inet/ifreq.c: Moved to ...
38642         * sysdeps/unix/ifreq.c: ... here.
38643         * inet/ifreq.c: New file, true stub version.
38645         * socket/sa_len.c: New file.
38646         * socket/Makefile (aux): Add it.
38647         * sysdeps/unix/sysv/linux/Makefile
38648         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
38649         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
38650         and #include <socket/sa_len.c>.
38651         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
38652         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
38654         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
38655         * bits/socket.h: ... here.
38657         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
38658         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
38659         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
38661 2013-08-27  Andreas Schwab  <schwab@suse.de>
38663         [BZ #15736]
38664         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
38665         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
38666         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
38667         * string/test-strcasecmp.c (test_main): Run tests in several
38668         locales.
38669         * string/test-strncasecmp.c (test_main): Likewise.
38671         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
38672         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
38673         to __strcasecmp_nonascii and __strncasecmp_nonascii.
38674         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
38675         (__strncasecmp_ssse3) [PIC]: Likewise.
38677 2013-08-26  Roland McGrath  <roland@hack.frob.com>
38679         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
38681         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
38682         instead of explicitly declaring xdecrypt.
38683         * nis/nss_nis/nis-publickey.c: Likewise.
38685 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38687         [BZ #15890]
38688         * nscd/aicache.c: Include res_hconf.h.
38689         (addhstaiX): Initialize res_hconf.
38691 2013-08-26  Andreas Schwab  <schwab@suse.de>
38693         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
38694         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
38696 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38698         * nscd/aicache.c (addhstaiX): Fix indentation.
38700 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
38702         * configure.ac: Quote $build_pt_chown test.
38703         * configure: Regenerated.
38705 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
38707         [BZ #15532]
38708         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
38709         * math/s_cexpf.c (__cexpf): Likewise.
38710         * math/s_cexpl.c (__cexpl): Likewise.
38711         * math/libm-test.inc (cexp_test_data): Correct expected return
38712         value for NaN + i0.  Add another test.
38714 2013-08-22  David S. Miller  <davem@davemloft.net>
38716         * po/ca.po: Update Catalan translation from translation project.
38717         * po/uk.po: Add Ukrainian translations from translation project.
38719 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
38721         [BZ #15797]
38722         * math/s_fdim.c (__fdim): Check for infinite arguments if result
38723         is infinite, not alongside NaN test.
38724         * math/s_fdimf.c (__fdimf): Likewise.
38725         * math/s_fdiml.c (__fdiml): Likewise.
38726         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
38727         errno is unchanged.
38729 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
38731         * argp/argp-help.c: Fix typos.
38732         * crypt/speeds.c: Likewise.
38733         * csu/check_fds.c: Likewise.
38734         * elf/dl-load.c: Likewise.
38735         * elf/dl-open.c: Likewise.
38736         * elf/reldep3.c: Likewise.
38737         * elf/reldep.c: Likewise.
38738         * elf/sprof.c: Likewise.
38739         * iconv/iconv_charmap.c: Likewise.
38740         * iconv/skeleton.c: Likewise.
38741         * iconv/strtab.c: Likewise.
38742         * io/lockf64.c: Likewise.
38743         * libio/libioP.h: Likewise.
38744         * resolv/gai_notify.c: Likewise.
38745         * resolv/ns_name.c: Likewise.
38746         * resolv/ns_samedomain.c: Likewise.
38747         * resolv/res_send.c: Likewise.
38748         * stdlib/random.c: Likewise.
38749         * sunrpc/rpc/xdr.h: Likewise.
38750         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
38751         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38752         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38753         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38755         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38757         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38758         * sysdeps/mach/hurd/check_fds.c: Likewise.
38759         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38760         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38761         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38762         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38764         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38765         * sysdeps/pthread/aio_notify.c: Likewise.
38766         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
38767         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
38768         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
38769         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38770         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38772 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38774         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
38775         version if bit_Slow_SSE4_2 is set.
38776         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38777         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38779 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38781         [BZ #15867]
38782         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
38783         trampoline stack frame information.
38784         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
38785         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
38786         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
38787         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
38788         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
38789         * sysdeps/unix/sysv/linux/powerpc/init-first.c
38790         (_libc_vdso_platform_setup): Initialize the signal trampolines.
38791         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
38792         sa_flags value.
38793         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
38794         interrupting a syscall and set with option SA_SIGINFO.
38796 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38798         [BZ #15531]
38799         * math/s_cproj.c (__cproj): Only return an infinity if one part of
38800         argument is infinite.
38801         * math/s_cprojf.c (__cprojf): Likewise.
38802         * math/s_cprojl.c (__cprojl): Likewise.
38803         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
38804         * math/libm-test.inc (cproj_test_data): Add more tests.
38806         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
38808         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38809         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
38810         size.  Use __ffs to determine corresponding shift.
38812 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
38813             Roland McGrath  <roland@hack.frob.com>
38815         * Makefile (INSTALL): Remove trailing blank lines from output of
38816         makeinfo.
38818 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38820         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
38821         Align 32 bit compat elf_greg to 8 bytes.
38823 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
38825         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
38827 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38829         * string/strcoll_l.c (coll_seq): New structure.
38830         (get_next_seq_cached): New function.
38831         (get_next_seq): New function.
38832         (do_compare): New function.
38833         (STRCOLL): Use GNU style definition.  Simplify implementation
38834         by using get_next_seq, get_next_seq_cached and do_compare.
38836 2013-08-16  Florian Weimer  <fweimer@redhat.com>
38838         [BZ #14699]
38839         CVE-2013-4237
38840         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
38841         member.
38842         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
38843         member.
38844         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
38845         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
38846         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
38847         conditional.
38848         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
38849         GETDENTS_64BIT_ALIGNED.
38850         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38851         * manual/filesys.texi (Reading/Closing Directory): Document
38852         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
38853         strongly.
38854         * manual/conf.texi (Limits for Files): Add portability note to
38855         NAME_MAX, PATH_MAX.
38856         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
38858 2013-08-13  Andreas Schwab  <schwab@suse.de>
38860         [BZ #15749]
38861         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
38862         of fabs.
38863         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
38864         LDBL_MAX_EXP >= 16384]: Add tests for it.
38866 2013-08-12  David S. Miller  <davem@davemloft.net>
38868         * version.h (RELEASE): Set to "development".
38869         (VERSION): Set to "2.18.90".
38870         * NEWS: Add 2.19 section.
38872 2013-08-03  David S. Miller  <davem@davemloft.net>
38874         * po/ko.po: Update Korean translation from translation project.
38876 2013-08-01  David S. Miller  <davem@davemloft.net>
38878         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
38879         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
38880         Bilka.
38882 2013-07-30  David S. Miller  <davem@davemloft.net>
38884         * po/fr.po: Update French translation from translation project.
38886 2013-07-28  David S. Miller  <davem@davemloft.net>
38888         * po/cs.po: Update Czech translation from translation project.
38890         * po/sv.po: Update Swedish translation from translation project.
38892 2013-07-27  David S. Miller  <davem@davemloft.net>
38894         * po/eo.po: Update Esperanto translation from translation project.
38896         * po/vi.po: Update Vietnamese translation from translation project.
38898         * po/de.po: Update German translation from translation project.
38900 2013-07-26  David S. Miller  <davem@davemloft.net>
38902         * po/bg.po: Update Bulgarian translation from translation project.
38904         * po/nl.po: Update Dutch translation from translation project.
38905         * po/pl.po: Update Polish translation from translation project.
38906         * po/ru.po: Update Russian translation from translation project.
38908 2013-07-24  David S. Miller  <davem@davemloft.net>
38910         * po/libc.pot: Update.
38912 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38914         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
38915         variable page size.
38916         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
38917         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
38918         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
38920 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38922         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
38924 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38925             Andreas Schwab  <schwab@suse.de>
38926             Roland McGrath  <roland@hack.frob.com>
38927             Joseph Myers  <joseph@codesourcery.com>
38928             Carlos O'Donell  <carlos@redhat.com>
38930         [BZ #15755]
38931         * config.h.in: Define HAVE_PT_CHOWN.
38932         * config.make.in (build-pt-chown): New variable.
38933         * configure.in (--enable-pt_chown): New configure option.
38934         * configure: Regenerate.
38935         * login/Makefile: Include Makeconfig.  Build pt_chown only if
38936         build-pt-chown is enabled.
38937         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38938         pt_chown to fix pty ownership.
38939         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38940         CLOSE_ALL_FDS.
38941         * manual/install.texi (Configuring and compiling): Mention
38942         --enable-pt_chown. Add @findex for grantpt.
38943         * INSTALL: Regenerate.
38945 2013-07-20  David S. Miller  <davem@davemloft.net>
38947         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38948         difference between 32-bit and 64-bit.
38950 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38952         [BZ #15711]
38953         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38954         Avoid system header dependency with -ffreestanding.
38955         ($(objpfx)bits/syscall%d): Likewise.
38957 2013-07-13  David S. Miller  <davem@davemloft.net>
38959         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38960         underflows from atanl/atan2l due to bug 15319.
38961         (casinh_test_data): Likewise.
38963 2013-07-07  David S. Miller  <davem@davemloft.net>
38965         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38967 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38969         * sysdeps/i386/fpu/libm-test-ulps: Update.
38970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38972 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38974         * configure.in (--enable-lock-elision): Fix message text.
38975         * INSTALL: Regenerate.
38976         * configure: Regenerate.
38978 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38982 2013-07-03  Andreas Jaeger  <aj@suse.de>
38984         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38985         define.
38986         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38987         (ptrace_peeksiginfo_args): Add.
38988         (__ptrace_peeksiginfo_flags): Add.
38989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38990         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38991         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38993 2013-07-03  Allan McRae  <allan@archlinux.org>
38995         * sysdeps/i386/fpu/libm-test-ulps: Update.
38997 2013-07-02  David S. Miller  <davem@davemloft.net>
38999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39001 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39007         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39010 2013-07-02  Andi Kleen <ak@linux.intel.com>
39012         * config.h.in (ENABLE_LOCK_ELISION): Add.
39013         * configure.in (--enable-lock-elision): Add option.
39014         * manual/install.texi: Document --enable lock elision.
39015         * configure: Regenerate
39016         * INSTALL: Regenerate.
39018 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39020         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39021         SSE4.2 strcasecmp for libc.a.
39022         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39024 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39026         [BZ #13304]
39027         * soft-fp/op-common.h (_FP_FMA): New macro.
39028         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39029         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39030         (_FP_MUL_MEAT_1_imm): ... here.
39031         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39032         (_FP_MUL_MEAT_1_wide): ... here.
39033         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39034         (_FP_MUL_MEAT_1_hard): ... here.
39035         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39036         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39037         (_FP_MUL_MEAT_2_wide): ... here.
39038         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39039         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39040         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39041         (_FP_MUL_MEAT_2_gmp): ... here.
39042         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39043         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39044         (_FP_MUL_MEAT_4_wide): ... here.
39045         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39046         (_FP_MUL_MEAT_4_gmp): ... here.
39047         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39048         (_FP_WFRACBITS_DW_S): Likewise.
39049         (_FP_WFRACXBITS_DW_S): Likewise.
39050         (_FP_HIGHBIT_DW_S): Likewise.
39051         (FP_FMA_S): Likewise.
39052         (_FP_FRAC_HIGH_DW_S): Likewise.
39053         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39054         (_FP_WFRACBITS_DW_D): Likewise.
39055         (_FP_WFRACXBITS_DW_D): Likewise.
39056         (_FP_HIGHBIT_DW_D): Likewise.
39057         (FP_FMA_D): Likewise.
39058         (_FP_FRAC_HIGH_DW_D): Likewise.
39059         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39060         (_FP_WFRACBITS_DW_E): Likewise.
39061         (_FP_WFRACXBITS_DW_E): Likewise.
39062         (_FP_HIGHBIT_DW_E): Likewise.
39063         (FP_FMA_E): Likewise.
39064         (_FP_FRAC_HIGH_DW_E): Likewise.
39065         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39066         (_FP_WFRACBITS_DW_Q): Likewise.
39067         (_FP_WFRACXBITS_DW_Q): Likewise.
39068         (_FP_HIGHBIT_DW_Q): Likewise.
39069         (FP_FMA_Q): Likewise.
39070         (_FP_FRAC_HIGH_DW_Q): Likewise.
39071         * soft-fp/fmasf4.c: New file.
39072         * soft-fp/fmadf4.c: Likewise.
39073         * soft-fp/fmatf4.c: Likewise.
39075 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39078         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39079         Silvermont.
39080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39081         macro.
39082         (index_Slow_SSE4_2): Likewise.
39083         (index_Prefer_PMINUB_for_stringop): Likewise.
39084         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39085         bit_Slow_SSE4_2 is set.
39086         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39087         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39089 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39091         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39092         rtld_global._dl_hwcap2.
39093         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39094         POWER8.
39095         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39096         POWER8 feature descriptions defined in _dl_hwcap2.
39097         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39098         string handling for POWER8 feature bits.
39099         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39100         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39101         _dl_powerpc_cap_flags.
39102         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39103         * sysdeps/powerpc/rtld-global-offsets.sym
39104         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39105         _dl_hwcap2 in the rtld_global_ro structure.
39107 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39109         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39110         hardware capabilities in support of AT_HWCAP2.
39111         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39112         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39113         GLRO(dl_hwcap2).
39114         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39115         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39116         explicitly the unknown a_type display mechanism is used.
39117         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39118         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39119         struct member.
39120         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39121         to macro prototype for AT_HWCAP2 support.
39122         * sysdeps/i386/dl-procinfo.h: Likewise.
39123         * sysdeps/s390/dl-procinfo.h: Likewise.
39124         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39125         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39126         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39127         return -1 for unknown a_type display fallback.
39128         * sysdeps/sparc/dl-procinfo.h: Likewise.
39129         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39130         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39132 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39134         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39135         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39137 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39139         [BZ #12492]
39140         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39141         mprotect making __stack_prot writable.
39143 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39144             Joseph Myers  <joseph@codesourcery.com>
39146         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39147         as being properly aligned.
39149 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39151         * dlfcn/modstatic5.c: New file.
39152         * dlfcn/tststatic5.c: New file.
39153         * dlfcn/Makefile (tests): Add tststatic5.
39154         (tests-static): Likewise.
39155         (modules-names): Add modstatic5.
39156         (tststatic5-ENV): New variable.
39157         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39159         [BZ #15022]
39160         * elf/dl-support.c (_dl_main_map): New variable.
39161         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39162         (_dl_nns, _dl_load_adds): Set to 1.
39163         (_dl_initial_searchlist): Refer to _dl_main_map.
39164         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39165         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39166         call to _dl_get_origin.
39167         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39168         around call_map.
39169         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39170         * dlfcn/modstatic3.c: New file.
39171         * dlfcn/tststatic3.c: New file.
39172         * dlfcn/tststatic4.c: New file.
39173         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39174         (tests-static): Likewise.
39175         (modules-names): Add modstatic3.
39176         (tststatic3-ENV, tststatic4-ENV): New variables.
39177         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39178         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39180 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39182         * configure.in (CC): Require GCC version 4.4 or later.
39183         * configure: Regenerated.
39184         * manual/install.texi (Tools for Compilation): Update GCC version
39185         requirement.
39186         * INSTALL: Regenerated.
39188 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39190         [BZ #15674]
39191         * string/test-memcmp.c (check2): New.
39192         (main): Call check2.
39194         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39196 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39198         [BZ #15022]
39199         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39200         over to...
39201         (dl_open_worker) [!SHARED]: ... here.
39203 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39205         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39207 2013-06-25  Richard Henderson  <rth@redhat.com>
39209         * locale/programs/locarchive.c: Include <libc-internal.h>
39211 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39213         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39214         trailing whitespace removed.
39216 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39218         [BZ #10283]
39219         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39220         * locale/programs/locarchive.c: Include libc-mmap.h.
39221         (prepare_address_space): Take two new outputs (the mmap base and len).
39222         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39223         values.
39224         (create_archive): Declare new mmap base and len values for
39225         prepare_address_space, and store the result in ah.
39226         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39227         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39228         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39229         Declare new mmap base and len values for
39230         prepare_address_space, and store the result in new_ah.
39231         (open_archive): Declare new mmap base and len values for
39232         prepare_address_space, and store the result in ah.
39233         (close_archive): If ah->mmap_base is not NULL, use that and
39234         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39235         * sysdeps/generic/libc-mmap.h: New file.
39237 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39239         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39240         (ALIGN_UP): Likewise.
39241         (PTR_ALIGN_DOWN): Likewise.
39242         (PTR_ALIGN_UP): Likewise.
39244 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39246         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39247         entry mapped to PPC_PLATFORM_POWER8.
39248         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39249         POWER8.
39250         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39251         (_dl_string_platform): Add case for exporting platform position for
39252         POWER8.
39253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39254         search path to sysdeps/powerpc/powerpc32/power8 directory.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39256         search path to sysdeps/powerpc/powerpc64/power8 directory.
39257         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39258         power7 directories.
39259         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39260         power7 directories.
39262 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39264         * INSTALL: Regenerate.
39266         * nscd/connections.c (nscd_init): Fix comment.
39268 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39270         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39272         [BZ #15667]
39273         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39274         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39276 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39278         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39279         DL_DST_REQ_STATIC.
39280         (DL_DST_REQ_STATIC): Remove macro.
39282 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39284         [BZ #7006]
39285         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39286         with a shift of 0 bits.
39288 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39290         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39291         $(tststatic-ENV).
39293 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39295         [BZ #15655]
39296         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39298 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39300         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39301         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39302         accepts -fno-tree-loop-distribute-patterns.
39303         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39304         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39305         recursive call.
39306         * string/memset.c (memset): Likewise.
39307         * string/test-memmove.c (simple_memmove): Disable loop transformation
39308         to library calls.
39309         * string/test-memset.c (simple_memset): Likewise.
39310         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39311         * benchtests/bench-memset.c (simple_memset): Likewise.
39312         * configure: Regenerated.
39314 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39316         * math/test-misc.c (main): Ignore fesetround failure when failures
39317         of subsequent rounding tests would be ignored.
39319         [BZ #15654]
39320         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39321         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39322         * math/fegetenv.c (__fegetenv): Return 0.
39323         * math/fegetexcept.c (fegetexcept): Return 0.
39324         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39325         FE_TONEAREST.
39326         * math/feholdexcpt.c (feholdexcept): Return 0.
39327         * math/fesetenv.c (__fesetenv): Return 0.
39328         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39329         argument FE_TONEAREST.
39330         * math/feupdateenv.c (__feupdateenv): Return 0.
39331         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39333 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39335         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39336         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39337         ($(objpfx)rtld-%.os rules): Use them.
39339 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39341         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39342         fields.
39344 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39346         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39347         length of target pattern, then descending length of dependency pattern.
39348         * configure.in (AWK): Require gawk 3.1.2 or newer.
39349         * manual/install.texi (Tools for Compilation): Say that we do.
39350         * configure: Regenerated.
39352         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39353         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39354         * scripts/sysd-rules.awk: ... this new script.
39355         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39356         than a glob-style pattern.
39358 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39360         * math/test-misc.c (main): Do not treat incorrectly rounded
39361         conversions as failure unless ROUNDING_TESTS passes.
39363 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39365         [BZ #15631]
39366         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39367         restore exception state around main square root computation, then
39368         check for inexactness explicitly.
39370         * math/libm-test.inc (fma_test_data): Add another test.
39372 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39374         * manual/threads.texi (Non-POSIX Extensions): New document
39375         node.  Document pthread_getattr_default_np and
39376         pthread_setattr_default_np.
39378         * Versions.def (libpthread): Add GLIBC_2.18.
39379         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39381         Likewise.
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39383         Likewise.
39384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39385         Likewise.
39386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39387         Likewise.
39388         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39389         Likewise.
39390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39391         Likewise.
39392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39393         Likewise.
39394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39395         Likewise.
39396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39397         Likewise.
39399 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39402         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39404 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39405             H.J. Lu  <hjl.tools@gmail.com>
39407         [BZ #15627]
39408         * sysdeps/x86_64/rtld-memset.c: Remove file.
39409         * sysdeps/x86_64/rtld-memset.S: New file.
39411 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39413         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39414         (test_in_one_mode): Take arguments for whether the rounding mode
39415         is supported for each floating-point type.
39416         (do_test): Pass new arguments to test_in_one_mode using
39417         ROUNDING_TESTS.
39419 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39421         * posix/tst-waitid.c (do_test): Distinguish different instances of
39422         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39423         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39424         before entering the kernel for waitpid.
39426 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39428         * NEWS: Fix note on clock function precision.  Text by Roland
39429         McGrath.
39431 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39433         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39434         it into place only when and if the sanity check passes.
39436 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39438         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39439         output for whether conversion result is exact.  Take argument
39440         indicating whether type is IBM long double.
39441         (round_for_all): Change need_exact field to ibm_ld.
39442         * stdlib/tst-strtod-round.c (struct exactness): New type.
39443         (struct test): Change bool ld_ok field to struct exactness exact.
39444         (TEST): Update all definitions for change to field.
39445         (tests): Regenerate array contents.
39446         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39447         field value.  Check for IBM long double here.
39448         (do_test): Update calls to test_in_one_mode.
39450 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39452         [BZ #12515]
39453         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39454         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39456 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39458         [BZ #15605]
39459         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39460         generated by the compiler on loop optimizations.
39461         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39462         general definitions.
39464 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39466         * math/bug-nextafter.c: Include <math-tests.h>.
39467         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39468         the relevant type.
39469         * math/bug-nexttoward.c: Include <math-tests.h>.
39470         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39471         the relevant type.
39472         * math/test-misc.c: Include <math-tests.h>.
39473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39474         the relevant type.
39476 2013-06-12  Andreas Jaeger  <aj@suse.de>
39478         * po/ia.po: Update Interlingua translation from translation
39479         project.
39481 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39483         * include/fenv.h: Include stdbool.h.
39484         (struct rm_ctx): New structure.
39485         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39486         Define macro.
39487         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39488         (SET_RESTORE_ROUNDF): Likewise.
39489         (SET_RESTORE_ROUNDL): Likewise.
39490         (SET_RESTORE_ROUND_NOEX): Likewise.
39491         (SET_RESTORE_ROUND_NOEXF): Likewise.
39492         (SET_RESTORE_ROUND_NOEXL): Likewise.
39493         (SET_RESTORE_ROUND_53BIT): Likewise.
39494         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39495         (libc_feresetround_noexf_ctx): Likewise.
39496         (libc_feresetround_noexl_ctx): Likewise.
39497         (libc_feholdsetround_53bit_ctx): Likewise.
39498         (libc_feresetround_53bit_ctx): Likewise.
39499         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39500         (libc_feholdexcept_setround_sse_ctx): New function.
39501         (libc_fesetenv_sse_ctx): Likewise.
39502         (libc_feupdateenv_sse_ctx): Likewise.
39503         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
39504         (libc_feholdexcept_setround_387_ctx): Likewise.
39505         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
39506         (libc_feholdsetround_387_prec_ctx): Likewise.
39507         (libc_feholdsetround_387_ctx): Likewise.
39508         (libc_feholdsetround_387_53bit_ctx): Likewise.
39509         (libc_feholdsetround_sse_ctx): Likewise.
39510         (libc_feresetround_sse_ctx): Likewise.
39511         (libc_feresetround_387_ctx): Likewise.
39512         (libc_feupdateenv_387_ctx): Likewise.
39513         (libc_feholdexcept_setroundf_ctx): Define macro.
39514         (libc_fesetenvf_ctx): Likewise.
39515         (libc_feupdateenvf_ctx): Likewise.
39516         (libc_feholdsetroundf_ctx): Likewise.
39517         (libc_feresetroundf_ctx): Likewise.
39518         (libc_feholdexcept_setround_ctx): Likewise.
39519         (libc_fesetenv_ctx): Likewise.
39520         (libc_feupdateenv_ctx): Likewise.
39521         (libc_feholdsetround_ctx): Likewise.
39522         (libc_feresetround_ctx): Likewise.
39523         (libc_feholdexcept_setroundl_ctx): Likewise.
39524         (libc_feupdateenvl_ctx): Likewise.
39525         (libc_feholdsetroundl_ctx): Likewise.
39526         (libc_feresetroundl_ctx): Likewise.
39527         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
39528         (libc_feresetround_53bit_ctx): Likewise.
39530 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39532         * locale/iso-639.def: Convert to UTF-8.
39534 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
39536         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
39537         (EXCEPTION_TESTS_double): Likewise.
39538         (EXCEPTION_TESTS_long_double): Likewise.
39539         (EXCEPTION_TESTS): Likewise.
39540         * math/libm-test.inc (test_exceptions): Only test exceptions if
39541         EXCEPTION_TESTS (FLOAT).
39543 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         * benchtests/Makefile (string-bench): Add strcpy_chk and
39546         stpcpy_chk.
39547         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
39548         * benchtests/bench-stpcpy_chk.c: New file.
39549         * benchtests/bench-strcpy_chk-ifunc.c: New file.
39550         * benchtests/bench-strcpy_chk.c: New file.
39551         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
39552         code.
39553         (do_test): Likewise.
39555 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39557         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
39558         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
39559         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
39560         with tabs where appropriate.
39561         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
39562         dl-procinfo.h.
39563         [PPC_PLATFORM_PPC440]: Likewise.
39564         [PPC_PLATFORM_PPC464]: Likewise.
39565         [PPC_PLATFORM_PPC476]: Likewise.
39566         (_dl_string_platform): Add support for detecting ppc405, ppc440,
39567         ppc464, and ppc476 platform strings merging from ports/
39568         dl-procinfo.h.
39570 2013-06-11  Andreas Schwab  <schwab@suse.de>
39572         [BZ #14991]
39573         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
39574         (from_ucs4_idx): Regenerate.
39575         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
39576         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
39577         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
39578         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
39579         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
39580         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
39581         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
39582         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
39583         from FROM_LOOP and TO_LOOP specific macros.
39584         (BODY): Handle combining characters.
39585         * iconvdata/BIG5HKSCS.irreversible: Update.
39586         * iconvdata/BIG5HKSCS.precomposed: New file.
39587         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
39588         characters.
39589         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
39591 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39593         * include/sys/time.h: Fix indentation and add copyright header.
39595         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
39596         (do_test): Likewise.
39597         * string/test-memchr.c (do_one_test): Likewise.
39598         (do_test): Likewise.
39599         * string/test-memcmp.c (do_one_test): Likewise.
39600         (do_test): Likewise.
39601         * string/test-memcpy.c (do_one_test): Likewise.
39602         (do_test): Likewise.
39603         * string/test-memmem.c (do_one_test): Likewise.
39604         (do_test): Likewise.
39605         (do_random_tests): Likewise.
39606         * string/test-memmove.c (do_one_test): Likewise.
39607         (do_test): Likewise.
39608         * string/test-memset.c (do_one_test): Likewise.
39609         (do_test): Likewise.
39610         * string/test-rawmemchr.c (do_one_test): Likewise.
39611         (do_test): Likewise.
39612         * string/test-strcasecmp.c (do_one_test): Likewise.
39613         (do_test): Likewise.
39614         * string/test-strcasestr.c (do_one_test): Likewise.
39615         (do_test): Likewise.
39616         * string/test-strcat.c (do_one_test): Likewise.
39617         (do_test): Likewise.
39618         * string/test-strchr.c (do_one_test): Likewise.
39619         (do_test): Likewise.
39620         * string/test-strcmp.c (do_one_test): Likewise.
39621         (do_test): Likewise.
39622         * string/test-strcpy.c (do_one_test): Likewise.
39623         (do_test): Likewise.
39624         * string/test-string.h: Likewise.
39625         (test_init): Likewise.
39626         * string/test-strlen.c (do_one_test): Likewise.
39627         (do_test): Likewise.
39628         * string/test-strncasecmp.c (do_one_test): Likewise.
39629         (do_test): Likewise.
39630         * string/test-strncat.c (do_one_test): Likewise.
39631         (do_test): Likewise.
39632         * string/test-strncmp.c (do_one_test): Likewise.
39633         (do_test_limit): Likewise.
39634         (do_test): Likewise.
39635         * string/test-strncpy.c (do_one_test): Likewise.
39636         (do_test): Likewise.
39637         * string/test-strnlen.c (do_one_test): Likewise.
39638         (do_test): Likewise.
39639         * string/test-strpbrk.c (do_one_test): Likewise.
39640         (do_test): Likewise.
39641         * string/test-strrchr.c (do_one_test): Likewise.
39642         (do_test): Likewise.
39643         * string/test-strspn.c (do_one_test): Likewise.
39644         (do_test): Likewise.
39645         * string/test-strstr.c (do_one_test): Likewise.
39646         (do_test): Likewise.
39648         * benchtests/Makefile (string-bench): Add string benchmarks.
39649         * benchtests/bench-bcopy-ifunc.c: New file.
39650         * benchtests/bench-bcopy.c: New file.
39651         * benchtests/bench-bzero-ifunc.c: New file.
39652         * benchtests/bench-bzero.c: New file.
39653         * benchtests/bench-memccpy-ifunc.c: New file.
39654         * benchtests/bench-memccpy.c: New file.
39655         * benchtests/bench-memchr-ifunc.c: New file.
39656         * benchtests/bench-memchr.c: New file.
39657         * benchtests/bench-memcmp-ifunc.c: New file.
39658         * benchtests/bench-memcmp.c: New file.
39659         * benchtests/bench-memmem-ifunc.c: New file.
39660         * benchtests/bench-memmem.c: New file.
39661         * benchtests/bench-memmove-ifunc.c: New file.
39662         * benchtests/bench-memmove.c: New file.
39663         * benchtests/bench-mempcpy-ifunc.c: New file.
39664         * benchtests/bench-mempcpy.c: New file.
39665         * benchtests/bench-memset-ifunc.c: New file.
39666         * benchtests/bench-memset.c: New file.
39667         * benchtests/bench-rawmemchr-ifunc.c: New file.
39668         * benchtests/bench-rawmemchr.c: New file.
39669         * benchtests/bench-stpcpy-ifunc.c: New file.
39670         * benchtests/bench-stpcpy.c: New file.
39671         * benchtests/bench-stpncpy-ifunc.c: New file.
39672         * benchtests/bench-stpncpy.c: New file.
39673         * benchtests/bench-strcasecmp-ifunc.c: New file.
39674         * benchtests/bench-strcasecmp.c: New file.
39675         * benchtests/bench-strcasestr-ifunc.c: New file.
39676         * benchtests/bench-strcasestr.c: New file.
39677         * benchtests/bench-strcat-ifunc.c: New file.
39678         * benchtests/bench-strcat.c: New file.
39679         * benchtests/bench-strchr-ifunc.c: New file.
39680         * benchtests/bench-strchr.c: New file.
39681         * benchtests/bench-strchrnul-ifunc.c: New file.
39682         * benchtests/bench-strchrnul.c: New file.
39683         * benchtests/bench-strcmp-ifunc.c: New file.
39684         * benchtests/bench-strcmp.c: New file.
39685         * benchtests/bench-strcpy-ifunc.c: New file.
39686         * benchtests/bench-strcpy.c: New file.
39687         * benchtests/bench-strcspn-ifunc.c: New file.
39688         * benchtests/bench-strcspn.c: New file.
39689         * benchtests/bench-strlen-ifunc.c: New file.
39690         * benchtests/bench-strlen.c: New file.
39691         * benchtests/bench-strncasecmp-ifunc.c: New file.
39692         * benchtests/bench-strncasecmp.c: New file.
39693         * benchtests/bench-strncat-ifunc.c: New file.
39694         * benchtests/bench-strncat.c: New file.
39695         * benchtests/bench-strncmp-ifunc.c: New file.
39696         * benchtests/bench-strncmp.c: New file.
39697         * benchtests/bench-strncpy-ifunc.c: New file.
39698         * benchtests/bench-strncpy.c: New file.
39699         * benchtests/bench-strnlen-ifunc.c: New file.
39700         * benchtests/bench-strnlen.c: New file.
39701         * benchtests/bench-strpbrk-ifunc.c: New file.
39702         * benchtests/bench-strpbrk.c: New file.
39703         * benchtests/bench-strrchr-ifunc.c: New file.
39704         * benchtests/bench-strrchr.c: New file.
39705         * benchtests/bench-strspn-ifunc.c: New file.
39706         * benchtests/bench-strspn.c: New file.
39707         * benchtests/bench-strstr-ifunc.c: New file.
39708         * benchtests/bench-strstr.c: New file.
39710         * benchtests/Makefile: Disable parallel execution of targets.
39711         (string-bench): Add memcpy.
39712         (benchset): New variable to store a list of benchmark sets.
39713         (bench-func): Renamed from bench.
39714         (bench-set): New target.
39715         (bench): Depend on bench-func and bench-set.
39716         * benchtests/README: Add section on benchmark sets.
39717         * benchtests/bench-memcpy-ifunc.c: New file.
39718         * benchtests/bench-memcpy.c: New file.
39719         * benchtests/bench-string.h: New file.
39721 2013-06-11  Andreas Schwab  <schwab@suse.de>
39723         [BZ #15577]
39724         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
39725         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
39726         values in the triple.
39727         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
39728         terminator in the group key.
39730 2013-06-11  Andreas Jaeger  <aj@suse.de>
39732         * po/zh_TW.po: Update Chinese (traditional) translation from
39733         translation project.
39735 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39737         * include/time.h (__clock_gettime): Add libc_hidden_proto.
39738         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
39739         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
39740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39741         (clock_getcpuclockid): Likewise.
39742         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
39743         Add weak_alias and libc_hidden_def.
39744         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
39745         * rt/clock_gettime.c (clock_gettime): Rename to
39746         __clock_gettime.  Add weak_alias and libc_hidden_def.
39747         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
39748         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
39749         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
39750         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
39751         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
39752         Likewise.
39753         * rt/clock_settime.c (clock_settime): Rename to
39754         __clock_settime.  Add weak_alias and libc_hidden_def.
39755         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
39757 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
39759         * mach/err_boot.sub: Remove trailing whitespace.
39760         * mach/err_ipc.sub: Likewise.
39761         * mach/err_mach.sub: Likewise.
39763         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
39764         (ROUNDING_TESTS_double): Likewise.
39765         (ROUNDING_TESTS_long_double): Likewise.
39766         (ROUNDING_TESTS): Likewise.
39767         * math/libm-test.inc: Include <math-tests.h>.
39768         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
39769         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
39770         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
39771         (IF_ROUND_INIT_FE_UPWARD): Likewise.
39773 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39775         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
39776         of assigning.
39778 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
39780         * sysdeps/gnu/errlist.awk: Do not generate space at end of
39781         otherwise empty TRANS lines.
39782         * sysdeps/gnu/errlist.c: Regenerated.
39784         * catgets/gencat.c (error_print): Use (void) in function
39785         definition.
39786         * crypt/crypt_util.c (__init_des): Likewise.
39787         * crypt/speeds.c (Stop): Likewise.
39788         (main): Likewise.
39789         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
39790         * inet/ruserpass.c (token): Likewise.
39791         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
39792         * intl/localealias.c (extend_alias_table): Likewise.
39793         * intl/plural-exp.c (init_germanic_plural): Likewise.
39794         * libio/fcloseall.c (__fcloseall): Likewise.
39795         * libio/genops.c (_IO_flush_all): Likewise.
39796         (_IO_flush_all_linebuffered): Likewise.
39797         (_IO_cleanup): Likewise.
39798         (_IO_iter_begin): Likewise.
39799         (_IO_iter_end): Likewise.
39800         (_IO_list_lock): Likewise.
39801         (_IO_list_unlock): Likewise.
39802         (_IO_list_resetlock): Likewise.
39803         * libio/getchar.c (getchar): Likewise.
39804         * libio/getchar_u.c (getchar_unlocked): Likewise.
39805         * libio/getwchar.c (getwchar): Likewise.
39806         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
39807         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
39808         * login/getpt.c (__getpt): Likewise.
39809         * login/tst-utmp.c (main): Likewise.
39810         * malloc/hooks.c (__malloc_check_init): Likewise.
39811         * malloc/malloc.c (__malloc_stats): Likewise.
39812         * malloc/mtrace.c (tr_break): Likewise.
39813         (mtrace): Likewise.
39814         (muntrace): Likewise.
39815         * misc/fstab.c (endfsent): Likewise.
39816         * misc/getclktck.c (__getclktck): Likewise.
39817         * misc/getdtsz.c (__getdtablesize): Likewise.
39818         * misc/gethostid.c (gethostid): Likewise.
39819         * misc/getpagesize.c (__getpagesize): Likewise.
39820         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
39821         (__get_nprocs): Likewise.
39822         (__get_phys_pages): Likewise.
39823         (__get_avphys_pages): Likewise.
39824         * misc/getttyent.c (getttyent): Likewise.
39825         (setttyent): Likewise.
39826         (endttyent): Likewise.
39827         * misc/getusershell.c (getusershell): Likewise.
39828         (endusershell): Likewise.
39829         (setusershell): Likewise.
39830         (initshells): Likewise.
39831         * misc/hsearch.c (__hdestroy): Likewise.
39832         * misc/sync.c (sync): Likewise.
39833         * misc/syslog.c (closelog_internal): Likewise.
39834         (closelog): Likewise.
39835         * misc/ttyslot.c (ttyslot): Likewise.
39836         * misc/vhangup.c (vhangup): Likewise.
39837         * posix/fork.c (__fork): Likewise.
39838         * posix/getegid.c (__getegid): Likewise.
39839         * posix/geteuid.c (__geteuid): Likewise.
39840         * posix/getgid.c (__getgid): Likewise.
39841         * posix/getpid.c (__getpid): Likewise.
39842         * posix/getppid.c (__getppid): Likewise.
39843         * posix/getuid.c (__getuid): Likewise.
39844         * posix/pause.c (pause): Likewise.
39845         * posix/setpgrp.c (setpgrp): Likewise.
39846         * posix/setsid.c (__setsid): Likewise.
39847         * posix/test-vfork.c (noop): Likewise.
39848         * resolv/gethnamaddr.c (_endhtent): Likewise.
39849         (_gethtent): Likewise.
39850         (ht_endhostent): Likewise.
39851         (gethostent): Likewise.
39852         (dns_service): Likewise.
39853         * stdlib/drand48.c (drand48): Likewise.
39854         * stdlib/lrand48.c (lrand48): Likewise.
39855         * stdlib/mrand48.c (mrand48): Likewise.
39856         * stdlib/rand.c (rand): Likewise.
39857         * stdlib/random.c (__random): Likewise.
39858         * stdlib/setenv.c (clearenv): Likewise.
39859         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
39860         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
39861         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
39862         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
39863         (__get_nprocs): Likewise.
39864         (__get_phys_pages): Likewise.
39865         (__get_avphys_pages): Likewise.
39866         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
39867         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
39868         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
39869         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
39870         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
39871         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
39872         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
39873         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
39874         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
39875         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
39876         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
39877         * sysdeps/mach/hurd/sync.c (sync): Likewise.
39878         * sysdeps/posix/clock.c (clock): Likewise.
39879         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
39880         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
39881         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
39882         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
39883         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
39884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
39885         (__get_nprocs_conf): Likewise.
39886         (__get_phys_pages): Likewise.
39887         (__get_avphys_pages): Likewise.
39888         * time/clock.c (clock): Likewise.
39889         * time/tzset.c (__tzname_max): Likewise.
39891 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
39893         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
39894         (__bswap_32): Do not use "register".
39895         * crypt/crypt.c (_ufc_doit_r): Likewise.
39896         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39897         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39898         * gmon/gmon.c (__monstartup): Likewise.
39899         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
39900         * hurd/hurdmalloc.c (more_memory): Likewise.
39901         (malloc): Likewise.
39902         (free): Likewise.
39903         (realloc): Likewise.
39904         (malloc_fork_prepare): Likewise.
39905         (malloc_fork_parent): Likewise.
39906         (malloc_fork_child): Likewise.
39907         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
39908         (_svcauth_des): Likewise.
39909         * inet/inet_lnaof.c (inet_lnaof): Likewise.
39910         * inet/inet_net.c (inet_network): Likewise.
39911         * inet/inet_netof.c (inet_netof): Likewise.
39912         * inet/rcmd.c (__validuser2_sa): Likewise.
39913         * io/fts.c (fts_open): Likewise.
39914         (fts_load): Likewise.
39915         (fts_close): Likewise.
39916         (fts_read): Likewise.
39917         (fts_children): Likewise.
39918         (fts_build): Likewise.
39919         (fts_stat): Likewise.
39920         (fts_sort): Likewise.
39921         (fts_alloc): Likewise.
39922         (fts_lfree): Likewise.
39923         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
39924         (_IO_file_xsgetn): Likewise.
39925         (_IO_file_xsgetn_mmap): Likewise.
39926         * libio/iofopncook.c (_IO_cookie_read): Likewise.
39927         (_IO_cookie_write): Likewise.
39928         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
39929         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
39930         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
39931         * malloc/obstack.c (_obstack_begin): Likewise.
39932         (_obstack_begin_1): Likewise.
39933         (_obstack_newchunk): Likewise.
39934         (_obstack_allocated_p): Likewise.
39935         (obstack_free): Likewise.
39936         (_obstack_memory_used): Likewise.
39937         * misc/getttyent.c (getttynam): Likewise.
39938         (getttyent): Likewise.
39939         (skip): Likewise.
39940         (value): Likewise.
39941         * misc/getusershell.c (initshells): Likewise.
39942         * misc/syslog.c (__vsyslog_chk): Likewise.
39943         * misc/ttyslot.c (ttyslot): Likewise.
39944         * nis/nis_hash.c (__nis_hash): Likewise.
39945         * posix/fnmatch_loop.c (FCT): Likewise.
39946         * posix/getconf.c (print_all): Likewise.
39947         (main): Likewise.
39948         * posix/getopt.c (exchange): Likewise.
39949         * posix/glob.c (globfree): Likewise.
39950         (prefix_array): Likewise.
39951         (__glob_pattern_type): Likewise.
39952         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39953         (NS_GET32): Likewise.
39954         (NS_PUT16): Likewise.
39955         (NS_PUT32): Likewise.
39956         * resolv/gethnamaddr.c (getanswer): Likewise.
39957         (gethostbyname2): Likewise.
39958         (gethostbyaddr): Likewise.
39959         (_gethtent): Likewise.
39960         (_gethtbyname2): Likewise.
39961         (_gethtbyaddr): Likewise.
39962         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39963         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39964         * resolv/res_init.c (__res_vinit): Likewise.
39965         (net_mask): Likewise.
39966         * resolv/res_mkquery.c (outchar): Likewise.
39967         (PRINT): Likewise.
39968         * stdio-common/printf_fp.c (outchar): Likewise.
39969         (PRINT): Likewise.
39970         * stdio-common/printf_fphex.c (outchar): Likewise.
39971         (PRINT): Likewise.
39972         * stdio-common/printf_size.c (outchar): Likewise.
39973         (PRINT): Likewise.
39974         * stdio-common/test_rdwr.c (main): Likewise.
39975         * stdio-common/tfformat.c (matches): Likewise.
39976         * stdio-common/vfprintf.c (outchar): Likewise.
39977         (printf_unknown): Likewise.
39978         (buffered_vfprintf): Likewise.
39979         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39980         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39981         (ReadFile): Likewise.
39982         * stdlib/qsort.c (SWAP): Likewise.
39983         (_quicksort): Likewise.
39984         * stdlib/setenv.c (__add_to_environ): Likewise.
39985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39986         * stdlib/strtol_l.c (__strtol_l): Likewise.
39987         * stdlib/tst-strtod.c (main): Likewise.
39988         * stdlib/tst-strtol.c (main): Likewise.
39989         * stdlib/tst-strtoll.c (main): Likewise.
39990         * string/bits/string2.h (__strcmp_cc): Likewise.
39991         (__strcmp_cg): Likewise.
39992         (__strcspn_c1): Likewise.
39993         (__strcspn_c2): Likewise.
39994         (__strcspn_c3): Likewise.
39995         (__strspn_c1): Likewise.
39996         (__strspn_c2): Likewise.
39997         (__strspn_c3): Likewise.
39998         (__strsep_1c): Likewise.
39999         (__strsep_2c): Likewise.
40000         (__strsep_3c): Likewise.
40001         * string/memccpy.c (__memccpy): Likewise.
40002         * string/stpcpy.c (__stpcpy): Likewise.
40003         * string/strcmp.c (strcmp): Likewise.
40004         * string/strrchr.c (strrchr): Likewise.
40005         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40006         Likewise.
40007         * sysdeps/mach/hurd/getcwd.c
40008         (_hurd_canonicalize_directory_name_internal): Likewise.
40009         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40010         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40011         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40012         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40013         Likewise, in both definitions.
40014         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40015         definitions.
40016         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40017         64] (__bswap_64): Likewise.
40018         * time/test_time.c (main): Likewise.
40019         * time/tzfile.c (__tzfile_read): Likewise.
40020         (__tzfile_compute): Likewise.
40021         * time/tzset.c (__tzset_parse_tz): Likewise.
40022         (tzset_internal): Likewise.
40023         (compute_change): Likewise.
40024         * wcsmbs/wcscat.c (__wcscat): Likewise.
40025         * wcsmbs/wcschr.c (wcschr): Likewise.
40026         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40027         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40028         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40029         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40030         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40031         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40032         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40033         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40034         * wcsmbs/wmemset.c (wmemset): Likewise.
40036 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40038         * scripts/config.guess: Update to version 2013-05-16.
40039         * scripts/config.sub: Update to version 2013-04-24.
40040         * scripts/install-sh: Update to version 2011-11-20.07.
40041         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40042         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40044 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40046         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40047         * elf/sln.c: Likewise.
40048         * hurd/hurd/ioctl.h: Likewise.
40049         * hurd/hurdmalloc.c: Likewise.
40050         * hurd/xattr.c: Likewise.
40051         * include/shlib-compat.h: Likewise.
40052         * inet/ruserpass.c: Likewise.
40053         * libio/iofgets_u.c: Likewise.
40054         * libio/iofgetws_u.c: Likewise.
40055         * locale/programs/ld-identification.c: Likewise.
40056         * locale/programs/ld-time.c: Likewise.
40057         * mach/msg-destroy.c: Likewise.
40058         * nss/nss_files/files-netgrp.c: Likewise.
40059         * resolv/res_data.c: Likewise.
40060         * soft-fp/op-1.h: Likewise.
40061         * soft-fp/op-2.h: Likewise.
40062         * soft-fp/op-4.h: Likewise.
40063         * soft-fp/op-common.h: Likewise.
40064         * stdio-common/printf_fphex.c: Likewise.
40065         * stdlib/strtod_l.c: Likewise.
40066         * sunrpc/rpc/clnt.h: Likewise.
40067         * sysdeps/generic/framestate.c: Likewise.
40068         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40069         * sysdeps/i386/bsd-setjmp.S: Likewise.
40070         * sysdeps/i386/__longjmp.S: Likewise.
40071         * sysdeps/i386/setjmp.S: Likewise.
40072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40073         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40074         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40075         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40076         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40079         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40080         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40081         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40082         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40084         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40086         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40087         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40088         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40089         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40090         * sysdeps/ieee754/support.c: Likewise.
40091         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40092         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40093         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40094         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40095         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40096         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40097         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40098         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40099         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40100         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40101         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40102         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40103         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40104         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40105         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40106         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40107         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40110 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40112         * posix/transbug.c: Remove executable mode.
40114 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40116         * crypt/speeds.c: Remove trailing whitespace.
40117         * dlfcn/default.c: Likewise.
40118         * elf/ifuncdep2.c: Likewise.
40119         * elf/ifuncmain1.c: Likewise.
40120         * elf/ifuncmain1vis.c: Likewise.
40121         * elf/testobj.h: Likewise.
40122         * elf/tst-stackguard1.c: Likewise.
40123         * gmon/sys/gmon.h: Likewise.
40124         * hurd/hurdmsg.c: Likewise.
40125         * hurd/new-fd.c: Likewise.
40126         * hurd/ports-get.c: Likewise.
40127         * iconvdata/ibm1008_420.c: Likewise.
40128         * inet/tst-getni1.c: Likewise.
40129         * inet/tst-getni2.c: Likewise.
40130         * libio/ioungetc.c: Likewise.
40131         * libio/wfiledoalloc.c: Likewise.
40132         * manual/libm-err-tab.pl: Likewise.
40133         * math/w_dremf.c: Likewise.
40134         * misc/ftruncate.c: Likewise.
40135         * posix/bug-glob2.c: Likewise.
40136         * posix/tst-pcre.c: Likewise.
40137         * posix/wait4.c: Likewise.
40138         * resolv/README: Likewise.
40139         * resolv/res_debug.h: Likewise.
40140         * resolv/tst-inet_ntop.c: Likewise.
40141         * setjmp/bug269-setjmp.c: Likewise.
40142         * soft-fp/extended.h: Likewise.
40143         * soft-fp/op-1.h: Likewise.
40144         * soft-fp/op-2.h: Likewise.
40145         * soft-fp/op-4.h: Likewise.
40146         * soft-fp/op-8.h: Likewise.
40147         * soft-fp/testit.c: Likewise.
40148         * stdio-common/bug16.c: Likewise.
40149         * stdlib/random.c: Likewise.
40150         * sunrpc/rpcsvc/rquota.x: Likewise.
40151         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40152         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40154         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40155         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40156         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40157         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40158         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40159         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40160         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40161         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40162         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40163         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40164         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40165         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40166         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40167         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40168         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40169         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40170         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40171         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40172         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40173         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40174         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40175         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40176         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40177         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40178         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40179         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40180         * sysdeps/ieee754/s_lib_version.c: Likewise.
40181         * sysdeps/mach/hurd/check_fds.c: Likewise.
40182         * sysdeps/mach/hurd/getsockname.c: Likewise.
40183         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40184         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40185         * sysdeps/powerpc/bits/link.h: Likewise.
40186         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40187         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40188         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40189         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40190         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40191         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40192         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40193         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40194         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40195         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40196         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40197         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40198         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40199         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40200         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40201         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40202         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40203         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40204         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40205         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40206         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40207         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40209         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40210         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40211         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40212         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40213         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40214         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40215         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40216         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40217         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40218         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40219         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40220         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40221         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40222         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40223         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40224         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40225         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40226         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40227         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40228         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40229         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40230         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40231         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40232         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40233         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40234         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40235         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40237         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40238         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40239         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40240         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40241         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40242         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40244         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40245         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40246         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40247         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40248         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40249         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40250         * sysdeps/powerpc/sysdep.h: Likewise.
40251         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40252         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40253         * sysdeps/sh/dl-trampoline.S: Likewise.
40254         * sysdeps/sh/memset.S: Likewise.
40255         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40256         * sysdeps/sh/strlen.S: Likewise.
40257         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40258         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40259         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40260         * sysdeps/sparc/sparc32/rem.S: Likewise.
40261         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40262         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40263         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40264         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40265         * sysdeps/sparc/sparc32/urem.S: Likewise.
40266         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40267         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40268         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40269         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40270         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40271         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40272         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40273         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40274         * sysdeps/unix/bsd/times.c: Likewise.
40275         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40276         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40280         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40281         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40282         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40283         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40284         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40285         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40286         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40287         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40288         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40289         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40290         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40291         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40292         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40293         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40294         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40295         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40296         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40297         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40298         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40299         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40300         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40301         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40302         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40303         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40304         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40305         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40306         * sysdeps/x86_64/strcspn.S: Likewise.
40308 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40310         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40311         generated file.  Regenerate properly from gen-translit.pl.
40312         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40313         locale/C-translit.h.
40315 2013-06-05  Andreas Schwab  <schwab@suse.de>
40317         [BZ #15100]
40318         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40319         week as 6 instead of -1.
40320         * time/tst-strptime.c (day_tests): Add test case.
40322 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40324         * sysdeps/generic/math_private.h
40325         (libc_feholdexcept_setround_53bit): Replace with
40326         libc_feholdsetround_53bit.
40327         (libc_feupdateenv_53bit): Replace with
40328         libc_feresetround_53bit.
40329         (SET_RESTORE_ROUND_53BIT): Adjust.
40331 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40333         * string/test-strchrnul.c: Add copyright header.
40335         * posix/tst-getaddrinfo4.c: Increase test timeout.
40337 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40339         [BZ #15536]
40340         * math/libm-test.inc (MAX_EXP): Remove
40341         (MIN_EXP): Define.
40342         (ulp): Use MIN_EXP - MANT_DIG.
40343         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40345 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40347         * po/be.po: Revert last change.
40348         * po/zh_CN.po: Likewise.
40349         * po/header.pot: Likewise.
40351 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40353         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40354         link-libc-deps to empty as target-specific variable.
40355         * Makerules (link-libc-args): New variable.
40356         (libc-for-link): Likewise.
40357         (link-libc-deps): Likewise.
40358         (lib%.so): Depend on $(link-libc-deps).  Link with
40359         $(link-libc-args).
40360         (build-module): Link with $(link-libc-args).
40361         (build-module-asneeded): Likewise.
40362         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40363         list of objects.
40364         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40365         target-specific variable.
40366         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40367         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40368         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40369         libc.
40370         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40371         libc and ld.so.
40372         ($(objpfx)libpcprofile.so): Likewise.
40373         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40374         libc_nonshared.a.
40375         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40376         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40377         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40378         $(link-libc-deps).
40379         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40380         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40381         * login/Makefile ($(objpfx)libutil.so): Likewise.
40382         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40383         * math/Makefile ($(objpfx)libm.so): Likewise.
40384         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40385         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40386         variable instead of depending directly on libc.
40387         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40388         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40389         $(link-libc-deps).
40390         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40391         libc.
40392         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40393         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40394         ($(objpfx)libanl.so): Likewise.
40395         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40396         ld.so.
40397         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40398         $(link-libc-deps).
40399         * sysdeps/i386/fpu/Makefile: Remove file.
40400         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40401         ($(objpfx)libm.so): Remove dependency on ld.so.
40403 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40405         [BZ # 15553]
40406         * nis/yp_xdr.c (XDRMAXNAME): Define.
40407         (XDRMAXRECORD): Define.
40408         (xdr_domainname): Use XDRMAXNAME.
40409         (xdr_mapname): Likewise.
40410         (xdr_peername): Likewise.
40411         (xdr_keydat): Use XDRMAXRECORD.
40412         (xdr_valdat): Likewise.
40414 2013-05-30  Jeff Law  <law@redhat.com>
40416         [BZ #14256]
40417         * manual/errno.texi (ESTALE): Update to account for more than
40418         just NFS file systems.
40419         * sysdeps/gnu/errlist.c: Regenerated.
40421 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40423         [BZ #15465]
40424         * elf/Makefile (tests): Add tst-null-argv.
40425         (modules-names):  Add tst-null-argv-lib.
40426         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40427         (tst-null-argv-ENV): Set environment for tst-null-argv.
40428         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40429         (RTLD_PROGNAME): New macro.
40430         * elf/tst-null-argv.c: New test case.
40431         * elf/tst-null-argv-lib.c: Library for test case.
40432         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40433         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40434         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40435         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40436         * elf/dl-init.c (call_init): Likewise.
40437         (_dl_init): Likewise.
40438         * elf/dl-load.c (print_search_path): Likewise.
40439         (_dl_map_object): Likewise.
40440         * elf/dl-lookup.c (do_lookup_x): Likewise.
40441         (add_dependency): Likewise.
40442         (_dl_lookup_symbol_x): Likewise.
40443         (_dl_debug_bindings): Likewise.
40444         * elf/dl-open.c (_dl_show_scope): Likewise.
40445         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40446         * elf/dl-version.c (match_symbol): Likewise.
40447         (_dl_check_map_versions): Likewise.
40448         * elf/rtld.c (dl_main): Likewise.
40449         (print_unresolved): Use RTLD_PROGNAME.
40450         (print_missing_version): Likewise.
40451         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40452         (elf_machine_rela): Likewise.
40453         * sysdeps/powerpc/powerpc32/dl-machine.c
40454         (__process_machine_rela): Likewise.
40455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40456         Likewise.
40457         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40458         Likewise.
40459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40460         Likewise.
40461         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40462         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40463         Likewise.
40464         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40465         Likewise.
40466         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40468 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40470         * po/be.po: Add descriptive title.
40471         * po/zh_CN.po: Likewise.
40472         * po/header.pot: Likewise.
40474 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40476         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40477         error message.
40478         (enlarge_archive): Likewise.
40480 2013-05-28  Ben North  <ben@redfrontdoor.org>
40482         * manual/arith.texi (frexp): It is the magnitude of the return
40483         value which lies in [0.5, 1), not the return value itself.
40485 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40489 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40491         * stdio-common/bug26.c (main): Correct fscanf template.
40493         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40494         declare _dl_skip_args.
40496         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40497         Don't declare.
40499         * manual/platform.texi: Add missing @end deftypefun.
40501 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40503         [BZ #15529]
40504         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
40505         bit of mantissa of 2^16382.
40506         * math/libm-test.inc (hypot_test_data): Add more tests.
40508         * math/libm-test.inc: Add drem and pow10 to list of tested
40509         functions.
40510         (pow10_test): New function.
40511         (drem_test): Likewise.
40512         (drem_test_tonearest): Likewise.
40513         (drem_test_towardzero): Likewise.
40514         (drem_test_downward): Likewise.
40515         (drem_test_upward): Likewise.
40516         (main): Call the new functions.
40518         * math/libm-test.inc (finite_test_data): Remove.
40519         (finite_test): Run tests from isfinite_test_data.
40520         (gamma_test_data): Remove.
40521         (gamma_test): Run tests from lgamma_test_data.
40522         * sysdeps/i386/fpu/libm-test-ulps: Update.
40523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40525 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40527         * manual/platform.texi: Add PowerPC PPR function set documentation.
40528         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
40529         implementation.
40531 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
40533         * math/libm-test.inc (MAX_EXP): Define.
40534         (ULPDIFF): Define.
40535         (ulp): New function.
40536         (check_float_internal): Use ULPDIFF.
40537         (cpow_test): Disable failing test.
40538         (check_ulp): Test ulp() implemetnation.
40539         (main): Call check_ulp before starting tests.
40541 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
40543         * math/gen-libm-test.pl (generate_testfile): Do not handle
40544         START_DATA and END_DATA.
40545         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
40546         END_DATA.
40547         (acos_tonearest_test_data): Likewise.
40548         (acos_towardzero_test_data): Likewise.
40549         (acos_downward_test_data): Likewise.
40550         (acos_upward_test_data): Likewise.
40551         (acosh_test_data): Likewise.
40552         (asin_test_data): Likewise.
40553         (asin_tonearest_test_data): Likewise.
40554         (asin_towardzero_test_data): Likewise.
40555         (asin_downward_test_data): Likewise.
40556         (asin_upward_test_data): Likewise.
40557         (asinh_test_data): Likewise.
40558         (atan_test_data): Likewise.
40559         (atanh_test_data): Likewise.
40560         (atan2_test_data): Likewise.
40561         (cabs_test_data): Likewise.
40562         (cacos_test_data): Likewise.
40563         (cacosh_test_data): Likewise.
40564         (carg_test_data): Likewise.
40565         (casin_test_data): Likewise.
40566         (casinh_test_data): Likewise.
40567         (catan_test_data): Likewise.
40568         (catanh_test_data): Likewise.
40569         (cbrt_test_data): Likewise.
40570         (ccos_test_data): Likewise.
40571         (ccosh_test_data): Likewise.
40572         (ceil_test_data): Likewise.
40573         (cexp_test_data): Likewise.
40574         (cimag_test_data): Likewise.
40575         (clog_test_data): Likewise.
40576         (clog10_test_data): Likewise.
40577         (conj_test_data): Likewise.
40578         (copysign_test_data): Likewise.
40579         (cos_test_data): Likewise.
40580         (cos_tonearest_test_data): Likewise.
40581         (cos_towardzero_test_data): Likewise.
40582         (cos_downward_test_data): Likewise.
40583         (cos_upward_test_data): Likewise.
40584         (cosh_test_data): Likewise.
40585         (cosh_tonearest_test_data): Likewise.
40586         (cosh_towardzero_test_data): Likewise.
40587         (cosh_downward_test_data): Likewise.
40588         (cosh_upward_test_data): Likewise.
40589         (cpow_test_data): Likewise.
40590         (cproj_test_data): Likewise.
40591         (creal_test_data): Likewise.
40592         (csin_test_data): Likewise.
40593         (csinh_test_data): Likewise.
40594         (csqrt_test_data): Likewise.
40595         (ctan_test_data): Likewise.
40596         (ctan_tonearest_test_data): Likewise.
40597         (ctan_towardzero_test_data): Likewise.
40598         (ctan_downward_test_data): Likewise.
40599         (ctan_upward_test_data): Likewise.
40600         (ctanh_test_data): Likewise.
40601         (ctanh_tonearest_test_data): Likewise.
40602         (ctanh_towardzero_test_data): Likewise.
40603         (ctanh_downward_test_data): Likewise.
40604         (ctanh_upward_test_data): Likewise.
40605         (erf_test_data): Likewise.
40606         (erfc_test_data): Likewise.
40607         (exp_test_data): Likewise.
40608         (exp_tonearest_test_data): Likewise.
40609         (exp_towardzero_test_data): Likewise.
40610         (exp_downward_test_data): Likewise.
40611         (exp_upward_test_data): Likewise.
40612         (exp10_test_data): Likewise.
40613         (exp2_test_data): Likewise.
40614         (expm1_test_data): Likewise.
40615         (fabs_test_data): Likewise.
40616         (fdim_test_data): Likewise.
40617         (finite_test_data): Likewise.
40618         (floor_test_data): Likewise.
40619         (fma_test_data): Likewise.
40620         (fma_towardzero_test_data): Likewise.
40621         (fma_downward_test_data): Likewise.
40622         (fma_upward_test_data): Likewise.
40623         (fmax_test_data): Likewise.
40624         (fmin_test_data): Likewise.
40625         (fmod_test_data): Likewise.
40626         (fpclassify_test_data): Likewise.
40627         (frexp_test_data): Likewise.
40628         (gamma_test_data): Likewise.
40629         (hypot_test_data): Likewise.
40630         (ilogb_test_data): Likewise.
40631         (isfinite_test_data): Likewise.
40632         (isgreater_test_data): Likewise.
40633         (isgreaterequal_test_data): Likewise.
40634         (isinf_test_data): Likewise.
40635         (isless_test_data): Likewise.
40636         (islessequal_test_data): Likewise.
40637         (islessgreater_test_data): Likewise.
40638         (isnan_test_data): Likewise.
40639         (isnormal_test_data): Likewise.
40640         (issignaling_test_data): Likewise.
40641         (isunordered_test_data): Likewise.
40642         (j0_test_data): Likewise.
40643         (j1_test_data): Likewise.
40644         (jn_test_data): Likewise.
40645         (ldexp_test_data): Likewise.
40646         (lgamma_test_data): Likewise.
40647         (lrint_test_data): Likewise.
40648         (lrint_tonearest_test_data): Likewise.
40649         (lrint_towardzero_test_data): Likewise.
40650         (lrint_downward_test_data): Likewise.
40651         (lrint_upward_test_data): Likewise.
40652         (llrint_test_data): Likewise.
40653         (llrint_tonearest_test_data): Likewise.
40654         (llrint_towardzero_test_data): Likewise.
40655         (llrint_downward_test_data): Likewise.
40656         (llrint_upward_test_data): Likewise.
40657         (log_test_data): Likewise.
40658         (log10_test_data): Likewise.
40659         (log1p_test_data): Likewise.
40660         (log2_test_data): Likewise.
40661         (logb_test_data): Likewise.
40662         (logb_downward_test_data): Likewise.
40663         (lround_test_data): Likewise.
40664         (llround_test_data): Likewise.
40665         (modf_test_data): Likewise.
40666         (nearbyint_test_data): Likewise.
40667         (nextafter_test_data): Likewise.
40668         (nexttoward_test_data): Likewise.
40669         (pow_test_data): Likewise.
40670         (pow_tonearest_test_data): Likewise.
40671         (pow_towardzero_test_data): Likewise.
40672         (pow_downward_test_data): Likewise.
40673         (pow_upward_test_data): Likewise.
40674         (remainder_test_data): Likewise.
40675         (remainder_tonearest_test_data): Likewise.
40676         (remainder_towardzero_test_data): Likewise.
40677         (remainder_downward_test_data): Likewise.
40678         (remainder_upward_test_data): Likewise.
40679         (remquo_test_data): Likewise.
40680         (rint_test_data): Likewise.
40681         (rint_tonearest_test_data): Likewise.
40682         (rint_towardzero_test_data): Likewise.
40683         (rint_downward_test_data): Likewise.
40684         (rint_upward_test_data): Likewise.
40685         (round_test_data): Likewise.
40686         (scalb_test_data): Likewise.
40687         (scalbn_test_data): Likewise.
40688         (scalbln_test_data): Likewise.
40689         (signbit_test_data): Likewise.
40690         (sin_test_data): Likewise.
40691         (sin_tonearest_test_data): Likewise.
40692         (sin_towardzero_test_data): Likewise.
40693         (sin_downward_test_data): Likewise.
40694         (sin_upward_test_data): Likewise.
40695         (sincos_test_data): Likewise.
40696         (sinh_test_data): Likewise.
40697         (sinh_tonearest_test_data): Likewise.
40698         (sinh_towardzero_test_data): Likewise.
40699         (sinh_downward_test_data): Likewise.
40700         (sinh_upward_test_data): Likewise.
40701         (sqrt_test_data): Likewise.
40702         (tan_test_data): Likewise.
40703         (tan_tonearest_test_data): Likewise.
40704         (tan_towardzero_test_data): Likewise.
40705         (tan_downward_test_data): Likewise.
40706         (tan_upward_test_data): Likewise.
40707         (tanh_test_data): Likewise.
40708         (tgamma_test_data): Likewise.
40709         (trunc_test_data): Likewise.
40710         (y0_test_data): Likewise.
40711         (y1_test_data): Likewise.
40712         (yn_test_data): Likewise.
40713         (significand_test_data): Likewise.
40715         * math/gen-libm-test.pl (@functions): Remove variable.
40716         (generate_testfile): Don't handle START and END lines.
40717         * math/libm-test.inc (START): New macro.
40718         (END): Likewise.
40719         (END_COMPLEX): Likewise.
40720         (acos_test): Use END macro without arguments.
40721         (acos_test_tonearest): Likewise.
40722         (acos_test_towardzero): Likewise.
40723         (acos_test_downward): Likewise.
40724         (acos_test_upward): Likewise.
40725         (acosh_test): Likewise.
40726         (asin_test): Likewise.
40727         (asin_test_tonearest): Likewise.
40728         (asin_test_towardzero): Likewise.
40729         (asin_test_downward): Likewise.
40730         (asin_test_upward): Likewise.
40731         (asinh_test): Likewise.
40732         (atan_test): Likewise.
40733         (atanh_test): Likewise.
40734         (atan2_test): Likewise.
40735         (cabs_test): Likewise.
40736         (cacos_test): Use END_COMPLEX macro without arguments.
40737         (cacosh_test): Likewise.
40738         (carg_test): Use END macro without arguments.
40739         (casin_test): Use END_COMPLEX macro without arguments.
40740         (casinh_test): Likewise.
40741         (catan_test): Likewise.
40742         (catanh_test): Likewise.
40743         (cbrt_test): Use END macro without arguments.
40744         (ccos_test): Use END_COMPLEX macro without arguments.
40745         (ccosh_test): Likewise.
40746         (ceil_test): Use END macro without arguments.
40747         (cexp_test): Use END_COMPLEX macro without arguments.
40748         (cimag_test): Use END macro without arguments.
40749         (clog_test): Use END_COMPLEX macro without arguments.
40750         (clog10_test): Likewise.
40751         (conj_test): Likewise.
40752         (copysign_test): Use END macro without arguments.
40753         (cos_test): Likewise.
40754         (cos_test_tonearest): Likewise.
40755         (cos_test_towardzero): Likewise.
40756         (cos_test_downward): Likewise.
40757         (cos_test_upward): Likewise.
40758         (cosh_test): Likewise.
40759         (cosh_test_tonearest): Likewise.
40760         (cosh_test_towardzero): Likewise.
40761         (cosh_test_downward): Likewise.
40762         (cosh_test_upward): Likewise.
40763         (cpow_test): Use END_COMPLEX macro without arguments.
40764         (cproj_test): Likewise.
40765         (creal_test): Use END macro without arguments.
40766         (csin_test): Use END_COMPLEX macro without arguments.
40767         (csinh_test): Likewise.
40768         (csqrt_test): Likewise.
40769         (ctan_test): Likewise.
40770         (ctan_test_tonearest): Likewise.
40771         (ctan_test_towardzero): Likewise.
40772         (ctan_test_downward): Likewise.
40773         (ctan_test_upward): Likewise.
40774         (ctanh_test): Likewise.
40775         (ctanh_test_tonearest): Likewise.
40776         (ctanh_test_towardzero): Likewise.
40777         (ctanh_test_downward): Likewise.
40778         (ctanh_test_upward): Likewise.
40779         (erf_test): Use END macro without arguments.
40780         (erfc_test): Likewise.
40781         (exp_test): Likewise.
40782         (exp_test_tonearest): Likewise.
40783         (exp_test_towardzero): Likewise.
40784         (exp_test_downward): Likewise.
40785         (exp_test_upward): Likewise.
40786         (exp10_test): Likewise.
40787         (exp2_test): Likewise.
40788         (expm1_test): Likewise.
40789         (fabs_test): Likewise.
40790         (fdim_test): Likewise.
40791         (finite_test): Likewise.
40792         (floor_test): Likewise.
40793         (fma_test): Likewise.
40794         (fma_test_towardzero): Likewise.
40795         (fma_test_downward): Likewise.
40796         (fma_test_upward): Likewise.
40797         (fmax_test): Likewise.
40798         (fmin_test): Likewise.
40799         (fmod_test): Likewise.
40800         (fpclassify_test): Likewise.
40801         (frexp_test): Likewise.
40802         (gamma_test): Likewise.
40803         (hypot_test): Likewise.
40804         (ilogb_test): Likewise.
40805         (isfinite_test): Likewise.
40806         (isgreater_test): Likewise.
40807         (isgreaterequal_test): Likewise.
40808         (isinf_test): Likewise.
40809         (isless_test): Likewise.
40810         (islessequal_test): Likewise.
40811         (islessgreater_test): Likewise.
40812         (isnan_test): Likewise.
40813         (isnormal_test): Likewise.
40814         (issignaling_test): Likewise.
40815         (isunordered_test): Likewise.
40816         (j0_test): Likewise.
40817         (j1_test): Likewise.
40818         (jn_test): Likewise.
40819         (ldexp_test): Likewise.
40820         (lgamma_test): Likewise.
40821         (lrint_test): Likewise.
40822         (lrint_test_tonearest): Likewise.
40823         (lrint_test_towardzero): Likewise.
40824         (lrint_test_downward): Likewise.
40825         (lrint_test_upward): Likewise.
40826         (llrint_test): Likewise.
40827         (llrint_test_tonearest): Likewise.
40828         (llrint_test_towardzero): Likewise.
40829         (llrint_test_downward): Likewise.
40830         (llrint_test_upward): Likewise.
40831         (log_test): Likewise.
40832         (log10_test): Likewise.
40833         (log1p_test): Likewise.
40834         (log2_test): Likewise.
40835         (logb_test): Likewise.
40836         (logb_test_downward): Likewise.
40837         (lround_test): Likewise.
40838         (llround_test): Likewise.
40839         (modf_test): Likewise.
40840         (nearbyint_test): Likewise.
40841         (nextafter_test): Likewise.
40842         (nexttoward_test): Likewise.
40843         (pow_test): Likewise.
40844         (pow_test_tonearest): Likewise.
40845         (pow_test_towardzero): Likewise.
40846         (pow_test_downward): Likewise.
40847         (pow_test_upward): Likewise.
40848         (remainder_test): Likewise.
40849         (remainder_test_tonearest): Likewise.
40850         (remainder_test_towardzero): Likewise.
40851         (remainder_test_downward): Likewise.
40852         (remainder_test_upward): Likewise.
40853         (remquo_test): Likewise.
40854         (rint_test): Likewise.
40855         (rint_test_tonearest): Likewise.
40856         (rint_test_towardzero): Likewise.
40857         (rint_test_downward): Likewise.
40858         (rint_test_upward): Likewise.
40859         (round_test): Likewise.
40860         (scalb_test): Likewise.
40861         (scalbn_test): Likewise.
40862         (scalbln_test): Likewise.
40863         (signbit_test): Likewise.
40864         (sin_test): Likewise.
40865         (sin_test_tonearest): Likewise.
40866         (sin_test_towardzero): Likewise.
40867         (sin_test_downward): Likewise.
40868         (sin_test_upward): Likewise.
40869         (sincos_test): Likewise.
40870         (sinh_test): Likewise.
40871         (sinh_test_tonearest): Likewise.
40872         (sinh_test_towardzero): Likewise.
40873         (sinh_test_downward): Likewise.
40874         (sinh_test_upward): Likewise.
40875         (sqrt_test): Likewise.
40876         (tan_test): Likewise.
40877         (tan_test_tonearest): Likewise.
40878         (tan_test_towardzero): Likewise.
40879         (tan_test_downward): Likewise.
40880         (tan_test_upward): Likewise.
40881         (tanh_test): Likewise.
40882         (tgamma_test): Likewise.
40883         (trunc_test): Likewise.
40884         (y0_test): Likewise.
40885         (y1_test): Likewise.
40886         (yn_test): Likewise.
40887         (significand_test): Likewise.
40889 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
40891         [BZ #15381]
40892         * libio/genops.c (_IO_no_init): Initialize wide struct info.
40894 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40896         [BZ #14894]
40897         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
40898         __ppc_mdoio and __ppc_mdoom.
40899         * manual/platform.texi: Document new functions __ppc_yield,
40900         __ppc_mdoio and __ppc_mdoom.
40902 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
40904         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
40905         (main): Mention "tls" pseudo-hwcap is legacy.
40906         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
40908 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40910         * math/gen-libm-test.pl (parse_args): Output only string of
40911         arguments as text for test name, not full call or descriptions of
40912         tests for extra outputs.
40913         (generate_testfile): Do not pass function name to parse_args.
40914         Generate this_func variable from START.
40915         * math/libm-test.inc (struct test_f_f_data): Rename test_name
40916         field to arg_str.
40917         (struct test_ff_f_data): Likewise.
40918         (test_ff_f_data_nexttoward): Likewise.
40919         (struct test_fi_f_data): Likewise.
40920         (struct test_fl_f_data): Likewise.
40921         (struct test_if_f_data): Likewise.
40922         (struct test_fff_f_data): Likewise.
40923         (struct test_c_f_data): Likewise.
40924         (struct test_f_f1_data): Likewise.  Remove field extra_name.
40925         (struct test_fF_f1_data): Likewise.
40926         (struct test_ffI_f1_data): Likewise.
40927         (struct test_c_c_data): Rename test_name field to arg_str.
40928         (struct test_cc_c_data): Likewise.
40929         (struct test_f_i_data): Likewise.
40930         (struct test_ff_i_data): Likewise.
40931         (struct test_f_l_data): Likewise.
40932         (struct test_f_L_data): Likewise.
40933         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
40934         and extra2_name.
40935         (COMMON_TEST_SETUP): New macro.
40936         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40937         (COMMON_TEST_CLEANUP): Likewise.
40938         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40939         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40940         macros.
40941         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40942         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40943         macros.
40944         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40945         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40946         cleanup macros.
40947         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40948         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40949         macros.
40950         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40951         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40952         macros.
40953         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40954         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40955         cleanup macros.
40956         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40957         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40958         cleanup macros.
40959         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40960         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40961         cleanup macros.
40962         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40963         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40964         macros.
40965         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40966         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40967         macros.
40968         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40969         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40970         macros.
40971         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40972         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40973         cleanup macros.
40974         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40975         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40976         cleanup macros.
40977         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40978         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40979         macros.
40980         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40981         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40982         cleanup macros.
40983         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40984         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40985         macros.
40986         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40987         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40988         macros.
40989         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40990         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40991         cleanup macros.
40992         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40994 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40996         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40997         to _sifields.sigfault.
40998         (si_addr_lsb): Define new macro.
40999         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41000         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41003 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41005         [BZ #15441]
41006         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41007         returns -1.
41008         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41009         null return -1.
41010         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41011         loading the domain.
41013 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41015         * math/gen-libm-test.pl (parse_args): Do not include expected
41016         result in test name.
41017         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41019         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41020         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41021         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41024 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         * benchtests/Makefile: Sort function entries.
41028         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41029         tanh, asinh, acosh, atanh.
41030         * benchtests/acos-inputs: New file.
41031         * benchtests/acosh-inputs: New file.
41032         * benchtests/asin-inputs: New file.
41033         * benchtests/asinh-inputs: New file.
41034         * benchtests/atanh-inputs: New file.
41035         * benchtests/cosh-inputs: New file.
41036         * benchtests/log-inputs: New file.
41037         * benchtests/sinh-inputs: New file.
41038         * benchtests/tanh-inputs: New file.
41040 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41042         [BZ #15339]
41043         * posix/tst-getaddrinfo4.c: New test.
41044         * posix/Makefile (tests): Add it.
41046 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41048         [BZ #15339]
41049         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41050         when no services were used.
41051         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41052         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41054 2013-05-21  Andreas Schwab  <schwab@suse.de>
41056         [BZ #15014]
41057         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41058         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41059         successful.
41060         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41061         redundant variable declarations and reallocation of buffer when
41062         parsing as IPv6 address.  Always set NSS status when called from
41063         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41064         buffer too small.  Correct computation of needed size.
41065         * nss/Makefile (tests): Add test-digits-dots.
41066         * nss/test-digits-dots.c: New test.
41068 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41070         * benchtests/Makefile: Remove instructions for adding
41071         benchmark tests.
41072         * benchtests/README: New file to explain how to execute and
41073         enhance the benchmark tests.
41075 2013-05-21  Andreas Schwab  <schwab@suse.de>
41077         [BZ #15493]
41078         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41079         * setjmp/tst-sigsetjmp.c: New test.
41081 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41083         * sysdeps/x86_64/memset.S (memset): New implementation.
41084         (__bzero): Likewise.
41085         (__memset_tail): New function.
41087 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41089         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41090         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41091         __memcpy_sse2_unaligned ifunc selection.
41092         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41093         Add memcpy-sse2-unaligned.S.
41094         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41095         Add: __memcpy_sse2_unaligned.
41097 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41099         [BZ #15490]
41100         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41101         math_force_eval before restoring floating-point envrionment.
41102         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41103         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41104         Likewise.
41105         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41106         <math_private.h>.
41107         (__nearbyintl): Use math_force_eval before restoring
41108         floating-point environment.
41109         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41111         * math/gen-libm-test.pl (special_functions): Remove.
41112         (parse_args): Don't handle TEST_extra.  Handle functions with no
41113         return value.
41114         * math/libm-test.inc (struct test_sincos_data): Replace with
41115         struct test_fFF_11_data.
41116         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41117         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41118         (sincos_test_data): Change element type to struct
41119         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41120         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41121         RUN_TEST_LOOP_sincos.
41122         * math/README.libm-test: Don't mention special handling of
41123         individual functions.
41124         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41125         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41126         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41127         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41128         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41131         * math/gen-libm-test.pl (get_variable): Remove function.
41132         (parse_args): Don't show pointer parameters to call in test
41133         names.  Use "extra output N" in test names for extra outputs
41134         rather than naming variables.
41136 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41138         [BZ #15488]
41139         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41140         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41141         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41142         double tests.
41143         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41144         disable.
41145         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41146         check_long_double.
41148         * math/gen-libm-test.pl (@tests): Remove variable.
41149         ($count): Likewise.
41150         (new_test): Remove function.
41151         (show_exceptions): New function.
41152         (special_functions): Use show_exceptions instead of new_test.
41153         (parse_args): Likewise.
41154         (generate_testfile): Pass only function name in generated call to
41155         print_max_error or print_complex_max_error.
41156         (get_ulps): Do not handle complex tests specially.
41157         (output_test): Rename to ...
41158         (get_all_ulps_for_test): ... this.  Return a string rather than
41159         printing to a file.  Require ulps to be present.
41160         (output_ulps): Generate arrays rather than #defines.
41161         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41162         (struct ulp_data): New type.
41163         (BUILD_COMPLEX_ULP): Remove macro.
41164         (compare_ulp_data): New function.
41165         (find_ulps): Likewise.
41166         (find_test_ulps): Likewise.
41167         (find_function_ulps): Likewise.
41168         (find_complex_function_ulps): Likewise.
41169         (print_max_error): Determine allowed ulps using
41170         find_function_ulps.
41171         (print_complex_max_error): Determine allowed ulps using
41172         find_complex_function_ulps.
41173         (check_float_internal): Determine max ulps using find_test_ulps.
41174         (check_float): Do not take max_ulp parameter.  Update call to
41175         check_float_internal.
41176         (check_complex): Likewise.
41177         (check_int): Do not take max_ulp parameter.
41178         (check_long): Likewise.
41179         (check_bool): Likewise.
41180         (check_longlong): Likewise.
41181         (struct test_f_f_data): Remove max_ulp field.
41182         (struct test_ff_f_data): Likewise.
41183         (struct test_ff_f_data_nexttoward): Likewise.
41184         (struct test_fi_f_data): Likewise.
41185         (struct test_fl_f_data): Likewise.
41186         (struct test_if_f_data): Likewise.
41187         (struct test_fff_f_data): Likewise.
41188         (struct test_c_f_data): Likewise.
41189         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41190         (struct test_fF_f1_data): Likewise.
41191         (struct test_ffI_f1_data): Likewise.
41192         (struct test_c_c_data): Remove max_ulp field.
41193         (struct test_cc_c_data): Likewise.
41194         (struct test_f_i_data): Likewise.
41195         (struct test_ff_i_data): Likewise.
41196         (struct test_f_l_data): Likewise.
41197         (struct test_f_L_data): Likewise.
41198         (struct test_sincos_data): Likewise.
41199         (RUN_TEST_f_f): Do not handle ulps.
41200         (RUN_TEST_LOOP_f_f): Likewise.
41201         (RUN_TEST_2_f): Likewise.
41202         (RUN_TEST_LOOP_2_f): Likewise.
41203         (RUN_TEST_fff_f): Likewise.
41204         (RUN_TEST_LOOP_fff_f): Likewise.
41205         (RUN_TEST_c_f): Likewise.
41206         (RUN_TEST_LOOP_c_f): Likewise.
41207         (RUN_TEST_f_f1): Likewise.
41208         (RUN_TEST_LOOP_f_f1): Likewise.
41209         (RUN_TEST_fF_f1): Likewise.
41210         (RUN_TEST_LOOP_fF_f1): Likewise.
41211         (RUN_TEST_fI_f1): Likewise.
41212         (RUN_TEST_LOOP_fI_f1): Likewise.
41213         (RUN_TEST_ffI_f1): Likewise.
41214         (RUN_TEST_LOOP_ffI_f1): Likewise.
41215         (RUN_TEST_c_c): Likewise.
41216         (RUN_TEST_LOOP_c_c): Likewise.
41217         (RUN_TEST_cc_c): Likewise.
41218         (RUN_TEST_LOOP_cc_c): Likewise.
41219         (RUN_TEST_f_i): Likewise.
41220         (RUN_TEST_LOOP_f_i): Likewise.
41221         (RUN_TEST_f_i_tg): Likewise.
41222         (RUN_TEST_LOOP_f_i_tg): Likewise.
41223         (RUN_TEST_ff_i_tg): Likewise.
41224         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41225         (RUN_TEST_f_b): Likewise.
41226         (RUN_TEST_LOOP_f_b): Likewise.
41227         (RUN_TEST_f_b_tg): Likewise.
41228         (RUN_TEST_LOOP_f_b_tg): Likewise.
41229         (RUN_TEST_f_l): Likewise.
41230         (RUN_TEST_LOOP_f_l): Likewise.
41231         (RUN_TEST_f_L): Likewise.
41232         (RUN_TEST_LOOP_f_L): Likewise.
41233         (RUN_TEST_sincos): Likewise.
41234         (RUN_TEST_LOOP_sincos): Likewise.
41236 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41238         [BZ #15480]
41239         [BZ #15485]
41240         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41241         main case of finite arguments, set rounding mode to FE_TONEAREST
41242         and discard exceptions.
41243         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41244         exceptions.
41245         (remainder_tonearest_test_data): New variable.
41246         (remainder_test_tonearest): New function.
41247         (remainder_towardzero_test_data): New variable.
41248         (remainder_test_towardzero): New function.
41249         (remainder_downward_test_data): New variable.
41250         (remainder_test_downward): New function.
41251         (remainder_upward_test_data): New variable.
41252         (remainder_test_upward): New function.
41253         (main): Call the new test functions.
41255         * math/libm-test.inc (struct test_f_f1_data): Remove field
41256         extra_init.
41257         (struct test_fF_f1_data): Likewise.
41258         (struct test_ffI_f1_data): Likewise.
41259         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41260         based on value of EXTRA_EXPECTED.
41261         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41262         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41263         EXTRA_VAR based on value of EXTRA_EXPECTED.
41264         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41265         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41266         EXTRA_VAR based on value of EXTRA_EXPECTED.
41267         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41268         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41269         EXTRA_VAR based on value of EXTRA_EXPECTED.
41270         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41271         * math/gen-libm-test.pl (parse_args): Don't output initializers
41272         for extra output values.
41274         * math/libm-test.inc (check_int): Expect result to be exactly
41275         equal to expected value and do not handle ulps.
41276         (check_long): Likewise.
41277         (check_longlong): Likewise.
41279         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41280         exceptions.
41281         (cimag_test_data): Likewise.
41282         (conj_test_data): Likewise.
41283         (copysign_test_data): Likewise.
41284         (cproj_test_data): Likewise.
41285         (creal_test_data): Likewise.
41286         (fabs_test_data): Likewise.
41287         (fdim_test_data): Likewise.
41288         (finite_test_data): Likewise.
41289         (floor_test_data): Likewise.
41290         (fmax_test_data): Likewise.
41291         (fmin_test_data): Likewise.
41292         (fmod_test_data): Likewise.
41293         (fpclassify_test_data): Likewise.
41294         (frexp_test_data): Likewise.
41295         (ilogb_test_data): Likewise.
41296         (isfinite_test_data): Likewise.
41297         (isgreater_test_data): Likewise.
41298         (isgreaterequal_test_data): Likewise.
41299         (isinf_test_data): Likewise.
41300         (isless_test_data): Likewise.
41301         (islessequal_test_data): Likewise.
41302         (islessgreater_test_data): Likewise.
41303         (isnan_test_data): Likewise.
41304         (isnormal_test_data): Likewise.
41305         (issignaling_test_data): Likewise.
41306         (isunordered_test_data): Likewise.
41307         (ldexp_test_data): Likewise.
41308         (lrint_test_data): Likewise.
41309         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41310         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41311         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41312         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41313         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41314         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41315         test input.
41316         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41317         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41318         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41319         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41320         that test input.
41321         (lrint_downward_test_data): Test for "inexact" exceptions.
41322         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41323         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41324         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41325         test input.
41326         (lrint_upward_test_data): Test for "inexact" exceptions.
41327         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41328         test input.
41329         (llrint_test_data): Test for "inexact" exceptions.
41330         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41331         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41332         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41333         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41334         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41335         (llrint_downward_test_data): Test for "inexact" exceptions.
41336         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41337         (llrint_upward_test_data): Test for "inexact" exceptions.
41338         (logb_test_data): Likewise.
41339         (logb_downward_test_data): Likewise.
41340         (nextafter_test_data): Likewise.
41341         (nexttoward_test_data): Likewise.
41342         (remainder_test_data): Likewise.
41343         (remquo_test_data): Likewise.
41344         (scalbn_test_data): Likewise.
41345         (scalbln_test_data): Likewise.
41346         (signbit_test_data): Likewise.
41347         (sqrt_test_data): Likewise.
41348         (significand_test_data): Likewise.
41350 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41352         [BZ #15424]
41353         * benchtests/bench-modf.c (struct args): Mark arg0 as
41354         volatile.
41355         * scripts/bench.pl: Mark members of struct args as volatile.
41357 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41359         [BZ # 15497]
41360         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41361         negative infinity on POWER6 or lower.
41362         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41364 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41366         [BZ #15442]
41367         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41368         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41369         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41370         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41371         (_FP_SETQNAN): New macro.
41372         (_FP_SETQNAN_SEMIRAW): Likewise.
41373         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41374         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41375         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41376         (FP_EXTEND): Use _FP_FRAC_SNANP.
41377         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41378         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41379         into account.
41380         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41381         New macro.
41382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41383         Likewise.
41385 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41387         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41388         with DIVIDE_BY_ZERO_EXCEPTION.
41389         (gamma_test_data): Likewise.
41390         (lgamma_test_data): Likewise.
41391         (log_test_data): Likewise.
41392         (log10_test_data): Likewise.
41393         (log2_test_data): Likewise.
41394         (tgamma_test_data): Likewise.
41396         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41397         (acos_test_tonearest): Likewise.
41398         (acos_test_towardzero): Likewise.
41399         (acos_test_downward): Likewise.
41400         (acos_test_upward): Likewise.
41401         (acosh_test): Likewise.
41402         (asin_test): Likewise.
41403         (asin_test_tonearest): Likewise.
41404         (asin_test_towardzero): Likewise.
41405         (asin_test_downward): Likewise.
41406         (asin_test_upward): Likewise.
41407         (asinh_test): Likewise.
41408         (atan_test): Likewise.
41409         (atanh_test): Likewise.
41410         (atan2_test): Likewise.
41411         (cabs_test): Likewise.
41412         (cacos_test): Likewise.
41413         (cacosh_test): Likewise.
41414         (casin_test): Likewise.
41415         (casinh_test): Likewise.
41416         (catan_test): Likewise.
41417         (catanh_test): Likewise.
41418         (cbrt_test): Likewise.
41419         (ccos_test): Likewise.
41420         (ccosh_test): Likewise.
41421         (cexp_test): Likewise.
41422         (clog_test): Likewise.
41423         (clog10_test): Likewise.
41424         (cos_test): Likewise.
41425         (cos_test_tonearest): Likewise.
41426         (cos_test_towardzero): Likewise.
41427         (cos_test_downward): Likewise.
41428         (cos_test_upward): Likewise.
41429         (cosh_test): Likewise.
41430         (cosh_test_tonearest): Likewise.
41431         (cosh_test_towardzero): Likewise.
41432         (cosh_test_downward): Likewise.
41433         (cosh_test_upward): Likewise.
41434         (cpow_test): Likewise.
41435         (csin_test): Likewise.
41436         (csinh_test): Likewise.
41437         (csqrt_test): Likewise.
41438         (ctan_test): Likewise.
41439         (ctan_test_tonearest): Likewise.
41440         (ctan_test_towardzero): Likewise.
41441         (ctan_test_downward): Likewise.
41442         (ctan_test_upward): Likewise.
41443         (ctanh_test): Likewise.
41444         (ctanh_test_tonearest): Likewise.
41445         (ctanh_test_towardzero): Likewise.
41446         (ctanh_test_downward): Likewise.
41447         (ctanh_test_upward): Likewise.
41448         (erf_test): Likewise.
41449         (erfc_test): Likewise.
41450         (exp_test): Likewise.
41451         (exp_test_tonearest): Likewise.
41452         (exp_test_towardzero): Likewise.
41453         (exp_test_downward): Likewise.
41454         (exp_test_upward): Likewise.
41455         (exp10_test): Likewise.
41456         (exp2_test): Likewise.
41457         (expm1_test): Likewise.
41458         (fmod_test): Likewise.
41459         (gamma_test): Likewise.
41460         (hypot_test): Likewise.
41461         (j0_test): Likewise.
41462         (j1_test): Likewise.
41463         (jn_test): Likewise.
41464         (lgamma_test): Likewise.
41465         (log_test): Likewise.
41466         (log10_test): Likewise.
41467         (log1p_test): Likewise.
41468         (log2_test): Likewise.
41469         (logb_test_downward): Likewise.
41470         (pow_test): Likewise.
41471         (pow_test_tonearest): Likewise.
41472         (pow_test_towardzero): Likewise.
41473         (pow_test_downward): Likewise.
41474         (pow_test_upward): Likewise.
41475         (remainder_test): Likewise.
41476         (remquo_test): Likewise.
41477         (sin_test): Likewise.
41478         (sin_test_tonearest): Likewise.
41479         (sin_test_towardzero): Likewise.
41480         (sin_test_downward): Likewise.
41481         (sin_test_upward): Likewise.
41482         (sincos_test): Likewise.
41483         (sinh_test): Likewise.
41484         (sinh_test_tonearest): Likewise.
41485         (sinh_test_towardzero): Likewise.
41486         (sinh_test_downward): Likewise.
41487         (sinh_test_upward): Likewise.
41488         (sqrt_test): Likewise.
41489         (tan_test): Likewise.
41490         (tan_test_tonearest): Likewise.
41491         (tan_test_towardzero): Likewise.
41492         (tan_test_downward): Likewise.
41493         (tan_test_upward): Likewise.
41494         (tanh_test): Likewise.
41495         (tgamma_test): Likewise.
41496         (y0_test): Likewise.
41497         (y1_test): Likewise.
41498         (yn_test): Likewise.
41500         * math/gen-libm-test.pl (adjust_arg): Remove function.
41501         (special_function): Remove argument $in_func.  Only handle
41502         generating output for tables of tests, not inside functions.
41503         (parse_args): Likewise.
41504         (generate_testfile): Remove variable $in_func.  Update call to
41505         parse_args.
41506         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
41507         (MINUS_ZERO_INIT): Rename macro to minus_zero.
41508         (PLUS_INFTY_INIT): Rename macro to plus_infty.
41509         (MINUS_INFTY_INIT): Rename macro to minus_infty.
41510         (QNAN_VALUE_INIT): Rename macro to qnan_value.
41511         (MAX_VALUE_INIT): Rename macro to max_value.
41512         (MIN_VALUE_INIT): Rename macro to min_value.
41513         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
41514         (plus_zero): Remove variable.
41515         (minus_zero): Likewise.
41516         (plus_infty): Likewise.
41517         (minus_infty): Likewise.
41518         (qnan_value): Likewise.
41519         (max_value): Likewise.
41520         (min_value): Likewise.
41521         (min_subnorm_value): Likewise.
41523 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41525         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
41526         uint64_t or uint32_t usage.
41527         * crypt/sha256-block.c: Likewise.
41528         * crypt/sha256-crypt.c: Likewise.
41529         * crypt/sha256.c: Likewise.
41530         * crypt/sha512-block.c: Likewise.
41531         * crypt/sha512-crypt.c: Likewise.
41532         * crypt/sha512.c: Likewise.
41533         * debug/backtrace-tst.c: Likewise.
41534         * debug/pcprofiledump.c: Likewise.
41535         * elf/cache.c: Likewise.
41536         * elf/dl-cache.c: Likewise.
41537         * elf/dl-misc.c: Likewise.
41538         * elf/dl-profile.c: Likewise.
41539         * elf/dl-support.c: Likewise.
41540         * elf/ldconfig.c: Likewise.
41541         * elf/sprof.c: Likewise.
41542         * iconv/dummy-repertoire.c: Likewise.
41543         * iconv/iconv_charmap.c: Likewise.
41544         * iconv/skeleton.c: Likewise.
41545         * iconvdata/8bit-generic.c: Likewise.
41546         * iconvdata/cp737.h: Likewise.
41547         * iconvdata/cp775.h: Likewise.
41548         * iconvdata/ibm1008.h: Likewise.
41549         * iconvdata/ibm1025.h: Likewise.
41550         * iconvdata/ibm1046.h: Likewise.
41551         * iconvdata/ibm1097.h: Likewise.
41552         * iconvdata/ibm1112.h: Likewise.
41553         * iconvdata/ibm1122.h: Likewise.
41554         * iconvdata/ibm1123.h: Likewise.
41555         * iconvdata/ibm1124.h: Likewise.
41556         * iconvdata/ibm1129.h: Likewise.
41557         * iconvdata/ibm1130.h: Likewise.
41558         * iconvdata/ibm1132.h: Likewise.
41559         * iconvdata/ibm1133.h: Likewise.
41560         * iconvdata/ibm1137.h: Likewise.
41561         * iconvdata/ibm1140.h: Likewise.
41562         * iconvdata/ibm1141.h: Likewise.
41563         * iconvdata/ibm1142.h: Likewise.
41564         * iconvdata/ibm1143.h: Likewise.
41565         * iconvdata/ibm1144.h: Likewise.
41566         * iconvdata/ibm1145.h: Likewise.
41567         * iconvdata/ibm1146.h: Likewise.
41568         * iconvdata/ibm1147.h: Likewise.
41569         * iconvdata/ibm1148.h: Likewise.
41570         * iconvdata/ibm1149.h: Likewise.
41571         * iconvdata/ibm1153.h: Likewise.
41572         * iconvdata/ibm1154.h: Likewise.
41573         * iconvdata/ibm1155.h: Likewise.
41574         * iconvdata/ibm1156.h: Likewise.
41575         * iconvdata/ibm1157.h: Likewise.
41576         * iconvdata/ibm1158.h: Likewise.
41577         * iconvdata/ibm1160.h: Likewise.
41578         * iconvdata/ibm1161.h: Likewise.
41579         * iconvdata/ibm1162.h: Likewise.
41580         * iconvdata/ibm1163.h: Likewise.
41581         * iconvdata/ibm1164.h: Likewise.
41582         * iconvdata/ibm1166.h: Likewise.
41583         * iconvdata/ibm1167.h: Likewise.
41584         * iconvdata/ibm12712.h: Likewise.
41585         * iconvdata/ibm1390.h: Likewise.
41586         * iconvdata/ibm1399.h: Likewise.
41587         * iconvdata/ibm16804.h: Likewise.
41588         * iconvdata/ibm4517.h: Likewise.
41589         * iconvdata/ibm4899.h: Likewise.
41590         * iconvdata/ibm4909.h: Likewise.
41591         * iconvdata/ibm4971.h: Likewise.
41592         * iconvdata/ibm5347.h: Likewise.
41593         * iconvdata/ibm803.h: Likewise.
41594         * iconvdata/ibm856.h: Likewise.
41595         * iconvdata/ibm901.h: Likewise.
41596         * iconvdata/ibm902.h: Likewise.
41597         * iconvdata/ibm9030.h: Likewise.
41598         * iconvdata/ibm9066.h: Likewise.
41599         * iconvdata/ibm921.h: Likewise.
41600         * iconvdata/ibm922.h: Likewise.
41601         * iconvdata/ibm9448.h: Likewise.
41602         * iconvdata/isiri-3342.h: Likewise.
41603         * iconvdata/jis0201.h: Likewise.
41604         * include/link.h: Likewise.
41605         * include/netdb.h: Likewise.
41606         * inet/check_native.c: Likewise.
41607         * inet/check_pf.c: Likewise.
41608         * inet/getipv4sourcefilter.c: Likewise.
41609         * inet/getnameinfo.c: Likewise.
41610         * inet/getsourcefilter.c: Likewise.
41611         * inet/htonl.c: Likewise.
41612         * inet/setipv4sourcefilter.c: Likewise.
41613         * inet/setsourcefilter.c: Likewise.
41614         * inet/test-inet6_opt.c: Likewise.
41615         * inet/tst-network.c: Likewise.
41616         * locale/C-collate.c: Likewise.
41617         * locale/C-ctype.c: Likewise.
41618         * locale/C-time.c: Likewise.
41619         * locale/C-translit.h: Likewise.
41620         * locale/loadarchive.c: Likewise.
41621         * locale/programs/3level.h: Likewise.
41622         * locale/programs/charmap.c: Likewise.
41623         * locale/programs/charmap.h: Likewise.
41624         * locale/programs/ld-address.c: Likewise.
41625         * locale/programs/ld-collate.c: Likewise.
41626         * locale/programs/ld-ctype.c: Likewise.
41627         * locale/programs/ld-identification.c: Likewise.
41628         * locale/programs/ld-measurement.c: Likewise.
41629         * locale/programs/ld-messages.c: Likewise.
41630         * locale/programs/ld-monetary.c: Likewise.
41631         * locale/programs/ld-name.c: Likewise.
41632         * locale/programs/ld-numeric.c: Likewise.
41633         * locale/programs/ld-paper.c: Likewise.
41634         * locale/programs/ld-telephone.c: Likewise.
41635         * locale/programs/ld-time.c: Likewise.
41636         * locale/programs/linereader.c: Likewise.
41637         * locale/programs/locale.c: Likewise.
41638         * locale/programs/locarchive.c: Likewise.
41639         * locale/programs/locfile.h: Likewise.
41640         * locale/programs/repertoire.c: Likewise.
41641         * locale/programs/simple-hash.c: Likewise.
41642         * locale/programs/simple-hash.h: Likewise.
41643         * malloc/memusage.c: Likewise.
41644         * malloc/memusagestat.c: Likewise.
41645         * nis/nis_defaults.c: Likewise.
41646         * nis/nis_hash.c: Likewise.
41647         * nis/nis_print.c: Likewise.
41648         * nis/nis_xdr.c: Likewise.
41649         * nscd/connections.c: Likewise.
41650         * nscd/hstcache.c: Likewise.
41651         * nscd/nscd_gethst_r.c: Likewise.
41652         * nscd/nscd_getserv_r.c: Likewise.
41653         * nscd/nscd_helper.c: Likewise.
41654         * nscd/servicescache.c: Likewise.
41655         * nss/makedb.c: Likewise.
41656         * nss/nss_db/db-XXX.c: Likewise.
41657         * nss/nss_db/db-initgroups.c: Likewise.
41658         * nss/nss_db/db-netgrp.c: Likewise.
41659         * nss/nss_files/files-network.c: Likewise.
41660         * nss/nss_files/files-parse.c: Likewise.
41661         * posix/bug-regex5.c: Likewise.
41662         * posix/fnmatch_loop.c: Likewise.
41663         * posix/regcomp.c: Likewise.
41664         * posix/regexec.c: Likewise.
41665         * posix/tst-rfc3484-2.c: Likewise.
41666         * posix/tst-rfc3484-3.c: Likewise.
41667         * posix/tst-rfc3484.c: Likewise.
41668         * resolv/nss_dns/dns-canon.c: Likewise.
41669         * resolv/nss_dns/dns-network.c: Likewise.
41670         * resolv/res_init.c: Likewise.
41671         * resolv/res_mkquery.c: Likewise.
41672         * resolv/tst-aton.c: Likewise.
41673         * stdlib/cxa_atexit.c: Likewise.
41674         * stdlib/cxa_finalize.c: Likewise.
41675         * stdlib/gen-fpioconst.c: Likewise.
41676         * stdlib/strtol_l.c: Likewise.
41677         * string/tst-endian.c: Likewise.
41678         * sunrpc/auth_des.c: Likewise.
41679         * sunrpc/clnt_udp.c: Likewise.
41680         * sunrpc/rtime.c: Likewise.
41681         * sunrpc/svcauth_des.c: Likewise.
41682         * sunrpc/xdr.c: Likewise.
41683         * sunrpc/xdr_intXX_t.c: Likewise.
41684         * sunrpc/xdr_rec.c: Likewise.
41685         * sysdeps/generic/ldconfig.h: Likewise.
41686         * sysdeps/generic/ldsodefs.h: Likewise.
41687         * sysdeps/generic/memusage.h: Likewise.
41688         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41689         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
41690         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
41691         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41692         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41693         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41694         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41695         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41698         * sysdeps/posix/getaddrinfo.c: Likewise.
41699         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41700         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41701         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41702         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41703         * sysdeps/powerpc/test-gettimebase.c: Likewise.
41704         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41705         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
41706         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
41707         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41708         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
41709         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41710         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41711         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
41712         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
41713         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
41714         * sysdeps/x86_64/dl-tls.h: Likewise.
41715         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
41716         * time/alt_digit.c: Likewise.
41717         * time/era.c: Likewise.
41718         * wcsmbs/tst-c16c32-1.c: Likewise.
41720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41722         * math/libm-test.inc (struct test_sincos_data): New type.
41723         (RUN_TEST_LOOP_sincos): New macro.
41724         (sincos_test_data): New variable.
41725         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
41727 2013-05-16  Richard Henderson  <rth@redhat.com>
41729         * math/atest-exp2.c (LIMB64): New macro.
41730         (CONSTSZ): New macro.
41731         (mp_exp1, mp_exp_m1, mp_log2): New variables.
41732         (hexdig): Move ...
41733         (print_mpn_fp): ... to function scope.
41734         (read_mpn_hex): Remove.
41735         (get_log2): Remove.
41736         (exp2_mpn): Use mp_log2.
41737         (main): Use mp_exp1.
41739 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41741         * math/libm-test.inc: Remove comment about not testing "inexact"
41742         exceptions.
41743         (INEXACT_EXCEPTION): New macro.
41744         (NO_INEXACT_EXCEPTION): Likewise.
41745         (INVALID_EXCEPTION_OK): Update value.
41746         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41747         (OVERFLOW_EXCEPTION_OK): Likewise.
41748         (UNDERFLOW_EXCEPTION_OK): Likewise.
41749         (IGNORE_ZERO_INF_SIGN): Likewise.
41750         (ERRNO_UNCHANGED): Likewise.
41751         (ERRNO_EDOM): Likewise.
41752         (ERRNO_ERANGE): Likewise.
41753         (test_exceptions): Handle testing "inexact" exceptions.
41754         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
41755         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
41756         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
41757         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
41758         INEXACT_EXCEPTION.
41759         (rint_towardzero_test_data): Likewise.
41760         (rint_downward_test_data): Likewise.
41761         (rint_upward_test_data): Likewise.
41763         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
41764         with OVERFLOW_EXCEPTION.
41765         (exp10_test_data): Likewise.
41766         (exp2_test_data): Likewise.
41767         (expm1_test_data): Likewise.
41768         (lgamma_test_data): Likewise.
41769         (pow_test_data): Likewise.
41770         (tgamma_test_data): Likewise.
41771         (yn_test_data): Remove duplicate test of overflow.
41773         * math/libm-test.inc (struct test_cc_c_data): New type.
41774         (RUN_TEST_LOOP_cc_c): New macro.
41775         (cpow_test_data): New variable.
41776         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
41778         * math/libm-test.inc (struct test_f_L_data): New type.
41779         (RUN_TEST_LOOP_f_L): New macro.
41780         (llrint_test_data): New variable.
41781         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
41782         (llrint_tonearest_test_data): New variable.
41783         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
41784         (llrint_towardzero_test_data): New variable.
41785         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
41786         (llrint_downward_test_data): New variable.
41787         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
41788         (llrint_upward_test_data): New variable.
41789         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
41790         (llround_test_data): New variable.
41791         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
41793 2013-05-13  Peter Collingbourne  <pcc@google.com>
41795         * math/atest-exp2.c (get_log2): Remove const attribute.
41797 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41799         * math/libm-test.inc (struct test_f_l_data): New type.
41800         (RUN_TEST_LOOP_f_l): New macro.
41801         (lrint_test_data): New variable.
41802         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
41803         (lrint_tonearest_test_data): New variable.
41804         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
41805         (lrint_towardzero_test_data): New variable.
41806         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
41807         (lrint_downward_test_data): New variable.
41808         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
41809         (lrint_upward_test_data): New variable.
41810         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
41811         (lround_test_data): New variable.
41812         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
41814 2013-05-15  Peter Collingbourne  <pcc@google.com>
41816         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
41817         (EXTRACT_WORDS64) Use where appropriate.
41818         (INSERT_WORDS64) Likewise.
41820         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
41821         constraints with x constraints.
41822         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
41824         * malloc/obstack.c (_obstack_compat): Add initializer.
41826 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
41829         si_trapno and add si_addr_lsb to _sifields.sigfault.
41830         (si_trapno): Remove macro.
41831         (si_addr_lsb): Define new macro.
41832         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41834 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
41836         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
41837         instead of TEST_f_l.
41838         (llrint_test_tonearest): Likewise.
41839         (llrint_test_towardzero): Likewise.
41840         (llrint_test_downward): Likewise.
41841         (llrint_test_upward): Likewise.
41842         (llround_test): Likewise.
41844         * math/libm-test.inc (struct test_f_i_data): Add comment.
41845         (RUN_TEST_LOOP_f_b): New macro.
41846         (RUN_TEST_LOOP_f_b_tg): Likewise.
41847         (finite_test_data): New variable.
41848         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
41849         (isfinite_test_data): New variable.
41850         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41851         (isinf_test_data): New variable.
41852         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41853         (isnan_test_data): New variable.
41854         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41855         (isnormal_test_data): New variable.
41856         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41857         (issignaling_test_data): New variable.
41858         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41859         (signbit_test_data): New variable.
41860         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
41862         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
41863         with INVALID_EXCEPTION.
41864         (acosh_test_data): Likewise.
41865         (asin_test_data): Likewise.
41866         (atanh_test_data): Likewise.
41867         (fmod_test_data): Likewise.
41868         (log_test_data): Likewise.
41869         (log10_test_data): Likewise.
41870         (log2_test_data): Likewise.
41871         (pow_test_data): Likewise.
41872         (sqrt_test_data): Likewise.
41873         (y0_test_data): Likewise.
41874         (y1_test_data): Likewise.
41875         (yn_test_data): Likewise.
41877         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
41878         function contents.
41880         * math/libm-test.inc (struct test_ff_i_data): New type.
41881         (RUN_TEST_LOOP_ff_i_tg): New macro.
41882         (isgreater_test_data): New variable.
41883         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41884         (isgreaterequal_test_data): New variable.
41885         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41886         (isless_test_data): New variable.
41887         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41888         (islessequal_test_data): New variable.
41889         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41890         (islessgreater_test_data): New variable.
41891         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41892         (isunordered_test_data): New variable.
41893         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
41895 2013-05-14  David S. Miller  <davem@davemloft.net>
41897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41899 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
41901         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
41903         * math/libm-test.inc (struct test_fF_f1_data): Change type of
41904         extra_test to int.
41905         (struct test_f_i_data): Change type of max_ulp to int.
41907         * math/libm-test.inc (test_ffI_f1_data): New type.
41908         (RUN_TEST_LOOP_ffI_f1): New macro.
41909         (remquo_test_data): New variable.
41910         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
41912         * setjmp/tst-setjmp-fp.c: New file.
41913         * setjmp/Makefile (tests): Add tst-setjmp-fp.
41914         (link-libm): New variable.
41915         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
41917         * math/libm-test.inc (struct test_f_i_data): New type.
41918         (RUN_TEST_LOOP_f_i): New macro.
41919         (RUN_TEST_LOOP_f_i_tg): Likewise.
41920         (fpclassify_test_data): New variable.
41921         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
41922         (ilogb_test_data): New variable.
41923         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
41925         * math/libm-test.inc (scalbln_test): Correct function name in END
41926         call.
41928         * math/libm-test.inc (struct test_f_f1_data): Add comment.
41929         (RUN_TEST_LOOP_fI_f1): New macro.
41930         (frexp_test_data): New variable.
41931         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
41933         * math/libm-test.inc (struct test_fF_f1_data): New type.
41934         (RUN_TEST_LOOP_fF_f1): New macro.
41935         (modf_test_data): New variable.
41936         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41938         * math/libm-test.inc (struct test_f_f1_data): New type.
41939         (RUN_TEST_LOOP_f_f1): New macro.
41940         (gamma_test_data): New variable.
41941         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41942         (lgamma_test_data): New variable.
41943         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41945 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41947         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41948         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41949         (main): Comment "tls" pseudo-hwcap.
41951 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41953         * math/libm-test.inc (struct test_fl_f_data): New type.
41954         (RUN_TEST_LOOP_fl_f): New variable.
41955         (scalbln_test_data): New variable.
41956         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41958         * math/libm-test.inc (struct test_fi_f_data): New type.
41959         (RUN_TEST_LOOP_fi_f): New macro.
41960         (ldexp_test_data): New variable.
41961         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41962         (scalbn_test_data): New variable.
41963         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41965         * math/libm-test.inc (struct test_c_f_data): New type.
41966         (RUN_TEST_LOOP_c_f): New macro.
41967         (cabs_test_data): New variable.
41968         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41969         (carg_test_data): New variable.
41970         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41971         (cimag_test_data): New variable.
41972         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41973         (creal_test_data): New variable.
41974         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41976         * math/libm-test.inc (struct test_if_f_data): New type.
41977         (RUN_TEST_LOOP_if_f): New macro.
41978         (jn_test_data): New variable.
41979         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41980         (yn_test_data): New variable.
41981         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41983         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41985 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41987         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41988         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41990 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41992         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41993         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41994         (bench-deps): Add bench-timing.h.
41995         * benchtests-bench-skeleton.c: Include bench-timing.h.
41996         (main): Use TIMING_* macros instead of clock_gettime.
41997         * benchtests/bench-timing.h: New file.
41999         [BZ #14582]
42000         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42001         Renamed from _LIB_VERSION.
42002         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42004 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42006         * math/libm-test.inc (struct test_fff_f_data): New type.
42007         (RUN_TEST_LOOP_fff_f): New macro.
42008         (fma_test_data): New variable.
42009         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42010         (fma_towardzero_test_data): New variable.
42011         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42012         (fma_downward_test_data): New variable.
42013         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42014         (fma_upward_test_data): New variable.
42015         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42017         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42018         (struct test_c_c_data): New type.
42019         (RUN_TEST_LOOP_c_c): New macro.
42020         (cacos_test_data): New variable.
42021         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42022         (cacosh_test_data): New variable.
42023         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42024         (casin_test_data): New variable.
42025         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42026         (casinh_test_data): New variable.
42027         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42028         (catan_test_data): New variable.
42029         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42030         (catanh_test_data): New variable.
42031         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42032         (ccos_test_data): New variable.
42033         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42034         (ccosh_test_data): New variable.
42035         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42036         (cexp_test_data): New variable.
42037         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42038         (clog_test_data): New variable.
42039         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42040         (clog10_test_data): New variable.
42041         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42042         (conj_test_data): New variable.
42043         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42044         (cproj_test_data): New variable.
42045         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42046         (csin_test_data): New variable.
42047         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42048         (csinh_test_data): New variable.
42049         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42050         (csqrt_test_data): New variable.
42051         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42052         (ctan_test_data): New variable.
42053         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42054         (ctan_tonearest_test_data): New variable.
42055         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42056         (ctan_towardzero_test_data): New variable.
42057         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42058         (ctan_downward_test_data): New variable.
42059         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42060         (ctan_upward_test_data): New variable.
42061         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42062         (ctanh_test_data): New variable.
42063         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42064         (ctanh_tonearest_test_data): New variable.
42065         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42066         (ctanh_towardzero_test_data): New variable.
42067         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42068         (ctanh_downward_test_data): New variable.
42069         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42070         (ctanh_upward_test_data): New variable.
42071         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42072         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42073         of BUILD_COMPLEX.
42075         * math/libm-test.inc (struct test_ff_f_data): New type.
42076         (struct test_ff_f_data_nexttoward): Likewise.
42077         (RUN_TEST_LOOP_2_f): New macro.
42078         (RUN_TEST_LOOP_ff_f): Likewise.
42079         (atan2_test_data): New variable.
42080         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42081         (copysign_test_data): New variable.
42082         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42083         (fdim_test_data): New variable.
42084         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42085         (fmax_test_data): New variable.
42086         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42087         (fmin_test_data): New variable.
42088         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42089         (fmod_test_data): New variable.
42090         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42091         (hypot_test_data): New variable.
42092         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42093         (nextafter_test_data): New variable.
42094         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42095         (nexttoward_test_data): New variable.
42096         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42097         (pow_test_data): New variable.
42098         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42099         (pow_tonearest_test_data): New variable.
42100         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42101         (pow_towardzero_test_data): New variable.
42102         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42103         (pow_downward_test_data): New variable.
42104         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42105         (pow_upward_test_data): New variable.
42106         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42107         (remainder_test_data): New variable.
42108         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42109         (scalb_test_data): New variable.
42110         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42111         * sysdeps/i386/fpu/libm-test-ulps: Update.
42113 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42115         * math/libm-test.inc (fma_test): Use max_value instead of local
42116         variable fltmax.
42117         (nextafter_test): Likewise.
42119         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42120         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42121         (acos_downward_test_data): New variable.
42122         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42123         (acos_upward_test_data): New variable.
42124         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42125         (acosh_test_data): New variable.
42126         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42127         (asin_test_data): New variable.
42128         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42129         (asin_tonearest_test_data): New variable.
42130         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42131         (asin_towardzero_test_data): New variable.
42132         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42133         (asin_downward_test_data): New variable.
42134         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42135         (asin_upward_test_data): New variable.
42136         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42137         (asinh_test_data): New variable.
42138         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42139         (atan_test_data): New variable.
42140         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42141         (atanh_test_data): New variable.
42142         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42143         (cbrt_test_data): New variable.
42144         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42145         (ceil_test_data): New variable.
42146         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42147         (cos_test_data): New variable.
42148         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42149         (cos_tonearest_test_data): New variable.
42150         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42151         (cos_towardzero_test_data): New variable.
42152         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42153         (cos_downward_test_data): New variable.
42154         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42155         (cos_upward_test_data): New variable.
42156         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42157         (cosh_test_data): New variable.
42158         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42159         (cosh_tonearest_test_data): New variable.
42160         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42161         (cosh_towardzero_test_data): New variable.
42162         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42163         (cosh_downward_test_data): New variable.
42164         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42165         (cosh_upward_test_data): New variable.
42166         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42167         (erf_test_data): New variable.
42168         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42169         (erfc_test_data): New variable.
42170         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42171         (exp_test_data): New variable.
42172         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42173         (exp_tonearest_test_data): New variable.
42174         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42175         (exp_towardzero_test_data): New variable.
42176         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42177         (exp_downward_test_data): New variable.
42178         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42179         (exp_upward_test_data): New variable.
42180         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42181         (exp10_test_data): New variable.
42182         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42183         (exp2_test_data): New variable.
42184         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42185         (expm1_test_data): New variable.
42186         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42187         (fabs_test_data): New variable.
42188         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42189         (floor_test_data): New variable.
42190         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42191         (j0_test_data): New variable.
42192         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42193         (j1_test_data): New variable.
42194         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42195         (log_test_data): New variable.
42196         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42197         (log10_test_data): New variable.
42198         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42199         (log1p_test_data): New variable.
42200         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42201         (log2_test_data): New variable.
42202         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42203         (logb_test_data): New variable.
42204         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42205         (logb_downward_test_data): New variable.
42206         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42207         (nearbyint_test_data): New variable.
42208         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42209         (rint_test_data): New variable.
42210         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42211         (rint_tonearest_test_data): New variable.
42212         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42213         (rint_towardzero_test_data): New variable.
42214         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42215         (rint_downward_test_data): New variable.
42216         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42217         (rint_upward_test_data): New variable.
42218         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42219         (round_test_data): New variable.
42220         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42221         (sin_test_data): New variable.
42222         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42223         (sin_tonearest_test_data): New variable.
42224         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42225         (sin_towardzero_test_data): New variable.
42226         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42227         (sin_downward_test_data): New variable.
42228         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42229         (sin_upward_test_data): New variable.
42230         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42231         (sinh_test_data): New variable.
42232         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42233         (sinh_tonearest_test_data): New variable.
42234         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42235         (sinh_towardzero_test_data): New variable.
42236         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42237         (sinh_downward_test_data): New variable.
42238         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42239         (sinh_upward_test_data): New variable.
42240         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42241         (sqrt_test_data): New variable.
42242         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42243         (tan_test_data): New variable.
42244         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42245         (tan_tonearest_test_data): New variable.
42246         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42247         (tan_towardzero_test_data): New variable.
42248         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42249         (tan_downward_test_data): New variable.
42250         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42251         (tan_upward_test_data): New variable.
42252         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42253         (tanh_test_data): New variable.
42254         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42255         (tgamma_test_data): New variable.
42256         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42257         (trunc_test_data): New variable.
42258         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42259         (y0_test_data): New variable.
42260         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42261         (y1_test_data): New variable.
42262         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42263         (significand_test_data): New variable.
42264         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42266 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42268         [BZ #12387]
42269         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42271 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42273         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42275 2013-05-10  Andreas Jaeger  <aj@suse.de>
42277         [BZ #15448]
42278         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42279         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42281 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42283         * math/gen-libm-test.pl (adjust_arg): New function.
42284         (special_functions): Handle generating output in both functions
42285         and arrays.
42286         (parse_args): Likewise.
42287         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42288         $in_func argument to parse_args.
42289         * math/libm-test.inc (struct test_f_f_data): New type.
42290         (IF_ROUND_INIT_): New macro.
42291         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42292         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42293         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42294         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42295         (ROUND_RESTORE_): Likewise.
42296         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42297         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42298         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42299         (ROUND_RESTORE_FE_UPWARD): Likewise.
42300         (RUN_TEST_LOOP_f_f): New macro.
42301         (acos_test_data): New variable.
42302         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42303         (acos_tonearest_test_data): New variable.
42304         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42306 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42308         * benchtests/bench-skeleton.c (startup): Fix coding style.
42310 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42312         [BZ #6809]
42313         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42314         negative infinity argument.
42315         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42316         negative infinity argument.
42317         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42318         negative infinity argument.
42319         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42320         domain errors.
42322 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42324         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42325         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42326         * iconv/iconv_prog.c (main): Likewise.
42327         * locale/programs/charmap-dir.c (charmap_readdir)
42328         (fopen_uncompressed): Likewise.
42329         * locale/programs/locfile.c (siblings_uncached)
42330         (write_locale_data): Use lstat64 instead of lstat.
42331         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42332         stat.
42334 2013-05-10  Andreas Jaeger  <aj@suse.de>
42336         [BZ #15395]
42337         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42338         localization.
42339         Include <locale.h>.
42341 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42343         * elf/dl-close.c (_dl_close_worker): Add comments.
42345 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42347         [BZ #15359]
42348         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42349         high part of pi/2.
42350         (__ieee754_rem_pio2l): Update comments.
42352         [BZ #15429]
42353         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42354         high part of pi/2.
42355         (__ieee754_rem_pio2l): Update comments.
42357         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42358         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42360         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42361         M_PI_4l.
42363         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42364         (M_PI_34_LOG10El): Likewise.
42365         (M_PI2_LOG10El): Likewise.
42366         (M_PI4_LOG10El): Likewise.
42367         (M_PI_LOG10El): Likewise.
42369 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42373 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42375         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42376         (MINUS_ZERO_INIT): Likewise.
42377         (PLUS_INFTY_INIT): Likewise.
42378         (MINUS_INFTY_INIT): Likewise.
42379         (QNAN_VALUE_INIT): Likewise.
42380         (MAX_VALUE_INIT): Likewise.
42381         (MIN_VALUE_INIT): Likewise.
42382         (MIN_SUBNORM_VALUE_INIT): Likewise.
42383         (plus_zero): Initialize with PLUS_ZERO_INIT.
42384         (minus_zero): Initialize with MINUS_ZERO_INIT.
42385         (plus_infty): Initialize with PLUS_INFTY_INIT.
42386         (minus_infty): Initialize with MINUS_INFTY_INIT.
42387         (qnan_value): Initialize with QNAN_VALUE_INIT.
42388         (max_value): Initialize with MAX_VALUE_INIT.
42389         (min_value): Initialize with MIN_VALUE_INIT.
42390         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42392         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42393         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42394         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42395         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42397         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42398         (RUN_TEST_2_f): Likewise.
42399         (RUN_TEST_ff_f): Likewise.
42400         (RUN_TEST_fi_f): Likewise.
42401         (RUN_TEST_fl_f): Likewise.
42402         (RUN_TEST_fff_f): Likewise.
42403         (RUN_TEST_c_f): Likewise.
42404         (RUN_TEST_f_f1): Likewise.
42405         (RUN_TEST_fF_f1): Likewise.
42406         (RUN_TEST_fI_f1): Likewise.
42407         (RUN_TEST_ffI_f1): Likewise.
42408         (RUN_TEST_c_c): Likewise.
42409         (RUN_TEST_cc_c): Likewise.
42410         (RUN_TEST_f_i): Likewise.
42411         (RUN_TEST_f_i_tg): Likewise.
42412         (RUN_TEST_ff_i_tg): Likewise.
42413         (RUN_TEST_f_b): Likewise.
42414         (RUN_TEST_f_b_tg): Likewise.
42415         (RUN_TEST_f_l): Likewise.
42416         (RUN_TEST_f_L): Likewise.
42417         (RUN_TEST_sincos): Likewise.
42418         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42419         whether to show exceptions.  Do not include ");\n" in return
42420         value.
42421         (special_functions): Output call to RUN_TEST_sincos instead of
42422         check_float calls.  Update calls to new_test.
42423         (parse_args): Output call to single RUN_TEST_* macro instead of
42424         check_* calls and other assignments.  Update calls to new_test.
42426         [BZ #2546]
42427         [BZ #2560]
42428         [BZ #5159]
42429         [BZ #15426]
42430         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42431         input to result for tgamma overflow.
42432         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42433         (gamma_coeff): New variable.
42434         (NCOEFF): New macro.
42435         (gamma_positive): New function.
42436         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42437         underflow here.  Use gamma_positive instead of exp (lgamma) for
42438         other arguments.
42439         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42440         (gamma_coeff): New variable.
42441         (NCOEFF): New macro.
42442         (gammaf_positive): New function.
42443         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42444         underflow here.  Use gamma_positive instead of exp (lgamma) for
42445         other arguments.
42446         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42447         (gamma_coeff): New variable.
42448         (NCOEFF): New macro.
42449         (gammal_positive): New function.
42450         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42451         underflow here.  Use gamma_positive instead of exp (lgamma) for
42452         other arguments.
42453         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42454         (gamma_coeff): New variable.
42455         (NCOEFF): New macro.
42456         (gammal_positive): New function.
42457         (__ieee754_gammal_r): Handle positive infinity, overflow and
42458         underflow here.  Handle NaN the same as positive infinity.  Remove
42459         check x < 0xffffffff for negative integers.  Use gamma_positive
42460         instead of exp (lgamma) for other arguments.
42461         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42462         (gamma_coeff): New variable.
42463         (NCOEFF): New macro.
42464         (gammal_positive): New function.
42465         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42466         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42467         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42470         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42471         * sysdeps/generic/math_private.h (__gamma_productf): New
42472         prototype.
42473         (__gamma_product): Likewise.
42474         (__gamma_productl): Likewise.
42475         * math/Makefile (libm-calls): Add gamma_product.
42476         * math/libm-test.inc (tgamma_test): Add more tests.
42477         * sysdeps/i386/fpu/libm-test-ulps: Update.
42478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42480 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42482         * benchtests/bench-skeleton.c (main): Preheat CPU.
42484 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42486         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42488 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42490         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42491         and _dl_skip_args_internal.
42493 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42495         * manual/message.texi (Message Translation): Talk about users.
42496         Message to key mapping impacts design.
42498 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42500         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42502         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
42504         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
42505         * sysdeps/wordsize-64/glob64.c: ... here.
42507         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
42508         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
42509         New macros.
42511         * debug/getlogin_r_chk.c: Moved to ...
42512         * login/getlogin_r_chk.c: ... here.
42513         * debug/Makefile (routines): Move getlogin_r_chk to ...
42514         * login/Makefile (routines): ... here.
42515         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
42516         * login/Versions (libc: GLIBC_2.4): ... here.
42518         * io/poll.c (__poll): Renamed from poll.
42519         Add libc_hidden_def.
42520         (poll): Define as weak alias.
42522         * debug/ptsname_r_chk.c: Moved to ...
42523         * login/ptsname_r_chk.c: ... here.
42524         * debug/Makefile (routines): Move ptsname_r_chk to ...
42525         * login/Makefile (routines): ... here.
42526         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
42527         * login/Versions (libc: GLIBC_2.4): ... here.
42529         * posix/getlogin.c: Moved to ...
42530         * login/getlogin.c: ... here.
42531         * posix/getlogin_r.c: Moved to ...
42532         * login/getlogin_r.c: ... here.
42533         * posix/getlogin_r.c: Moved to ...
42534         * login/getlogin_r.c: ... here.
42535         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
42536         * login/Makefile (routines): ... here.
42537         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
42538         * login/Versions (libc: GLIBC_2.0): ... here.
42540         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
42541         (setrlimit): Define as weak alias.
42543         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
42544         Call __ names for open, ftruncate, and close.
42545         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
42546         (truncate): Define as weak alias.
42548 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
42550         * math/gen-libm-test.pl (parse_args): Initialize x before each
42551         test of frexp, modf and remquo.
42553         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
42554         test signgam value.
42556 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42558         [BZ #15418]
42559         [BZ #15419]
42560         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
42561         internal tests.
42562         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42564 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42566         * elf/dl-writev.h: New file.
42567         * elf/dl-misc.c: Include it.
42568         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
42569         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
42571 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
42573         * math/libm-test.inc (noXFails): Remove variable.
42574         (noXPasses): Likewise.
42575         (BUILD_COMPLEX_INT): Remove macro.
42576         (print_screen): Remove xfail argument.
42577         (print_screen_max_error): Likewise.
42578         (update_stats): Likewise.
42579         (print_max_error): Likewise.  Update calls to other affected
42580         functions.
42581         (print_complex_max_error): Likewise.
42582         (test_single_exception): Update calls to print_screen.
42583         (test_single_errno): Likewise.
42584         (check_float_internal): Remove xfail argument.  Update calls to
42585         other affected functions.
42586         (check_float): Likewise.
42587         (check_complex): Likewise.
42588         (check_int): Likewise.
42589         (check_long): Likewise.
42590         (check_bool): Likewise.
42591         (check_longlong): Likewise.
42592         (main): Don't print noXFails and noXPasses.
42593         * math/gen-libm-test.pl (top level): Don't mention expected
42594         failure handling in comment.
42595         (new_test): Don't handle expected failures.
42596         (parse_args): Don't mention expected failure handling in comment.
42597         (generate_testfile): Don't handle expected failures.
42598         (parse_ulps): Likewise.
42599         (print_ulps_file): Likewise.
42600         (get_failure): Remove function.
42601         (output_test): Don't handle expected failures.
42602         * make/README.libm-test: Don't mention expected failure handling.
42604         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
42605         (minus_zero): Likewise.
42606         (plus_infty): Likewise.
42607         (minus_infty): Likewise.
42608         (qnan_value): Likewise.
42609         (max_value): Likewise.
42610         (min_value): Likewise.
42611         (min_subnorm_value): Likewise.
42612         (initialize): Do not initialize those variables dynamically.
42614 2013-05-03  Roland McGrath  <roland@hack.frob.com>
42616         * io/open.c (__open_2): Moved to ...
42617         * io/open_2.c: ... this new file.
42618         * io/open64.c (__open64_2): Moved to ...
42619         * io/open64_2.c: ... this new file.
42620         * io/openat.c (__openat_2): Moved to ...
42621         * io/openat_2.c: ... this new file.
42622         * io/openat64.c (__openat64_2): Moved to ...
42623         * io/openat64_2.c: ... this new file.
42624         * io/Makefile (routines): Add them.
42625         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
42626         * sysdeps/unix/sysv/linux/open_2.c: File removed.
42627         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
42628         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
42629         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
42630         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
42631         (__openat64): Add hidden_ver.
42632         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
42633         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
42635         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
42636         Separately conditionalize setting of GLRO(dl_sysinfo) so
42637         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
42638         as well, but the actual setting is only under [NEED_DL_SYSINFO].
42640 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42642         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42643         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
42644         definition.
42645         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
42646         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42647         (_libc_vdso_platform_setup): Add __vdso_time initialization.
42648         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
42649         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
42651 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
42653         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
42654         test signgam value.
42656         * math/libm-test.inc (hypot_test): Do not use
42657         IGNORE_ZERO_INF_SIGN.
42659 2013-05-03  Andreas Jaeger  <aj@suse.de>
42661         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
42662         Linux 3.9.
42663         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
42664         (PF_MAX): Adjust for VSOCK change.
42666 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42670 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
42672         [BZ #15264]
42673         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
42674         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
42675         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
42677 2013-05-02  David S. Miller  <davem@davemloft.net>
42679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42681 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
42683         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
42685 2013-05-01  Roland McGrath  <roland@hack.frob.com>
42687         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
42689 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
42691         [BZ #14952]
42692         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
42693         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42694         Use __attribute__ ((__gnu_inline__)).
42695         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
42696         Don't use __attribute__ ((__gnu_inline__)).
42698 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
42700         [BZ #15423]
42701         * math/s_catan.c (__catan): Handle small real or imaginary part of
42702         input specially to avoid spurious underflow.
42703         * math/s_catanf.c (__catanf): Likewise.
42704         * math/s_catanh.c (__catanh): Likewise.
42705         * math/s_catanhf.c (__catanhf): Likewise.
42706         * math/s_catanhl.c (__catanhl): Likewise.
42707         * math/s_catanl.c (__catanl): Likewise.
42708         * math/libm-test.inc (catan_test): Add more tests.
42709         (catanh_test): Likewise.
42710         * sysdeps/i386/fpu/libm-test-ulps: Update.
42711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42713 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42717 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
42719         [BZ #15416]
42720         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
42721         accurately for denominator in atan2.
42722         * math/s_catanf.c (__catanf): Likewise.
42723         * math/s_catanh.c (__catanh): Likewise.
42724         * math/s_catanhf.c (__catanhf): Likewise.
42725         * math/s_catanhl.c (__catanhl): Likewise.
42726         * math/s_catanl.c (__catanl): Likewise.
42727         * math/libm-test.inc (catan_test): Add more tests.
42728         (catanh_test): Likewise.
42729         * sysdeps/i386/fpu/libm-test-ulps: Update.
42730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42732 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42734         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
42736         * benchtests/Makefile (bench): Remove slow benchmarks.
42737         * benchtests/atan-inputs: Add slow benchmark inputs.
42738         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
42739         (BENCH_FUNC): Accept variant offset.
42740         (VARIANT): Define.
42741         * benchtests/bench-skeleton.c (main): Run benchmark for each
42742         variant.
42743         * benchtests/cos-inputs: Add slow benchmark inputs.
42744         * benchtests/exp-inputs: Likewise.
42745         * benchtests/pow-inputs: Likewise.
42746         * benchtests/sin-inputs: Likewise.
42747         * benchtests/slowatan-inputs: Remove.
42748         * benchtests/slowatan.c: Remove.
42749         * benchtests/slowcos-inputs: Remove.
42750         * benchtests/slowcos.c: Remove.
42751         * benchtests/slowexp-inputs: Remove.
42752         * benchtests/slowexp.c: Remove.
42753         * benchtests/slowpow-inputs: Remove.
42754         * benchtests/slowpow.c: Remove.
42755         * benchtests/slowsin-inputs: Remove.
42756         * benchtests/slowsin.c: Remove.
42757         * benchtests/slowtan-inputs: Remove.
42758         * benchtests/slowtan.c: Remove.
42759         * benchtests/tan-inputs: Add slow benchmark inputs.
42760         * scripts/bench.pl: Parse comments and directives.
42762         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
42763         in CPPFLAGS.
42764         ($(objpfx)bench-%.c): Remove *-ITER.
42765         * benchtests/bench-modf.c: Remove definition of ITER.
42766         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
42767         (main): Loop for DURATION seconds instead of fixed number of
42768         iterations.
42769         * scripts/bench.pl: Don't expect iterations in parameters.
42771 2013-04-29  Roland McGrath  <roland@hack.frob.com>
42773         * io/fchdir.c (__fchdir): Renamed from fchdir.
42774         (fchdir): Define as weak alias.
42776 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42778         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
42779         (ERRNO_EDOM): Likewise.
42780         (ERRNO_ERANGE): Likewise.
42781         (noErrnoTests): New variable.
42782         (init_max_error): Set errno to 0.
42783         (test_single_errno): New function.
42784         (test_errno): Likewise.
42785         (check_float_internal): Call test_errno.  Set errno to 0.
42786         (check_complex): Refer to errno tests in comment.
42787         (check_int): Call test_errno.  Set errno to 0.
42788         (check_long): Likewise.
42789         (check_bool): Likewise.
42790         (check_longlong): Likewise.
42791         (cos_test): Use ERRNO_* flags for errno tests instead of
42792         check_int.
42793         (expm1_test): Likewise.
42794         (fmod_test): Likewise.
42795         (ilogb_test): Likewise.
42796         (lgamma_test): Likewise.
42797         (pow_test): Likewise.
42798         (remainder_test): Likewise.
42799         (sin_test): Likewise.
42800         (tan_test): Likewise.
42801         (yn_test): Likewise.
42802         (initialize): Set errno to 0.
42803         (main): Print number of errno tests.
42804         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
42806 2013-04-29  Andreas Jaeger  <aj@suse.de>
42808         [BZ #15084]
42809         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
42810         and RES_USEVC.
42812         [BZ #15085]
42813         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
42814         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
42815         unimplemented.
42817         [BZ #15380]
42818         * stdlib/random.c (__initstate): Return NULL if
42819         __initstate fails.
42821         [BZ #15086]
42822         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
42823         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
42824         RES_SNGLKUPREOP.
42826 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42830 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
42832         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
42833         of individual tests.
42834         (casin_test): Likewise.
42835         (casinh_test): Likewise.
42837 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
42839         [BZ #15409]
42840         * math/s_catan.c (__catan): Handle arguments with large real or
42841         imaginary part separately without squaring.
42842         * math/s_catanf.c (__catanf): Likewise.
42843         * math/s_catanh.c (__catanh): Likewise.
42844         * math/s_catanhf.c (__catanhf): Likewise.
42845         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42846         and redefine.
42847         (__catanhl): Handle arguments with large real or imaginary part
42848         separately without squaring.
42849         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
42850         and redefine.
42851         (__catanl): Handle arguments with large real or imaginary part
42852         separately without squaring.
42853         * math/libm-test.inc (catan_test): Add more tests.
42854         (catanh_test): Likewise.
42855         * sysdeps/i386/fpu/libm-test-ulps: Update.
42856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42858 2013-04-27  Andreas Jaeger  <aj@suse.de>
42860         [BZ #15007]
42861         * stdlib/stdlib.h: Update guards for qecvt.
42862         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
42863         <stdlib.h>.
42865 2013-04-27  Allan McRae  <allan@archlinux.org>
42867         * sysdeps/i386/fpu/libm-test-ulps: Update.
42869 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
42871         [BZ #15406]
42872         * math/s_catan.c: Include <float.h>.
42873         (__catan): Ensure underflow exception occurs for underflowed
42874         result.
42875         * math/s_catanf.c: Include <float.h>.
42876         (__catanf): Ensure underflow exception occurs for underflowed
42877         result.
42878         * math/s_catanh.c: Include <float.h>.
42879         (__catanh): Ensure underflow exception occurs for underflowed
42880         result.
42881         * math/s_catanhf.c: Include <float.h>.
42882         (__catanhf): Ensure underflow exception occurs for underflowed
42883         result.
42884         * math/s_catanhl.c: Include <float.h>.
42885         (__catanhl): Ensure underflow exception occurs for underflowed
42886         result.
42887         * math/s_catanl.c: Include <float.h>.
42888         (__catanl): Ensure underflow exception occurs for underflowed
42889         result.
42890         * math/libm-test.inc (catan_test): Add more tests.
42891         (catanh_test): Likewise.
42893         [BZ #15405]
42894         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
42895         underflowed result.
42896         * math/s_ccoshf.c (__ccoshf): Likewise.
42897         * math/s_ccoshl.c (__ccoshl): Likewise.
42898         * math/s_csin.c (__csin): Likewise.
42899         * math/s_csinf.c (__csinf): Likewise.
42900         * math/s_csinh.c (__csinh): Likewise.
42901         * math/s_csinhf.c (__csinhf): Likewise.
42902         * math/s_csinhl.c (__csinhl): Likewise.
42903         * math/s_csinl.c (__csinl): Likewise.
42904         * math/libm-test.inc (ccos_test): Add more tests.
42905         (ccosh_test): Likewise.
42906         (csin_test): Likewise.
42907         (csinh_test): Likewise.
42909 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42911         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
42912         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
42913         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
42914         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
42915         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
42916         powerpc/power5+/fpu folders.
42917         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
42920 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42924 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
42926         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
42927         additions to variable.
42928         [$(config-machine) = x86_64] (modules-names): Likewise.
42929         ($(objpfx)tst-audit3): Remove dependency.
42930         ($(objpfx)tst-audit3.out): Likewise.
42931         ($(objpfx)tst-audit4): Likewise.
42932         ($(objpfx)tst-audit4.out): Likewise.
42933         ($(objpfx)tst-audit5): Likewise.
42934         ($(objpfx)tst-audit5.out): Likewise.
42935         ($(objpfx)tst-audit6): Likewise.
42936         ($(objpfx)tst-audit6.out): Likewise.
42937         ($(objpfx)tst-audit7): Likewise.
42938         ($(objpfx)tst-audit7.out): Likewise.
42939         (tst-audit3-ENV): Remove variable.
42940         (tst-audit4-ENV): Likewise.
42941         (tst-audit5-ENV): Likewise.
42942         (tst-audit6-ENV): Likewise.
42943         (tst-audit7-ENV): Likewise.
42944         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42945         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42946         addition to variable.
42947         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42948         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42949         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42950         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42951         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42952         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42953         tst-audit3, tst-audit4 and tst-audit5.
42954         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42955         tst-audit6 and tst-audit7.
42956         [$(subdir) = elf] (modules-names): Add audit modules for those
42957         tests.
42958         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42959         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42960         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42961         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42962         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42963         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42964         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42965         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42966         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42967         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42968         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42969         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42970         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42971         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42972         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42973         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42974         Likewise.
42975         [$(subdir) = elf && $(config-cflags-avx) = yes]
42976         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42977         [$(subdir) = elf && $(config-cflags-avx) = yes]
42978         (CFLAGS-tst-auditmod4a.c): Likewise.
42979         [$(subdir) = elf && $(config-cflags-avx) = yes]
42980         (CFLAGS-tst-auditmod4b.c): Likewise.
42981         [$(subdir) = elf && $(config-cflags-avx) = yes]
42982         (CFLAGS-tst-auditmod6b.c): Likewise.
42983         [$(subdir) = elf && $(config-cflags-avx) = yes]
42984         (CFLAGS-tst-auditmod6c.c): Likewise.
42985         [$(subdir) = elf && $(config-cflags-avx) = yes]
42986         (CFLAGS-tst-auditmod7b.c): Likewise.
42987         * elf/tst-audit3.c: Move to ...
42988         * sysdeps/x86_64/tst-audit3.c: ... here.
42989         * elf/tst-audit4.c: Move to ...
42990         * sysdeps/x86_64/tst-audit4.c: ... here.
42991         * elf/tst-audit5.c: Move to ...
42992         * sysdeps/x86_64/tst-audit5.c: ... here.
42993         * elf/tst-audit6.c: Move to ...
42994         * sysdeps/x86_64/tst-audit6.c: ... here.
42995         * elf/tst-audit7.c: Move to ...
42996         * sysdeps/x86_64/tst-audit7.c: ... here.
42997         * elf/tst-auditmod3a.c: Move to ...
42998         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42999         * elf/tst-auditmod3b.c: Move to ...
43000         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43001         * elf/tst-auditmod4a.c: Move to ...
43002         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43003         * elf/tst-auditmod4b.c: Move to ...
43004         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43005         * elf/tst-auditmod5a.c: Move to ...
43006         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43007         * elf/tst-auditmod5b.c: Move to ...
43008         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43009         * elf/tst-auditmod6a.c: Move to ...
43010         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43011         * elf/tst-auditmod6b.c: Move to ...
43012         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43013         * elf/tst-auditmod6c.c: Move to ...
43014         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43015         * elf/tst-auditmod7a.c: Move to ...
43016         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43017         * elf/tst-auditmod7b.c: Move to ...
43018         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43020 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43022         [BZ #15366]
43023         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43024         define unconditionally.
43025         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43026         define unconditionally.
43027         (INT8_C, INT16_C, etc.): Likewise.
43029 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43031         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43032         __ehdr_start with hidden visibility.
43034         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43036 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43038         * math/libm-test.inc (cos_test): Use accurate hex constants.
43039         (sincost_test): Likewise.
43041 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43043         * math/libm-test.inc (catan_test): Add more tests.
43044         (catanh_test): Likewise.
43046         * math/s_catanf.c (__catanf): Use suffixed floating-point
43047         constants.
43048         * math/s_catanhf.c (__catanhf): Likewise.
43049         * math/s_catanhl.c (__catanhl): Likewise.
43050         * math/s_catanl.c (__catanl): Likewise.
43052         [BZ #15394]
43053         * math/s_catan.c (__catan): Calculate imaginary part of result
43054         with log1p not log unless computing log of number close to 0.
43055         * math/s_catanf.c (__catanf): Likewise.
43056         * math/s_catanl.c (__catanl): Likewise.
43057         * math/s_catanh.c (__catanh): Calculate real part of result with
43058         log1p not log unless computing log of number close to 0.
43059         * math/s_catanhf.c (__catanhf): Likewise.
43060         * math/s_catanhl.c (__catanhl): Likewise.
43061         * math/libm-test.inc (catan_test): Add more tests.
43062         (catanh_test): Likewise.
43063         * sysdeps/i386/fpu/libm-test-ulps: Update.
43064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43066 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43068         * benchtests/Makefile: Mention files in which fast and slow
43069         paths of math functions are implemented.
43071 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43073         * sysdeps/posix/timespec_get.c: New file.
43075 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43077         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43078         POWER.
43079         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43080         for POWER.
43081         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43082         powerpc/power5/fpu folders.
43083         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43084         * benchtests/Makefile: Add modf testcase.
43085         * benchtests/bench-modf.c: New file: Benchmark test for mo
43087 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43089         [BZ #14888]
43090         * time/Makefile (tests): Add tst-strptime-whitespace.
43091         * time/strptime_l.c (get_number): Use ISSPACE.
43092         (__strptime_internal): Likewise.
43093         * time/tst-strptime-whitespace.c: New test case.
43095 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43097         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43098         member.
43099         (_nss_files_init): Set it here.
43101 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43103         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43104         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43105         unsigned.
43107 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43109         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43111 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43113         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43114         size just once.
43116 2013-04-21  David S. Miller  <davem@davemloft.net>
43118         * po/ru.po: Update Russion translation from translation project.
43120 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43122         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43123         and setfsgid.
43125 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43127         * configure.in: Remove i386 configure warning. Remove i386 case.
43128         * configure: Regenerate.
43129         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43130         Add example to error message.
43131         * sysdeps/i386/configure: Regenerate.
43133 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43136         slowtan.
43137         * benchtests/cos-inputs: New file.
43138         * benchtests/slowcos-inputs: New file.
43139         * benchtests/slowcos.c: New file.
43140         * benchtests/slowtan-inputs: New file.
43141         * benchtests/slowtan.c: New file.
43142         * benchtests/tan-inputs: New file.
43144 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43146         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43147         considered kosher.
43149 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43151         * benchtests/Makefile: Include cppflags-iterator.mk to add
43152         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43154         * Makefile.in (bench-clean): New target.
43155         * benchtests/Makefile (bench-clean): Likewise.
43157 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43159         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43161 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43163         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43165 2013-04-15  Andreas Schwab  <schwab@suse.de>
43167         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43168         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43169         * nscd/pwdcache.c (cache_addpw): Likewise.
43170         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43171         more than recsize.
43173 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43175         * benchtests/Makefile (bench): Write all output to
43176         bench-out.tmp together.
43178 2013-04-15  Andreas Schwab  <schwab@suse.de>
43180         * nscd/nscd.c (main): Don't fork again after closing files.
43182 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43184         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43186         * benchtests/Rules (bench-deps): Collect dependencies into a
43187         single variable.  Add Makefile to dependencies.
43188         ($(objpfx)bench-%.c): Depend on bench-deps.
43190 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43191             Xavier Roche  <roche+kml2@exalead.com>
43193         [BZ #15361]
43194         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43195         just that it's a file descriptor.
43196         * manual/llio.texi (Synchronizing AIO Operations): Update description
43197         for EBADF error from aio_fsync.
43199 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43201         * Rules (bench): Move target definition...
43202         * benchtests/Makefile: ... here.
43204 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43206         * math/libm-test.inc (cos_test): Fix PI/2 test.
43207         (sincos_test): Likewise.
43208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43209         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43211 2013-04-11  Andreas Schwab  <schwab@suse.de>
43213         [BZ #13988]
43214         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43215         accept exponent character only when digits were seen.
43216         * stdio-common/Makefile (tests): Add bug26.
43217         * stdio-common/bug26.c: New file.
43219         [BZ #14293]
43220         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43221         non-freeable.
43223 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43225         * Makeconfig (rtld-prefix): Define built linker prefix.
43226         * Rules (run-bench): Use it.
43227         * math/Makefile (run-regen-ulps): Likewise.
43229         * Rules (bench): Remove eval.
43231 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43232             Roland McGrath  <roland@hack.frob.com>
43233             Ondrej Bilka  <neleai@seznam.cz>
43235         [BZ #15346]
43236         * time/getdate.c: Include ctype.h and alloca.h.
43237         (__getdate_r): Trim leading and trailing spaces of input.
43238         * time/tst-getdate.c (tests): Add tests with leading and
43239         trailing spaces.
43241 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43243         [BZ #14280]
43244         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43245         when computing value.
43247 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43249         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43250         Use testrun.sh to run libm tests.
43252         [BZ #15309]
43253         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43255 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43257         [BZ #15264]
43258         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43260 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43262         * Makefile.in (regen-ulps): New target.
43263         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43264         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43265         [ifneq (no,$(PERL)] (regen-ulps): New target.
43266         [ifeq (no,$(PERL)] (regen-ulps): New target.
43267         * math/libm-test.inc (ulps_file_name): Define.
43268         (output_dir): New variable.
43269         (options): Add "output-dir" option.
43270         (parse_opt): Handle 'o' case.
43271         (main): If output_dir is non-NULL use it as a prefix
43272         otherwise use "".
43273         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43275 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43277         [BZ #10060, #10062]
43278         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43279         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43280         fail configure if __sync_val_compare_and_swap is not inlined.
43281         * sysdeps/i386/configure: Regenerate.
43282         * configure.in: Build for i686 when configured for i386.
43283         * configure: Regenerate.
43284         * README: Remove i386 reference.
43286 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43288         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43289         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43291 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43293         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43294         (lmsnanval): New variables.
43295         (F): Add conversion tests.
43296         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43297         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43299         * stdio-common/tstdiomisc.c (F): Properly collect individual
43300         tests' results.
43302         [BZ #14686, #15336]
43303         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43304         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43305         Instead, use input NaN values or generate a qNaN by arithmetic
43306         operation.  Also fix bugs to comply with the standard.
43307         * math/libm-test.inc (remainder_test): Add more tests.
43309         [BZ #15335, #15342]
43310         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43312         input NaN values or generate a qNaN by arithmetic operation.
43314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43315         unreachable code.
43317         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43318         definitions.
43320 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43322         [BZ #14478]
43323         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43324         underflowed result.
43325         * math/s_cexpf.c (__cexpf): Likewise.
43326         * math/s_cexpl.c (__cexpl): Likewise.
43327         * math/libm-test.inc (cexp_test): Add more tests.
43329 2013-04-03  Andreas Schwab  <schwab@suse.de>
43331         [BZ #15330]
43332         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43333         order arrays from heap if bigger than alloca cutoff.
43335 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43337         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43338         (SNAN_TESTS_double): Refer to GCC PR56831.
43339         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43340         GCC PR56828.
43342 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43344         * Rules (bench): Move bench.out after the run is complete.
43346         * Rules (bench): Echo currently running benchmark.
43348         * benchtests/Makefile (bench): Add atan and slowatan.
43349         * benchtests/atan-inputs: New file.
43350         * benchtests/slowatan-inputs: New file.
43351         * benchtests/slowatan.c: New file.
43353         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43354         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43355         its value.
43357         [BZ #15305]
43358         * sysdeps/unix/sysv/linux/kernel-features.h
43359         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43360         __ASSUME_XFS_RESTRICTED_CHOWN.
43361         * sysdeps/unix/sysv/linux/pathconf.c
43362         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43363         Save and restore errno.
43365 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43367         [BZ #15327]
43368         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43369         arguments using __kernel_casinh.
43370         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43371         arguments using __kernel_casinhf.
43372         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43373         arguments using __kernel_casinhl.
43374         * math/libm-test.inc (cacosh_test): Add more tests.
43375         * sysdeps/i386/fpu/libm-test-ulps: Update.
43376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43378 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43380         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43381         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43383         * bench/Makefile (bench): Add sin and slowsin.
43384         * benchtests/sin-inputs: New file.
43385         * benchtests/slowsin-inputs: New file.
43386         * benchtests/slowsin.c: New file.
43388         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43389         (bench): Add slowexp and slowpow.
43390         (exp-ITER): Increase iterations.
43391         (pow-ITER): Likewise.
43392         * benchtests/exp-inputs: Change input.
43393         * benchtests/pow-inputs: Likewise.
43394         * benchtests/slowexp-inputs: New file.
43395         * benchtests/slowexp.c: New file.
43396         * benchtests/slowpow-inputs: New file.
43397         * benchtests/slowpow.c: New file.
43399 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43401         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43402         instructions.
43403         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43404         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43405         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43406         * benchtests/Makefile: Add rint benchtest.
43407         * benchtests/rint-inputs: Input for rint benchtest.
43409 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43411         * Versions.def (libm): Add GLIBC_2.18.
43412         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43413         hidden libm prototypes.
43414         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43415         * math/Makefile (libm-calls): Add s_issignaling.
43416         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43417         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43418         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43419         declaration.
43420         * math/math.h [__USE_GNU] (issignaling): New macro.
43421         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43422         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43423         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43424         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43425         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43426         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43427         * manual/arith.texi (issignaling): New section.
43428         * manual/libm-err-tab.pl (@all_functions): Update comment.
43429         * math/gen-libm-test.pl (parse_args): Apply special handling for
43430         issignaling.
43431         * math/libm-test.inc (print_float, issignaling_test): New
43432         functions.
43433         (check_float_internal): Add issignaling checks.
43434         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43435         default definition.
43436         * sysdeps/powerpc/math-tests.h: New file.
43437         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43438         tests.
43439         * math/test-snan.c (TEST_FUNC): Likewise.
43441 2013-03-30  David S. Miller  <davem@davemloft.net>
43443         * po/de.po: Update from translation team.
43445 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43447         [BZ #10357]
43448         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43449         imaginary part less than 1.0 and real part less than 0.5
43450         specially.
43451         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43452         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43453         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43454         (cacos_test): Add more tests.
43455         (casin_test): Likewise.
43456         (casinh_test): Likewise.
43457         * sysdeps/i386/fpu/libm-test-ulps: Update.
43458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43460 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43462         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43463         ONE with its value.
43465         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43466         (__pow_mp): Replace ONE and MONE with their values.
43467         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43469         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43470         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43471         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43472         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43474         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43476         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43477         (__pow_mp): Replace ZERO and MZERO with their values.
43478         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43480         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43481         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43482         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43483         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43484         (__sqr): Likewise.
43486         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43488         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43490 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43492         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43493         Declare with __attribute__ ((weak)).
43494         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43495         Call __call_tls_dtors only if it's not NULL.
43497 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43499         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43500         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43501         magic __ehdr_start linker symbol if it's defined.
43502         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
43503         them up here if it was already done.
43505         * elf/dl-support.c (_dl_phdr): Make pointer to const.
43506         (_dl_aux_init): Use const in cast when setting it.
43507         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
43508         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
43509         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
43511         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
43512         Declare them here.
43513         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
43514         * csu/libc-tls.c: Nor here.
43515         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
43517         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
43518         (__libc_message): Never call vsyslog.
43520 2013-03-28  Alan Modra  <amodra@gmail.com>
43522         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
43523         Define as empty.
43524         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
43525         Likewise.
43527 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43529         [BZ #15214]
43530         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
43531         underflow.
43532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43534 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43536         [BZ #15304]
43537         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43538         Don't add gid passed as argument.
43540         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
43542 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
43544         [BZ #15307]
43545         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43546         imaginary part between 1.0 and 1.5 and real part less than 0.5
43547         specially.
43548         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43549         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43550         * math/libm-test.inc (cacos_test): Add more tests.
43551         (casin_test): Likewise.
43552         (casinh_test): Likewise.
43553         * sysdeps/i386/fpu/libm-test-ulps: Update.
43554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43556 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43558         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
43559         constants.
43560         (norm): Likewise.
43561         (denorm): Likewise.
43562         (__dbl_mp): Likewise.
43563         (add_magnitudes): Likewise.
43564         (sub_magnitudes): Likewise.
43565         (__add): Likewise.
43566         (__sub): Likewise.
43567         (__mul): Likewise.
43568         (__sqr): Likewise.
43569         (__inv): Likewise.
43570         (__dvd): Likewise.
43572         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
43573         commented code.
43574         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
43575         (__dubcos): Likewise.
43576         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
43577         (__ieee754_acos): Likewise.
43578         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43579         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
43580         (__exp1): Likewise.
43581         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43583         (log1): Likewise.
43584         (my_log2): Likewise.
43585         (checkint): Likewise.
43586         * sysdeps/ieee754/dbl-64/e_remainder.c
43587         (__ieee754_remainder): Likewise.
43588         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43589         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
43590         (bsloww): Likewise.
43591         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43593         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43594         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
43595         MANTISSA_STORE_T to store computations on mantissa.  Use
43596         macros for rounding and division.
43597         (denorm): Likewise.
43598         (__dbl_mp): Likewise.
43599         (add_magnitudes): Likewise.
43600         (sub_magnitudes): Likewise.
43601         (__mul): Likewise.
43602         (__sqr): Likewise.
43603         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43604         powers of two in terms of TWOPOW macro.
43605         (mp_no): Make type of mantissa as MANTISSA_T.
43606         [!RADIXI]: Define RADIXI.
43607         [!TWO52]: Define TWO52.
43608         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43610 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43612         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
43613         llroundl symbol when building for PPC32.
43615 2013-03-24  Mark H Weaver  <mhw@netris.org>
43617         * manual/arith.texi (Normalization Functions): Fix prototypes for
43618         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
43620 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43622         [BZ #13889]
43623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
43624         high value to check if expl overflow.
43625         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
43626         to check for underflow and overflow.
43627         * math/libm-test.inc: Add exp test.
43629 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
43631         [BZ #11120]
43632         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
43633         with NOT_IN_libc.
43635 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43637         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
43638         symbol.
43640 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43642         * math/gen-libm-test.pl (parse_args, special_functions): Properly
43643         wrap blocks consisting of several statements.
43645         * sysdeps/generic/math-tests.h: New file.
43646         * sysdeps/i386/fpu/math-tests.h: Likewise.
43647         * math/test-snan.c: Include it.
43648         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
43650 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43652         [BZ #15285]
43653         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
43654         (__ieee754_j0l): Do not improve calculations using cos of twice
43655         input for inputs above LDBL_MAX / 2.0L.
43656         (__ieee754_y0l): Likewise.
43657         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
43658         (__ieee754_j1l): Do not improve calculations using cos of twice
43659         input for inputs above LDBL_MAX / 2.0L.
43660         (__ieee754_y1l): Likewise.
43661         * math/libm-test.inc (j0_test): Add another test.
43662         (j1_test): Likewise.
43663         (y0_test): Likewise.
43664         (y1_test): Likewise.
43665         * sysdeps/i386/fpu/libm-test-ulps: Update.
43667 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43669         * Rules ($(objpfx)bench-%.c): Include code from a C source
43670         file.
43672 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
43674         [BZ #15287]
43675         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43676         imaginary part 1.0 and real part less than 0.5 specially.
43677         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43678         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43679         * math/libm-test.inc (cacos_test): Add more tests.
43680         (casin_test): Likewise.
43681         (casinh_test): Likewise.
43682         * sysdeps/i386/fpu/libm-test-ulps: Update.
43683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43685 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43687         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
43688         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
43690 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
43692         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
43693         * config.make.in (config-cflags-sse4): Remove variable.
43694         (config-cflags-avx): Likewise.
43695         (config-cflags-sse2avx): Likewise.
43696         (config-cflags-novzeroupper): Likewise.
43697         (config-asflags-i686): Likewise.
43698         (have-mfma4): Likewise.
43699         (have-as-vis3): Likewise.
43700         (MIG): Likewise.
43701         * configure.in (MIG): Do not AC_SUBST.
43702         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
43703         (libc_cv_cc_sse4): Do not AC_SUBST.
43704         (libc_cv_cc_avx): Likewise.
43705         (libc_cv_cc_sse2avx): Likewise.
43706         (libc_cv_cc_novzeroupper): Likewise.
43707         (libc_cv_cc_fma4): Likewise.
43708         (libc_cv_as_i686): Likewise.
43709         (libc_cv_sparc_as_vis3): Likewise.
43710         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
43711         LIBC_CONFIG_VAR.
43712         (config-asflags-i686): Likewise.
43713         (config-cflags-avx): Likewise.
43714         (config-cflags-sse2avx): Likewise.
43715         (have-mfma4): Likewise.
43716         (config-cflags-novzeroupper): Likewise.
43717         * sysdeps/mach/configure.in (MIG): Likewise.
43718         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
43719         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
43720         LIBC_CONFIG_VAR.
43721         (config-cflags-avx): Likewise.
43722         (config-cflags-sse2avx): Likewise.
43723         (have-mfma4): Likewise.
43724         (config-cflags-novzeroupper): Likewise.
43725         * configure: Regenerated.
43726         * sysdeps/i386/configure: Likewise.
43727         * sysdeps/mach/configure: Likewise.
43728         * sysdeps/sparc/configure: Likewise.
43729         * sysdeps/x86_64/configure: Likewise.
43731 2013-03-20  Roland McGrath  <roland@hack.frob.com>
43733         [BZ #14812]
43734         * locale/programs/localedef.c (options): Put N_ translation marker
43735         on argument names, not just descriptions.
43737 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43739         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
43741 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
43743         [BZ #14176]
43744         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
43746 2013-03-19  Roland McGrath  <roland@hack.frob.com>
43748         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
43749         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
43750         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
43751         [!BEFORE_ABORT] (before_abort): New function.
43752         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
43753         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
43754         (writev_for_fatal): New function.
43755         (WRITEV_FOR_FATAL): New macro; call that.
43756         (backtrace_and_maps): New function.
43757         (BEFORE_ABORT): New macro; call that.
43758         (struct str_list): Type removed.
43759         (__libc_message, __libc_fatal): Functions removed.
43760         Include <sysdeps/posix/libc_fatal.c> instead.
43762 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
43764         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
43765         constants.
43766         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
43767         double constants.
43769 2013-03-19  Andreas Schwab  <schwab@suse.de>
43771         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
43772         * sysdeps/gnu/configure: Regenerate.
43774         * configure.in: Substitute libc_cv_rtlddir.
43775         * configure: Regenerate.
43776         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
43777         * Makeconfig (rtlddir, inst_rtlddir): New variables.
43778         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
43779         * elf/Makefile (install-others, CFLAGS-interp.c)
43780         (ldso_install, common-ldd-rewrite): Likewise.
43781         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
43782         $(inst_slibdir)/$(rtld-installed-name).
43783         * scripts/rellns-sh: Add -p option.
43784         * Makerules (make-shlib-link): Use rellns-sh to get relative name
43785         for source.
43787 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43789         * manual/nptl.texi: Renamed to ...
43790         * manual/threads.texi: ... this.
43791         * manual/Makefile (chapters): Update.
43793 2013-03-18  Roland McGrath  <roland@hack.frob.com>
43795         [BZ #14812]
43796         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
43797         on argument names, not just descriptions.
43798         * malloc/memusagestat.c (options): Likewise.
43799         * nss/getent.c (options): Likewise.
43801 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
43803         [BZ #14812]
43804         * iconv/iconv_prog.c (options): Put N_ translation marker
43805         on argument names, not just descriptions.
43806         * iconv/iconvconfig.c (options): Likewise.
43808 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
43810         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
43811         implementation which is faster on all x86_64 architectures.
43812         Tested on AMD, Intel Nehalem, SNB, IVB.
43813         * sysdeps/x86_64/strnlen.S: Likewise.
43815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43816         Remove all multiarch strlen and strnlen versions.
43817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43818         Remove strlen and strnlen related parts.
43820         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
43821         Inline strlen part.
43822         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43824         * sysdeps/x86_64/multiarch/strlen.S: Remove.
43825         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
43826         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
43827         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
43828         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43829         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
43831 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
43833         * manual/memory.texi (Malloc Tunable Parameters):
43834         Sort parameters alphabetically. Add comments for missing entries.
43836 2013-03-17  David S. Miller  <davem@davemloft.net>
43838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43840 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
43842         [BZ #15283]
43843         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
43844         for arguments at most half maximum finite value.
43845         * math/libm-test.inc (j0_test): Add more tests.
43846         (j1_test): Likewise.
43847         (y0_test): Likewise.
43848         (y1_test): Likewise.
43849         * sysdeps/i386/fpu/libm-test-ulps: Update.
43850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43852         [BZ #14155]
43853         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
43854         1 / x and functions P and Q for arguments above 0x1p256L.
43855         (__ieee754_y0l): Likewise.
43856         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
43857         (__ieee754_y1l): Likewise.
43858         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
43859         (j1_test): Likewise.
43860         (y0_test): Likewise.
43861         (y1_test): Likewise.
43863 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
43865         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
43866         variable.
43868 2013-03-15  Roland McGrath  <roland@hack.frob.com>
43870         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
43871         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
43872         zero since it's initialized to EXEC_PAGESIZE.
43874         * sysdeps/unix/sysv/linux/ldsodefs.h
43875         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
43876         * sysdeps/generic/ldsodefs.h: ... here.
43878 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
43880         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
43882         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
43883         math/test-snan.c.
43884         * math/test-snan.c: Renamed from
43885         sysdeps/powerpc/fpu/test-powerpc-snan.c.
43886         * math/Makefile (tests): Add test-snan.
43887         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
43888         test-powerpc-snan.
43890         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
43891         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
43892         functions.
43893         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
43894         __builtin_nan family of functions.
43895         * math/libm-test.inc (initialize): Initialize qnan_value with
43896         __builtin_nan family of functions.
43897         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
43898         Remove variables.
43899         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
43900         Remove functions.
43901         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
43902         storage class.  Initialize qNaN_var and sNaN_var with
43903         __builtin_nan and __builtin_nans families of functions,
43904         respectively.
43906         * math/libm-test.inc (acosh_test): Also test with qNaN input.
43907         (sqrt_test): Remove duplicate test with qNaN input.
43908         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
43909         (round_test, signbit_test, significand_test): Note missing +/-Inf
43910         as well as qNaN tests.
43912         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
43913         qNaN_var.  Fix a few strings, too.
43914         * math/libm-test.inc (nan_value): Rename to qnan_value.
43915         * math/gen-libm-test.pl (%beautify): Adjust to that.
43916         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
43917         * math/test-misc.c (main): Likewise.
43918         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
43919         to __qnan_bytes, and __qnan_union, respectively.
43920         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
43921         Likewise.
43922         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
43923         and lqnanval, respectively.
43924         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
43925         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
43926         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
43927         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
43929         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
43930         * math/test-misc.c (main) [__x86_64__]: Enable test for long
43931         doubles.
43933         * math/test-misc.c (main): Fix copy'n'pastos.
43934         * misc/tst-efgcvt.c (special): Likewise.
43936         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43937         Remove declarations.
43939 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43941         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43942         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43943         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43944         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43946 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43948         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43949         macro to return vdso values correctly in IFUNC implementations.
43950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43951         Optimization by using IFUNC.
43953 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43954             Richard Henderson  <rth@redhat.com>
43955             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43957         * Makefile.in (bench): New target.
43958         * NEWS: Mention the benchmark framework.
43959         * Rules (bench): Likewise.
43960         (binaries-bench): Generate binaries for functions to
43961         benchmark.
43962         * benchtests/Makefile: New makefile for benchmark tests.
43963         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43964         programs.
43965         * benchtests/exp-inputs: New input file for EXP function.
43966         * benchtests/pow-inputs: New input file for POW function.
43967         * scripts/bench.pl: New script to generate source files for
43968         benchmark programs.
43970 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43972         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43973         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43974         computations on mantissa.  Use macros for rounding and
43975         division.
43976         (denorm): Likewise.
43977         (__dbl_mp): Likewise.
43978         (add_magnitudes): Likewise.
43979         (sub_magnitudes): Likewise.
43980         (__mul): Likewise.
43981         (__sqr): Likewise.
43982         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43983         powers of two in terms of TWOPOW macro.
43984         (mp_no): Make type of mantissa as MANTISSA_T.
43985         [!RADIXI]: Define RADIXI.
43986         [!TWO52]: Define TWO52.
43987         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43989         * manual/nptl.texi (cindex): Modify threads to pthreads.
43991 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43993         * sysdeps/x86_64/preconfigure: Regenerated.
43995 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #14155]
43998         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43999         0x1p28 and above.
44000         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44001         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44002         0x1p28 and above.
44003         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44004         * math/libm-test.inc (j0_test): Do not allow one spurious
44005         underflow exception.
44006         (y1_test): Likewise.
44008 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44010         * manual/Makefile (chapters): Add nptl.
44011         * manual/debug.texi (Debugging Support): Add link to Threads
44012         chapter.
44013         * manual/nptl.texi: New file.
44015         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44017 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44019         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44020         for non-NULL pointer before the memory validity test. Pointed
44021         out by Holger Brunck <holger.brunck@keymile.com>.
44023 2013-03-13  Andreas Schwab  <schwab@suse.de>
44025         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44026         instead of .os.
44028 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44030         * timezone/zic.c: Update from tzcode 2013b.
44032 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44034         * manual/install.texi (Configuring and compiling):
44035         Mention i686 and i586.
44036         * INSTALL: Regenerate.
44038 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44040         * sysdeps/init_array/elf-init.c: New file.
44041         * csu/elf-init.c
44042         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44043         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44045         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44046         __gmon_start__ as global, but as static with a .preinit_array pointer.
44047         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44048         * sysdeps/init_array/crti.S: New file, empty except for comments.
44049         * sysdeps/init_array/crtn.S: Likewise.
44051 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44053         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44054         definining bcopy.
44055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44056         Remove Prefer_SSE_for_memop.
44057         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44058         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44059         HAS_PREFER_SSE_FOR_MEMOP.
44060         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44061         memset-x86-64.
44062         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44063         Remove bzero, memset ifunc support.
44064         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44065         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44066         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44067         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44069 2013-03-11  Andreas Schwab  <schwab@suse.de>
44071         [BZ #15234]
44072         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44073         by SHLIB_COMPAT.
44074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44075         (GLIBC_2.16): Remove pthread_atfork.
44077 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44079         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44080         (ptestcases.h): Likewise.
44082 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44084         * Makeconfig ($(common-objpfx)config.status): Depend on
44085         sysdeps/*/preconfigure{,.in} too.
44087 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44089         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44090         (__free_hook): Use void * instead of __malloc_ptr_t.
44091         (__malloc_hook): Likewise.
44092         (__realloc_hook): Likewise.
44093         (__memalign_hook): Likewise.
44094         (__after_morecore_hook): Likewise.
44095         * malloc/arena.c (save_malloc_hook): Likewise.
44096         (save_free_hook): Likewise.
44097         * malloc/hooks.c (malloc_hook_ini): Likewise.
44098         (realloc_hook_ini): Likewise.
44099         (memalign_hook_ini): Likewise.
44100         * malloc/malloc.c (malloc_hook_ini): Likewise.
44101         (realloc_hook_ini): Likewise.
44102         (memalign_hook_ini): Likewise.
44103         (__free_hook): Likewise.
44104         (__malloc_hook): Likewise.
44105         (__realloc_hook): Likewise.
44106         (__memalign_hook): Likewise.
44107         (__libc_malloc): Likewise.
44108         (__libc_free): Likewise.
44109         (__libc_realloc): Likewise.
44110         (__libc_memalign): Likewise.
44111         (__libc_valloc): Likewise.
44112         (__libc_pvalloc): Likewise.
44113         (__libc_calloc): Likewise.
44114         (__posix_memalign): Likewise.
44115         * malloc/morecore.c (__sbrk): Likewise.
44116         (__default_morecore): Likewise.
44118         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44120         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44121         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44122         __malloc_ptrdiff_t.
44124         * malloc/malloc.h (__malloc_size_t): Remove macro.
44125         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44126         __malloc_size_t.
44127         (old_memalign_hook): Likewise.
44128         (old_realloc_hook): Likewise.
44129         (struct hdr): Likewise.
44130         (flood): Likewise.
44131         (mallochook): Likewise.
44132         (memalignhook): Likewise.
44133         (reallochook): Likewise.
44134         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44135         (tr_old_realloc_hook): Likewise.
44136         (tr_old_memalign_hook): Likewise.
44137         (tr_mallochook): Likewise.
44138         (tr_reallochook): Likewise.
44139         (tr_memalignhook): Likewise.
44141 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44144         default_ldbl_pack and using as default implementation.
44145         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44146         implementation.
44147         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44148         redundant definition.
44149         (ldbl_insert_mantissa): Likewise.
44150         (ldbl_canonicalize): Likewise.
44151         (ldbl_nearbyint): Likewise.
44152         (ldbl_pack): Rename to ldbl_pack_ppc.
44153         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44154         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44155         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44157 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44160         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44161         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44162         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44164         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44165         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44166         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44168 2013-03-07  Andreas Jaeger  <aj@suse.de>
44170         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44171         bits/mman-linux.h.
44173 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44175         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44176         Include mpa.h and declare __MPEXP.
44177         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44178         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44179         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44180         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44181         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44182         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44183         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44185         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44186         (__slowpow): Use long double EXPL and LOGL functions to
44187         compute POW.
44188         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44189         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44190         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44191         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44192         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44193         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44196         intermediate variable to calculate exponent.
44197         (__sqr): Likewise.
44198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44199         Likewise.
44200         (__sqr): Likewise.
44202         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44203         [!NO__SQR]: Define __sqr.
44204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44205         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44206         sysdeps/ieee754/dbl-64/mpa.c.
44207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44209         [BZ #12723]
44210         * posix/Makefile (tests): Add tst-pathconf.
44211         * posix/tst-pathconf.c: New test case.
44212         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44213         _PC_PIPE_BUF.
44214         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44216 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44218         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44220 2013-03-06  Andreas Jaeger  <aj@suse.de>
44222         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44223         definition via __MAP_ANONYMOUS.
44225         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44226         it's not part of Linux headers.
44228         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44229         (MAP_HUGE_MASK): Define.
44231         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44232         Define.
44233         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44235         Define.
44236         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44237         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44238         Define.
44239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44240         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44241         Define.
44242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44244         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44245         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44246         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44247         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44248         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44249         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44251         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44252         Handle f2fs.
44254         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44255         Handle f2fs and efivarfs.
44257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44258         f2fs.
44260         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44261         (EFIVARFS_MAGIC): Add.
44262         (F2FS_LINK_MAX): Add.
44264 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44266         * stdio-common/vfprintf.c: Replace __builtin_expect with
44267         __glibc_unlikely.
44269 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44271         [BZ #13550]
44272         * sysdeps/generic/bp-sym.h: Remove file.
44273         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44274         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44275         <bp-sym.h> and <bp-asm.h>.
44276         (__longjmp): Don't use BP_SYM.
44277         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44278         and <bp-asm.h>.
44279         (memcpy): Don't use BP_SYM.
44280         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44281         <bp-sym.h> and <bp-asm.h>.
44282         (memcpy): Don't use BP_SYM.
44283         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44284         <bp-asm.h>.
44285         (memcpy): Don't use BP_SYM.
44286         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44287         <bp-asm.h>.
44288         (memset): Don't use BP_SYM.
44289         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44290         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44291         (__bzero): Don't use BP_SYM.
44292         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44293         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44294         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44295         <bp-sym.h> and <bp-asm.h>.
44296         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44297         pointers.
44298         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44299         <bp-sym.h> and <bp-asm.h>.
44300         (memcpy): Don't use BP_SYM.
44301         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44302         <bp-sym.h> and <bp-asm.h>.
44303         (memset): Don't use BP_SYM.
44304         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44305         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44306         (__bzero): Don't use BP_SYM.
44307         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44308         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44309         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44310         <bp-sym.h> and <bp-asm.h>.
44311         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44312         pointers.
44313         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44314         <bp-sym.h> and <bp-asm.h>.
44315         (memcpy): Don't use BP_SYM.
44316         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44317         <bp-sym.h> and <bp-asm.h>.
44318         (memset): Don't use BP_SYM.
44319         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44320         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44321         (__bzero): Don't use BP_SYM.
44322         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44323         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44324         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44325         <bp-sym.h> and <bp-asm.h>.
44326         (__memchr): Don't use BP_SYM.
44327         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44328         <bp-sym.h> and <bp-asm.h>.
44329         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44330         pointers.
44331         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44332         <bp-sym.h> and <bp-asm.h>.
44333         (memcpy): Don't use BP_SYM.
44334         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44335         <bp-sym.h> and <bp-asm.h>.
44336         (__mempcpy): Don't use BP_SYM.
44337         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44338         <bp-sym.h> and <bp-asm.h>.
44339         (__memrchr): Don't use BP_SYM.
44340         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44341         <bp-sym.h> and <bp-asm.h>.
44342         (memset): Don't use BP_SYM.
44343         (__bzero): Likewise.
44344         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44345         <bp-sym.h> and <bp-asm.h>.
44346         (__rawmemchr): Don't use BP_SYM.
44347         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44348         <bp-sym.h> and <bp-asm.h>.
44349         (__STRCMP): Don't use BP_SYM.
44350         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44351         <bp-sym.h> and <bp-asm.h>.
44352         (strchr): Don't use BP_SYM.
44353         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44354         <bp-sym.h> and <bp-asm.h>.
44355         (__strchrnul): Don't use BP_SYM.
44356         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44357         <bp-sym.h> and <bp-asm.h>.
44358         (strlen): Don't use BP_SYM.
44359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44360         <bp-sym.h> and <bp-asm.h>.
44361         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44362         pointers.
44363         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44364         <bp-sym.h> and <bp-asm.h>.
44365         (__strnlen): Don't use BP_SYM.
44366         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44367         <bp-sym.h> and <bp-asm.h>.
44368         (__GI__setjmp): Don't use BP_SYM.
44369         (_setjmp): Likewise.
44370         (__sigsetjmp): Likewise.
44371         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44372         (L(start_addresses)): Don't use BP_SYM.
44373         (_start): Likewise.
44374         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44375         <bp-asm.h>.
44376         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44377         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44378         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44379         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44380         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44381         <bp-asm.h>.
44382         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44383         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44384         about bounded pointers.
44385         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44386         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44387         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44388         <bp-asm.h>.
44389         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44390         about bounded pointers.  Remove GKM FIXME comments.
44391         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44392         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44393         <bp-asm.h>.
44394         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44395         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44396         Remove GKM FIXME comments.
44397         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44398         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44399         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44400         <bp-asm.h>.
44401         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44402         about bounded pointers.  Remove GKM FIXME comment.
44403         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44404         and <bp-asm.h>.
44405         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44406         pointers.
44407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44408         <bp-sym.h> and <bp-asm.h>.
44409         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44411         <bp-sym.h> and <bp-asm.h>.
44412         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44413         comment.
44415 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44417         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44418         call free(NULL).
44420 2013-03-05  David S. Miller  <davem@davemloft.net>
44422         * po/es.po: Update from translation team.
44424 2013-03-05  Andreas Jaeger  <aj@suse.de>
44426         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44427         <bits/mman-linux.h>.
44428         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44429         is fine.
44430         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44431         <bits/mman-linux.h> to end of file.
44432         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44433         is fine.
44434         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44435         <bits/mman-linux.h> to end of file.
44436         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44437         is fine.
44438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44439         <bits/mman-linux.h> to end of file.
44441         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44442         (MCL_CURRENT, MCL_FUTURE): Define here.
44444 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44446         [BZ #15232]
44447         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44448         attribute_hidden.
44449         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44451 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44454         fourth parameter needed for rt_sigprocmask syscall.
44455         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44456         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44457         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44458         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44459         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44460         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44462 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44464         [BZ #13550]
44465         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44466         comment about bounded pointers.
44467         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44468         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44470 2013-03-04  Andreas Jaeger  <aj@suse.de>
44472         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44473         common definitions.
44475         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44476         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44477         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44478         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44479         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44480         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44482 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44484         [BZ #15055]
44485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44486         __ieee754_sqrl instead of __sqrl.
44488 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44490         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44491         * sysdeps/powerpc/fpu_control.h: ... here.
44492         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44493         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44494         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44495         * sysdeps/powerpc/bits/mathinline.h: ... here.
44497 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44499         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44500         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44501         to just [NEED_DL_SYSINFO_DSO].
44502         * elf/dl-support.c: Likewise.
44503         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44504         * elf/rtld.c (dl_main): Likewise.
44505         * elf/setup-vdso.h (setup_vdso): Likewise.
44506         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
44507         * sysdeps/unix/sysv/linux/dl-sysdep.c
44508         (_dl_discover_osversion): Likewise.
44510 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
44512         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
44513         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44515 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44517         * NEWS: Mention libm performance improvements and non-x86 PI
44518         futex support.
44520         * csu/libc-start.c (__pthread_initialize_minimal): Change
44521         function arguments.
44522         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
44524 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
44526         [BZ #13550]
44527         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
44528         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
44529         <bp-sym.h> and <bp-asm.h>.
44530         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44531         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
44532         and <bp-asm.h>.
44533         (memcpy): Don't use BP_SYM.
44534         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
44535         <bp-asm.h>.
44536         (__mpn_add_n): Don't use BP_SYM.
44537         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
44538         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
44539         and <bp-asm.h>.
44540         (__mpn_addmul_1): Don't use BP_SYM.
44541         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44542         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
44543         <bp-sym.h>.
44544         (_setjmp): Don't use BP_SYM.
44545         (__novmx_setjmp): Likewise.
44546         (__GI__setjmp): Likewise.
44547         (__vmx_setjmp): Likewise.
44548         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
44549         <bp-sym.h>.
44550         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
44551         (__bzero): Don't use BP_SYM.
44552         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44553         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44554         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
44555         <bp-sym.h> and <bp-asm.h>.
44556         (memcpy): Don't use BP_SYM.
44557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
44558         <bp-sym.h> and <bp-asm.h>.
44559         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44560         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
44561         <bp-sym.h> and <bp-asm.h>.
44562         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
44563         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
44564         <bp-asm.h>.
44565         (__mpn_lshift): Don't use BP_SYM.
44566         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44567         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
44568         <bp-asm.h>.
44569         (memset): Don't use BP_SYM.
44570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44572         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
44573         <bp-asm.h>.
44574         (__mpn_mul_1): Don't use BP_SYM.
44575         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
44577         <bp-sym.h> and <bp-asm.h>.
44578         (memcmp): Don't use BP_SYM.
44579         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
44580         <bp-sym.h> and <bp-asm.h>.
44581         (memcpy): Don't use BP_SYM.
44582         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
44583         <bp-sym.h> and <bp-asm.h>.
44584         (memset): Don't use BP_SYM.
44585         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
44586         <bp-sym.h> and <bp-asm.h>.
44587         (strncmp): Don't use BP_SYM.
44588         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
44589         <bp-sym.h> and <bp-asm.h>.
44590         (memcpy): Don't use BP_SYM.
44591         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
44592         <bp-sym.h> and <bp-asm.h>.
44593         (memset): Don't use BP_SYM.
44594         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
44595         <bp-sym.h> and <bp-asm.h>.
44596         (__memchr): Don't use BP_SYM.
44597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
44598         <bp-sym.h> and <bp-asm.h>.
44599         (memcmp): Don't use BP_SYM.
44600         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
44601         <bp-sym.h> and <bp-asm.h>.
44602         (memcpy): Don't use BP_SYM.
44603         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
44604         <bp-sym.h> and <bp-asm.h>.
44605         (__mempcpy): Don't use BP_SYM.
44606         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
44607         <bp-sym.h> and <bp-asm.h>.
44608         (__memrchr): Don't use BP_SYM.
44609         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
44610         <bp-sym.h> and <bp-asm.h>.
44611         (memset): Don't use BP_SYM.
44612         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
44613         <bp-sym.h> and <bp-asm.h>.
44614         (__rawmemchr): Don't use BP_SYM.
44615         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
44616         <bp-sym.h> and <bp-asm.h>.
44617         (__STRCMP): Don't use BP_SYM.
44618         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
44619         <bp-sym.h> and <bp-asm.h>.
44620         (strchr): Don't use BP_SYM.
44621         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
44622         <bp-sym.h> and <bp-asm.h>.
44623         (__strchrnul): Don't use BP_SYM.
44624         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
44625         <bp-sym.h> and <bp-asm.h>.
44626         (strlen): Don't use BP_SYM.
44627         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
44628         <bp-sym.h> and <bp-asm.h>.
44629         (strncmp): Don't use BP_SYM.
44630         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
44631         <bp-sym.h> and <bp-asm.h>.
44632         (__strnlen): Don't use BP_SYM.
44633         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
44634         <bp-asm.h>.
44635         (__mpn_rshift): Don't use BP_SYM.
44636         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44637         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
44638         <bp-sym.h> and <bp-asm.h>.
44639         (__sigsetjmp): Don't use BP_SYM.
44640         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
44641         (L(start_addresses)): Don't use BP_SYM.
44642         (_start): Likewise.
44643         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
44644         <bp-asm.h>.
44645         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
44646         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44647         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44648         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
44649         <bp-asm.h>.
44650         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
44651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44653         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
44654         <bp-asm.h>.
44655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44656         comments.
44657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44658         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
44659         <bp-asm.h>.
44660         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
44661         FIXME comments.
44662         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44663         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44664         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
44665         <bp-asm.h>.
44666         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
44667         comment.
44668         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
44669         and <bp-asm.h>.
44670         (strncmp): Don't use BP_SYM,
44671         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
44672         <bp-asm.h>.
44673         (__mpn_sub_n): Don't use BP_SYM.
44674         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44675         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
44676         and <bp-asm.h>.
44677         (__mpn_submul_1): Don't use BP_SYM.
44678         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
44680         <bp-sym.h> and <bp-asm.h>.
44681         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
44683         <bp-sym.h> and <bp-asm.h>.
44684         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44685         comment.
44687 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
44690         Use ZK to minimize writes to Z.
44691         (sub_magnitudes): Simplify code a bit.
44692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
44693         Use ZK to minimize writes to Z.
44694         (sub_magnitudes): Simplify code a bit.
44696 2013-02-27  Roland McGrath  <roland@hack.frob.com>
44698         * csu/gmon-start.c: Add special exception to license text.
44700 2013-02-27  Richard Henderson  <rth@redhat.com>
44702         * scripts/config.guess: Update from config.git.
44703         * scripts/config.sub: Likewise.
44705 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44707         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
44709         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
44711         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
44713         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
44715         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
44717 2013-02-26  Roland McGrath  <roland@hack.frob.com>
44719         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
44720         [$(build-shared = yes].
44722 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44724         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
44725         (__mul): Reduce iterations for calculating mantissa.
44727         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
44728         MPTWO.
44729         (__mpranred): Likewise.
44731         [BZ #15160]
44732         * malloc/memusagestat.c (main): Draw graphs for heap and stack
44733         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
44735 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
44737         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
44738         Define __attribute__.
44740 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44742         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
44743         unused.
44744         * posix/regex_internal.h (__attribute): Remove.
44745         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
44746         (re_string_context_at): Likewise.
44747         (bitset_not): Use __attribute__ and mark function as possibly
44748         unused.
44749         (bitset_merge): Likewise.
44750         (bitset_mask): Likewise.
44751         (re_string_char_size_at): Likewise.
44752         (re_string_wchar_at): Likewise.
44753         (re_string_elem_size_at): Likewise.
44755 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44757         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
44758         code.
44759         (cc32): Likewise.
44761         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
44762         (__acr): Likewise.
44763         (__cpy): Likewise.
44764         (norm): Likewise.
44765         (denorm): Likewise.
44766         (__dbl_mp): Likewise.
44767         (add_magnitudes): Likewise.
44768         (sub_magnitudes): Likewise.
44769         (__mul): Likewise.
44770         (__inv): Likewise.
44772         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
44773         style.
44775         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
44776         style.
44778         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
44779         code.
44781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
44782         up changes with default code.
44783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
44784         Likewise.
44786 2013-02-24  Allan McRae  <allan@archlinux.org>
44788         * manual/socket.texi (The Internet Namespace): Order menu items
44789         to match that in the file.
44791         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
44792         node listing of the info page menu.
44794 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
44796         [BZ #13550]
44797         * sysdeps/i386/bp-asm.h: Remove file.
44798         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44799         (PARMS): Do not use macros from bp-asm.h.
44800         (S1): Likewise.
44801         (S2): Likewise.
44802         (SIZE): Likewise.
44803         (__mpn_add_n): Do not use BP_SYM
44804         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
44805         "bp-asm.h".
44806         (PARMS): Do not use macros from bp-asm.h.
44807         (S1): Likewise.
44808         (SIZE): Likewise.
44809         (__mpn_addmul_1): Do not use BP_SYM
44810         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
44811         "bp-asm.h".
44812         (PARMS): Do not use macros from bp-asm.h.
44813         (SIGMSK): Likewise.
44814         (_setjmp): Likewise.  Do not use BP_SYM.
44815         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
44816         "bp-asm.h".
44817         (PARMS): Do not use macros from bp-asm.h.
44818         (SIGMSK): Likewise.
44819         (setjmp): Likewise.  Do not use BP_SYM.
44820         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
44821         "bp-asm.h".
44822         (PARMS): Do not use macros from bp-asm.h.
44823         (__frexp): Do not use BP_SYM.
44824         (frexp): Likewise.
44825         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
44826         "bp-asm.h".
44827         (PARMS): Do not use macros from bp-asm.h.
44828         (__frexpf): Do not use BP_SYM.
44829         (frexpf): Likewise.
44830         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
44831         "bp-asm.h".
44832         (PARMS): Do not use macros from bp-asm.h.
44833         (__frexpl): Do not use BP_SYM.
44834         (frexpl): Likewise.
44835         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
44836         "bp-asm.h".
44837         (PARMS): Do not use macros from bp-asm.h.
44838         (__remquo): Do not use BP_SYM.
44839         (remquo): Likewise.
44840         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
44841         "bp-asm.h".
44842         (PARMS): Do not use macros from bp-asm.h.
44843         (__remquof): Do not use BP_SYM.
44844         (remquof): Likewise.
44845         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
44846         "bp-asm.h".
44847         (PARMS): Do not use macros from bp-asm.h.
44848         (__remquol): Do not use BP_SYM.
44849         (remquol): Likewise.
44850         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
44851         "bp-asm.h".
44852         (PARMS): Do not use macros from bp-asm.h.
44853         (DEST): Likewise.
44854         (SRC): Likewise.
44855         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
44856         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
44857         "bp-asm.h".
44858         (PARMS): Do not use macros from bp-asm.h.
44859         (strlen): Do not use BP_SYM.
44860         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
44861         "bp-asm.h".
44862         (PARMS): Do not use macros from bp-asm.h.
44863         (S1): Likewise.
44864         (S2): Likewise.
44865         (SIZE): Likewise.
44866         (__mpn_add_n): Do not use BP_SYM.
44867         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
44868         "bp-asm.h".
44869         (PARMS): Do not use macros from bp-asm.h.
44870         (S1): Likewise.
44871         (SIZE): Likewise.
44872         (__mpn_addmul_1): Do not use BP_SYM.
44873         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
44874         weak_alias.
44875         (bzero): Likewise.
44876         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
44877         "bp-asm.h".
44878         (PARMS): Do not use macros from bp-asm.h.
44879         (S): Likewise.
44880         (SIZE): Likewise.
44881         (__mpn_lshift): Do not use BP_SYM.
44882         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
44883         "bp-asm.h".
44884         (PARMS): Do not use macros from bp-asm.h.
44885         (DEST): Likewise.
44886         (SRC): Likewise.
44887         (LEN): Likewise.
44888         (memcpy): Likewise.  Do not use BP_SYM.
44889         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
44890         libc_hidden_def and weak_alias.
44891         (mempcpy): Do not use BP_SYM in weak_alias.
44892         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
44893         "bp-asm.h".
44894         (PARMS): Do not use macros from bp-asm.h.
44895         (DEST): Likewise.
44896         (LEN): Likewise.
44897         [!BZERO_P] (CHR): Likewise.
44898         (memset): Likewise.  Do not use BP_SYM.
44899         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
44900         "bp-asm.h".
44901         (PARMS): Do not use macros from bp-asm.h.
44902         (S1): Likewise.
44903         (SIZE): Likewise.
44904         (__mpn_mul_1): Do not use BP_SYM.
44905         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
44906         "bp-asm.h".
44907         (PARMS): Do not use macros from bp-asm.h.
44908         (S): Likewise.
44909         (SIZE): Likewise.
44910         (__mpn_rshift): Do not use BP_SYM.
44911         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
44912         "bp-asm.h".
44913         (PARMS): Do not use macros from bp-asm.h.
44914         (STR): Likewise.
44915         (CHR): Likewise.
44916         (strchr): Likewise.  Do not use BP_SYM.
44917         (index): Do not use BP_SYM in weak_alias.
44918         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
44919         "bp-asm.h".
44920         (PARMS): Do not use macros from bp-asm.h.
44921         (DEST): Likewise.
44922         (SRC): Likewise.
44923         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
44924         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
44925         "bp-asm.h".
44926         (PARMS): Do not use macros from bp-asm.h.
44927         (strlen): Do not use BP_SYM.
44928         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
44929         "bp-asm.h".
44930         (PARMS): Do not use macros from bp-asm.h.
44931         (S1): Likewise.
44932         (S2): Likewise.
44933         (SIZE): Likewise.
44934         (__mpn_sub_n): Do not use BP_SYM.
44935         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
44936         "bp-asm.h".
44937         (PARMS): Do not use macros from bp-asm.h.
44938         (S1): Likewise.
44939         (SIZE): Likewise.
44940         (__mpn_submul_1): Do not use BP_SYM.
44941         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44942         "bp-asm.h".
44943         (PARMS): Do not use macros from bp-asm.h.
44944         (S1): Likewise.
44945         (S2): Likewise.
44946         (SIZE): Likewise.
44947         (__mpn_add_n): Do not use BP_SYM.
44948         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44949         weak_alias.
44950         (bzero): Likewise.
44951         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44952         "bp-asm.h".
44953         (PARMS): Do not use macros from bp-asm.h.
44954         (BLK2): Likewise.
44955         (LEN): Likewise.
44956         (memcmp): Do not use BP_SYM.
44957         (bcmp): Do not use BP_SYM in weak_alias.
44958         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44959         "bp-asm.h".
44960         (PARMS): Do not use macros from bp-asm.h.
44961         (DEST): Likewise.
44962         (SRC): Likewise.
44963         (LEN): Likewise.
44964         (memcpy): Likewise.  Do not use BP_SYM.
44965         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44966         "bp-asm.h".
44967         (PARMS): Do not use macros from bp-asm.h.
44968         (DEST): Likewise.
44969         (SRC): Likewise.
44970         (LEN): Likewise.
44971         (memmove): Likewise.  Do not use BP_SYM.
44972         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44973         "bp-asm.h".
44974         (PARMS): Do not use macros from bp-asm.h.
44975         (DEST): Likewise.
44976         (SRC): Likewise.
44977         (LEN): Likewise.
44978         (__mempcpy): Likewise.  Do not use BP_SYM.
44979         (mempcpy): Do not use BP_SYM in weak_alias.
44980         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44981         "bp-asm.h".
44982         (PARMS): Do not use macros from bp-asm.h.
44983         (DEST): Likewise.
44984         (LEN): Likewise.
44985         [!BZERO_P] (CHR): Likewise.
44986         (memset): Likewise.  Do not use BP_SYM.
44987         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44988         "bp-asm.h".
44989         (PARMS): Do not use macros from bp-asm.h.
44990         (STR2): Likewise.
44991         (strcmp): Do not use BP_SYM.
44992         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44993         "bp-asm.h".
44994         (PARMS): Do not use macros from bp-asm.h.
44995         (STR): Likewise.
44996         (DELIM): Likewise.
44997         [USE_AS_STRTOK_R] (SAVE): Likewise.
44998         (FUNCTION): Likewise.  Do not use BP_SYM.
44999         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45000         aliases.
45001         (strtok_r): Likewise.
45002         (__GI___strtok_r): Likewise.
45003         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45004         (PARMS): Do not use macros from bp-asm.h.
45005         (S): Likewise.
45006         (SIZE): Likewise.
45007         (__mpn_lshift): Do not use BP_SYM.
45008         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45009         (PARMS): Do not use macros from bp-asm.h.
45010         (STR): Likewise.
45011         (CHR): Likewise.
45012         (__memchr): Do not use BP_SYM.
45013         (memchr): Do not use BP_SYM in weak_alias.
45014         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45015         (PARMS): Do not use macros from bp-asm.h.
45016         (BLK2): Likewise.
45017         (LEN): Likewise.
45018         (memcmp): Do not use BP_SYM.
45019         (bcmp): Do not use BP_SYM in weak_alias.
45020         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45021         (PARMS): Do not use macros from bp-asm.h.
45022         (S1): Likewise.
45023         (SIZE): Likewise.
45024         (__mpn_mul_1): Do not use BP_SYM.
45025         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45026         "bp-asm.h".
45027         (PARMS): Do not use macros from bp-asm.h.
45028         (STR): Likewise.
45029         (CHR): Likewise.
45030         (__rawmemchr): Do not use BP_SYM.
45031         (rawmemchr): Do not use BP_SYM in weak_alias.
45032         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45033         (PARMS): Do not use macros from bp-asm.h.
45034         (S): Likewise.
45035         (SIZE): Likewise.
45036         (__mpn_rshift): Do not use BP_SYM.
45037         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45038         (PARMS): Do not use macros from bp-asm.h.
45039         (SIGMSK): Likewise.
45040         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45041         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45042         (_start): Do not use BP_SYM.
45043         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45044         (PARMS): Do not use macros from bp-asm.h.
45045         (DEST): Likewise.
45046         (SRC): Likewise.
45047         (__stpcpy): Likewise.  Do not use BP_SYM.
45048         (stpcpy): Do not use BP_SYM in weak_alias.
45049         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45050         "bp-asm.h".
45051         (PARMS): Do not use macros from bp-asm.h.
45052         (DEST): Likewise.
45053         (SRC): Likewise.
45054         (LEN): Likewise.
45055         (__stpncpy): Likewise.  Do not use BP_SYM.
45056         (stpncpy): Do not use BP_SYM in weak_alias.
45057         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45058         (PARMS): Do not use macros from bp-asm.h.
45059         (STR): Likewise.
45060         (CHR): Likewise.
45061         (strchr): Likewise.  Do not use BP_SYM.
45062         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45063         "bp-asm.h".
45064         (PARMS): Do not use macros from bp-asm.h.
45065         (STR): Likewise.
45066         (CHR): Likewise.
45067         (__strchrnul): Likewise.  Do not use BP_SYM.
45068         (strchrnul): Do not use BP_SYM in weak_alias.
45069         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45070         "bp-asm.h".
45071         (PARMS): Do not use macros from bp-asm.h.
45072         (STOP): Likewise.
45073         (strcspn): Do not use BP_SYM.
45074         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45075         "bp-asm.h".
45076         (PARMS): Do not use macros from bp-asm.h.
45077         (STR): Likewise.
45078         (STOP): Likewise.
45079         (strpbrk): Likewise.  Do not use BP_SYM.
45080         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45081         "bp-asm.h".
45082         (PARMS): Do not use macros from bp-asm.h.
45083         (STR): Likewise.
45084         (CHR): Likewise.
45085         (strrchr): Likewise.  Do not use BP_SYM.
45086         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45087         (PARMS): Do not use macros from bp-asm.h.
45088         (SKIP): Likewise.
45089         (strspn): Do not use BP_SYM.
45090         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45091         (PARMS): Do not use macros from bp-asm.h.
45092         (STR): Likewise.
45093         (DELIM): Likewise.
45094         (SAVE): Likewise.
45095         (FUNCTION): Likewise.  Do not use BP_SYM.
45096         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45097         aliases.
45098         (strtok_r): Likewise.
45099         (__GI___strtok_r): Likewise.
45100         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45101         (PARMS): Do not use macros from bp-asm.h.
45102         (S1): Likewise.
45103         (S2): Likewise.
45104         (SIZE): Likewise.
45105         (__mpn_sub_n): Do not use BP_SYM.
45106         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45107         "bp-asm.h".
45108         (PARMS): Do not use macros from bp-asm.h.
45109         (S1): Likewise.
45110         (SIZE): Likewise.
45111         (__mpn_submul_1): Do not use BP_SYM.
45112         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45113         <bp-sym.h>.
45114         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45115         and <bp-asm.h>.
45116         (PARMS): Do not use macros from bp-asm.h.
45117         (FLAGS): Likewise.
45118         (PTID): Likewise.
45119         (TLS): Likewise.
45120         (CTID): Likewise.
45121         (__clone): Do not use BP_SYM.
45122         (clone): Do not use BP_SYM in weak_alias.
45123         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45124         and <bp-asm.h>.
45125         (PARMS): Do not use macros from bp-asm.h.
45126         (LEN): Likewise.
45127         (__mmap64): Do not use BP_SYM.
45128         (mmap64): Do not use BP_SYM in weak_alias.
45129         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45130         <bp-sym.h> and <bp-asm.h>.
45131         (PARMS): Do not use macros from bp-asm.h.
45132         (__posix_fadvise64_l64): Do not use BP_SYM.
45133         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45134         (PARMS): Do not use macros from bp-asm.h.
45135         (NSOPS): Likewise.
45136         (semtimedop): Do not use BP_SYM.
45137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45138         and <bp-asm.h>.
45140 2013-02-21  Allan McRae  <allan@archlinux.org>
45142         * manual/message.texi (Charset conversion in gettext):
45143         Move @end statement to beginning of line.
45145 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45148         static.
45149         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45150         Likewise.
45152         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45153         (denorm): Likewise.
45154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45157 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45159         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45160         tail-call to the resolved function if pltexit isn't needed.
45162 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45165         or Y being zero as being unlikely.
45166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45167         Likewise.
45169 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45171         * manual/nss.texi (System Databases and Name Service Switch):
45172         Remove frobnicate @pxref.
45174 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45176         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45177         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45179 2013-02-20  Petr Machata  <pmachata@redhat.com>
45181         * elf/elf.h (R_ARM_TARGET1): New macro.
45182         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45183         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45184         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45185         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45186         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45187         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45188         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45189         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45190         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45191         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45192         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45193         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45194         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45195         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45196         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45197         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45198         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45199         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45200         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45201         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45202         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45203         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45204         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45205         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45206         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45207         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45208         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45209         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45210         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45211         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45212         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45213         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45214         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45215         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45216         (R_ARM_THM_GOT_BREL12): Likewise.
45217         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45218         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45219         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45220         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45221         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45222         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45223         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45224         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45225         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45227 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45229         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45230         __attribute_used__ to __attribute__ ((unused)).
45232 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45234         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45235         powerpc mpa.c.
45236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45237         comment formatting.
45238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45240 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45242         [BZ #13550]
45243         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45244         Remove macro.
45245         (ENTER): Remove both macro definitions.
45246         (LEAVE): Likewise.
45247         (CHECK_BOUNDS_LOW): Likewise.
45248         (CHECK_BOUNDS_HIGH): Likewise.
45249         (CHECK_BOUNDS_BOTH): Likewise.
45250         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45251         (RETURN_BOUNDED_POINTER): Likewise.
45252         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45253         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45254         (POP_ERRNO_LOCATION_RETURN): Likewise.
45255         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45256         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45257         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45258         macros.
45259         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45260         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45261         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45262         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45263         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45264         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45265         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45266         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45267         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45268         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45269         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45270         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45271         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45272         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45273         removed macros.
45274         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45275         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45276         macros.
45277         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45278         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45279         * sysdeps/i386/i586/memset.S (memset): Likewise.
45280         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45281         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45282         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45283         macros.
45284         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45285         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45286         Change uses of L(2) to L(out).
45287         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45288         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45289         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45290         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45291         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45292         removed macros.
45293         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45294         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45295         macros.
45296         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45297         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45298         (RETURN): Do not use macro LEAVE.
45299         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45300         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45301         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45302         * sysdeps/i386/i686/memset.S (memset): Likewise.
45303         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45304         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45305         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45306         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45307         Likewise.
45308         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45309         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45310         L(1_2) and L(1_3) into L(1).
45311         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45312         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45313         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45314         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45315         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45316         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45317         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45318         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45319         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45320         macros.
45321         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45322         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45323         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45324         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45325         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45326         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45327         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45328         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45329         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45330         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45331         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45332         * sysdeps/i386/strspn.S (strspn): Likewise.
45333         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45334         conditional code.
45335         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45336         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45337         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45338         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45339         L(1_3) into L(1_1).
45340         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45341         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45342         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45343         macros.
45344         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45346 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45348         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45349         macro.
45351 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45353         * math/atest-exp.c (exp_mpn): Remove ROUND.
45354         * math/atest-exp2.c (exp_mpn): Likewise.
45355         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45357         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45358         * stdlib/tst-tls-atexit-lib.c: Likewise.
45359         * stdlib/tst-tls-atexit.c: Likewise.
45361 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45363         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45364         and __attribute_alloc_size__.
45366 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45368         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45369         __attribute_alloc_size__.
45370         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45371         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45373 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45375         * include/programs/xmalloc.h: New file.
45376         * catgets/gencat.c: Include it.
45377         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45378         * elf/pldd.c: Likewise.
45379         * iconv/iconv_charmap.c: Likewise.
45380         * iconv/iconvconfig.c: Likewise.
45381         * iconv/strtab.c: Likewise.
45382         * locale/programs/locale.c: Likewise.
45383         * locale/programs/localedef.h: Likewise.
45384         * locale/programs/simple-hash.c: Likewise.
45385         * nscd/nscd.h: Likewise.
45386         * nss/makedb.c: Likewise.
45387         * sysdeps/generic/ldconfig.h: Likewise.
45389 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45391         * Versions.def: Add GLIBC_2.18.
45392         * include/link.h (struct link_map): New member l_tls_dtor_count.
45393         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45394         (__call_tls_dtors): Likewise.
45395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45396         __cxa_thread_atexit_impl.
45397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45398         Likewise.
45399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45400         Likewise.
45401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45402         Likewise.
45403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45404         Likewise.
45405         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45407         Likewise.
45408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45409         Likewise.
45410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45412         Likewise.
45413         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45414         (tests): Add test case tst-tls-atexit.
45415         (modules-names): Add shared library for tst-tls-atexit.
45416         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45417         (GLIBC_PRIVATE): Add __call_tls_dtors.
45418         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45419         for libstdc++.
45420         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45421         * stdlib/tst-tls-atexit.c: New test case.
45422         * stdlib/tst-tls-atexit-lib.c: New test case.
45424         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45426         * elf/Versions (ld): Add _dl_find_dso_for_object.
45427         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45428         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45429         (dl_open_worker): Use _dl_find_dso_for_object.
45430         * elf/dl-sym.c (do_sym): Likewise.
45431         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45433 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45435         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45436         Syntactic changes only.
45437         (_dl_runtime_profile): Do a tail-call to the resolved function.
45439 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45441         [BZ #13550]
45442         * sysdeps/x86_64/bp-asm.h: Remove file.
45443         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45444         <bp-sym.h> and <bp-asm.h>.
45445         (__clone): Do not use BP_SYM.
45446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45447         <bp-sym.h> and <bp-asm.h>.
45448         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45449         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45450         "bp-asm.h".
45451         (_setjmp): Do not use BP_SYM.
45452         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45453         "bp-asm.h".
45454         (setjmp): Do not use BP_SYM.
45455         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45456         libc_hidden_def.
45457         (mempcpy): Do not use BP_SYM in weak_alias.
45458         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45459         "bp-asm.h".
45460         (strchr): Do not use BP_SYM.
45461         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45462         "bp-asm.h".
45463         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45464         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45465         (_start): Do not use BP_SYM.
45466         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45467         "bp-asm.h".
45468         (strcat): Do not use BP_SYM.
45469         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45470         "bp-asm.h".
45471         (STRCMP): Do not use BP_SYM.
45472         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45473         "bp-asm.h".
45474         (STRCPY): Do not use BP_SYM.
45475         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45476         "bp-asm.h".
45477         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45478         "bp-asm.h".
45479         (FUNCTION): Do not use BP_SYM.
45480         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45481         weak_alias.
45482         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45484 2013-02-17  Andreas Jaeger  <aj@suse.de>
45486         * time/Versions: Sort entries.
45487         * string/Versions: Likewise.
45488         * resolv/Versions: Likewise.
45489         * posix/Versions: Likewise.
45490         * iconv/Versions: Likewise.
45491         * elf/Versions: Likewise.
45492         * wcsmbs/Versions: Likewise.
45494 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45496         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45497         loop termination condition.
45499         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45500         variable to calculate EZ.
45501         (__sqr): Likewise.
45503         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
45504         the lower precision input.
45506 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
45508         [BZ #13550]
45509         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
45510         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
45511         (run-via-rtld-prefix): Do not handle %-bp tests.
45512         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
45513         (all-object-suffixes): Remove .ob.
45514         (bppfx): Remove variable.
45515         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
45516         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
45517         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
45518         [$(build-bounded) = yes] (libtype.ob): Likewise.
45519         * Makerules (elide-routines.ob): Remove variable.
45520         (do-tests-clean): Do not handle *-bp.out.
45521         (common-mostlyclean): Do not handle *-bp and *-bp.out.
45522         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
45523         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
45524         (tests): Do not include $(tests-bp.out).
45525         (xtests): Do not include $(xtests-bp.out).
45526         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
45527         [$(build-bounded) = yes] ($(addprefix
45528         $(objpfx),$(binaries-bounded))): Remove rule.
45529         ($(objpfx)%-bp.out): Remove rule.
45530         * config.make.in (build-bounded): Remove variable.
45531         * crypt/Makefile [$(build-bounded) = yes]
45532         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
45533         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
45534         append to variable.
45535         [$(build-bounded) = yes] (install-lib): Likewise.
45536         [$(build-bounded) = yes] (generated): Likewise.
45537         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
45538         Remove rule.
45539         * intl/Makefile [$(build-bounded) = yes]
45540         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
45541         * math/Makefile [$(build-bounded) = yes]
45542         ($(tests:%=$(objpfx)%-bp): Likewise.
45543         * misc/Makefile [$(build-bounded) = yes]
45544         ($(objpfx)tst-tsearch-bp): Likewise.
45545         * nptl/Makeconfig (bounded-thread-library): Remove variable.
45546         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
45547         Remove dependency.
45548         * string/Makefile (o-objects.ob): Remove variable.
45549         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
45550         (CFLAGS-.ob): Remove variable.
45551         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
45552         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
45553         both definitions of variable.
45554         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
45555         (ASFLAGS-.ob): Remove variable.
45557 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
45559         [BZ #13550]
45560         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
45561         Remove __BOUNDED_POINTERS__ from condition.
45562         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
45563         * string/bits/string2.h [!__NO_STRING_INLINES &&
45564         !__BOUNDED_POINTERS__]: Likewise.
45565         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
45566         Likewise.
45567         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
45568         Remove conditional code.
45569         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
45570         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
45571         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
45572         condition.
45574         [BZ #13550]
45575         * csu/libc-start.c: Do not include <bp-sym.h>.
45576         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
45577         * elf/dl-open.c: Do not include <bp-sym.h>.
45578         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
45579         * math/fegetenv.c: Do not include <bp-sym.h>.
45580         (fegetenv): Do not use BP_SYM in versioned symbols.
45581         * nptl/sysdeps/pthread/bits/libc-lockP.h
45582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
45583         <bp-sym.h>.
45584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45585         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
45586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45587         (__pthread_mutex_destroy): Likewise.
45588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45589         (__pthread_mutex_lock): Likewise.
45590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45591         (__pthread_mutex_trylock): Likewise.
45592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45593         (__pthread_mutex_unlock): Likewise.
45594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45595         (__pthread_mutexattr_init): Likewise.
45596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45597         (__pthread_mutexattr_destroy): Likewise.
45598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45599         (__pthread_mutexattr_settype): Likewise.
45600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45601         (__pthread_rwlock_init): Likewise.
45602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45603         (__pthread_rwlock_destroy): Likewise.
45604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45605         (__pthread_rwlock_rdlock): Likewise.
45606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45607         (__pthread_rwlock_tryrdlock): Likewise.
45608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45609         (__pthread_rwlock_wrlock): Likewise.
45610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45611         (__pthread_rwlock_trywrlock): Likewise.
45612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45613         (__pthread_rwlock_unlock): Likewise.
45614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45615         (__pthread_key_create): Likewise.
45616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45617         (__pthread_setspecific): Likewise.
45618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45619         (__pthread_getspecific): Likewise.
45620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
45621         Likewise.
45622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45623         (_pthread_cleanup_push_defer): Likewise.
45624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45625         (_pthread_cleanup_pop_restore): Likewise.
45626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
45627         (pthread_setcancelstate): Likewise.
45628         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
45629         <bp-sym.h>.
45630         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
45631         (memchr): Do not use BP_SYM in weak_alias.
45632         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
45633         (fegetenv): Do not use BP_SYM in versioned symbols.
45634         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
45635         (fesetenv): Do not use BP_SYM in versioned symbols.
45636         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45637         (feupdateenv): Do not use BP_SYM in versioned symbols.
45638         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45639         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45640         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
45641         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
45642         (open64): Do not use BP_SYM in weak_alias.
45643         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
45644         (fegetenv): Do not use BP_SYM in versioned symbols.
45645         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
45646         (fesetenv): Do not use BP_SYM in versioned symbols.
45647         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
45648         (feupdateenv): Do not use BP_SYM in versioned symbols.
45649         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
45650         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
45651         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
45652         (feraiseexcept): Do not use BP_SYM in versioned symbols.
45653         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
45654         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
45655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
45656         <bp-sym.h>.
45657         (__libc_start_main): Do not use BP_SYM.
45659 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
45662         redundant return line.
45663         (norm): Likewise.
45664         (denorm): Likewise.
45665         (dbl_mp): Likewise.
45666         (sub_magnitudes): Likewise.
45667         (__add): Likewise.
45668         (__sub): Likewise.
45669         (__mul): Likewise.
45670         (__inv): Likewise.
45671         (__dvd): Likewise.
45672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
45673         (norm): Likewise.
45674         (denorm): Likewise.
45675         (dbl_mp): Likewise.
45676         (sub_magnitudes): Likewise.
45677         (__add): Likewise.
45678         (__sub): Likewise.
45679         (__mul): Likewise.
45680         (__inv): Likewise.
45681         (__dvd): Likewise.
45683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
45684         instead of __mul.
45685         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45686         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
45687         (cc32): Likewise.
45689         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
45690         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
45691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
45692         of __mul for squares.
45693         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
45694         function
45695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
45696         Likewise.
45697         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
45698         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45700 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
45702         [BZ #13550]
45703         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
45704         code.
45705         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
45706         prototype or function definition.  Rename ubp_* variables and
45707         parameters.  Remove argv definitions conditional on
45708         [__BOUNDED_POINTERS__].
45709         * debug/backtrace.c (__backtrace): Do not use __unbounded.
45710         * elf/dl-runtime.c (_dl_fixup): Likewise.
45711         * include/set-hooks.h (RUN_HOOK): Likewise.
45712         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
45713         definition.
45714         * string/strcpy.c (strcpy): Do not use __unbounded.
45715         * sysdeps/generic/frame.h (struct layout): Likewise.
45716         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
45717         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
45718         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
45719         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
45720         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
45721         (__backtrace): Likewise.
45722         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
45723         use __ptrvalue.
45724         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
45725         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
45726         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
45727         Likewise.
45728         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
45729         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
45730         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
45731         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45732         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
45733         Do not use __unbounded.
45734         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
45735         Rename __unboundedrlimits parameter to rlimits in prototype.
45736         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
45737         Do not use __unbounded.
45738         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
45739         not use __ptrvalue.
45740         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45741         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
45742         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45743         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
45744         __ptrvalue or __unbounded.
45745         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
45746         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
45747         use __unbounded.
45748         (__new_msgctl): Do not use __ptrvalue.
45749         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
45750         __unbounded.
45751         (__libc_msgrcv): Do not use __ptrvalue.
45752         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
45753         startup_info): Do not use __unbounded.
45754         (__libc_start_main): Likewise.  Rename ubp_* variables and
45755         parameters.  Remove argv definitions conditional on
45756         [__BOUNDED_POINTERS__].
45757         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
45758         __ptrvalue.
45759         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
45760         use __unbounded.
45761         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
45762         or __ptrvalue.
45763         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
45764         use __unbounded.
45765         (__new_shmctl): Do not use __ptrvalue.
45766         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
45767         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
45768         Likewise.
45769         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
45770         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
45771         (__libc_sigaction): Likewise.
45772         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
45773         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
45774         Likewise.
45775         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45777 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
45779         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
45781         * string/mempcpy.c: Implement by calling memcpy.
45783 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45785         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
45787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
45788         evaluation.
45790         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
45791         values in the mantissa.
45793         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
45794         minimize writes to Z.
45795         (sub_magnitudes): Simplify code a bit.
45797 2013-02-12  Roland McGrath  <roland@hack.frob.com>
45799         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
45800         from the message.  The linker prefixes all warnings with that already.
45802 2013-02-12  Andreas Schwab  <schwab@suse.de>
45804         [BZ #15078]
45805         * posix/regexec.c (extend_buffers): Add parameter min_len.
45806         (check_matching): Pass minimum needed length.
45807         (clean_state_log_if_needed): Likewise.
45808         (get_subexp): Likewise.
45809         * posix/Makefile (tests): Add bug-regex34.
45810         (bug-regex34-ENV): Define.
45811         * posix/bug-regex34.c: New file.
45813         [BZ #11561]
45814         * posix/regcomp.c (parse_bracket_exp): When looking up collating
45815         elements compare against the byte sequence of it, not its name.
45816         * posix/Makefile (tests): Add bug-regex35.
45817         (bug-regex35-ENV): Define.
45818         * posix/bug-regex35.c: New file.
45820 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45822         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
45823         comment.
45824         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
45825         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
45826         (CHECK_EOL): Add undef.
45828 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
45830         * bits/stdlib-bsearch.h: New file.
45831         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
45832         * stdlib/stdlib.h: Likewise.
45834 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45836         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
45837         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
45838         declaration.
45839         * manual/search.texi (Array Search Function): Add missing const in
45840         lfind prototype.
45841         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
45842         declaration to use rlim_t.
45843         (Basic Scheduling Functions): Remove erroneous const from
45844         sched_getparam prototype.  Remove erroneous * from
45845         sched_get_priority_max and sched_get_priority_min prototypes.
45846         (Resource Usage): Fix summary @comment on vtimes to refer to
45847         sys/vtimes.h rather than vtimes.h.
45848         Add missing *s in vtimes prototype.
45849         (Limits on Resources): Fix ulimit prototype to return long int.
45850         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
45851         prototypes to use long int rather than double.
45852         (BSD Random): Fix initstate and setstate to use char *, not void *.
45853         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
45854         prototype to make second argument 'struct aiocb64 *const[]'.
45855         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
45856         (Status of AIO Operations): Remove erroneous const in aio_return and
45857         aio_return64 prototypes.
45858         (Synchronizing I/O): Fix sync prototype to return void.
45859         * manual/startup.texi (Suboptions): Remove an erroneous const in
45860         getsubopt prototype.
45861         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
45862         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
45863         use size_t rather than int.
45864         (Scanning All Users): Likewise for getpwent_r.
45865         (Setting Groups): Add missing const to setgroups prototype.
45866         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
45867         * manual/socket.texi (Host Names): Fix gethostbyaddr and
45868         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
45869         'const void *' rather than 'const char *'.
45870         (Host Address Functions): Likewise for inet_ntop.
45871         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
45872         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
45873         ssize_t for return value.
45874         (Sending Data): Likewise for send, sendto, sendmsg.
45875         (Socket Option Functions): Add a missing const in setsockopt prototype.
45876         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
45877         use wchar_t for the argument.
45878         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
45879         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
45880         take no arguments.
45881         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
45882         double/float/long double for second argument.
45883         Fix return types of significand, significandf, significandl.
45884         * manual/filesys.texi (Setting Permissions): Use mode_t for second
45885         argument in fchmod prototype.
45886         (File Owner): Use uid_t and gid_t in fchown prototype.
45887         (File Times): Add const to utimes, futimes, and lutimes prototypes.
45888         (Making Special Files): Use mode_t and dev_t in mknod prototype.
45889         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
45890         use 'const struct dirent **' as argument types to CMP function pointer
45891         argument.
45892         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
45893         (File Times): Fix summary magic @comment for struct utimbuf and utime
45894         to refer to utime.h, not time.h.
45895         * manual/string.texi (Argz Functions): Add missing const in
45896         argz_extract and argz_next prototypes.
45897         (Finding Tokens in a String): Likewise for basename.
45898         (String/Array Comparison): Fix typo in wcscasecmp prototype.
45899         (Copying and Concatenation): Fix typo in wmemmove prototype.
45900         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
45901         (Signal Stack): Remove erroneous const in sigstack prototype.
45902         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
45903         prototype.
45904         (Simple Calendar Time): Likewise for stime.
45905         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
45906         prototype.
45907         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
45908         say sys/sysctl.h instead.
45909         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
45910         and vsyslog prototypes.
45912 2013-02-11  Tom de Vries  <tom@codesourcery.com>
45914         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
45915         Remove.
45917 2013-02-11  Roland McGrath  <roland@hack.frob.com>
45919         * misc/sys/mman.h: Fix typo in mremap comment.
45921 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45923         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
45924         the '\0' terminator.
45926 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45928         [BZ #13550]
45929         * debug/segfault.c: Don't include <bp-checks.h>.
45930         * sysdeps/generic/bp-checks.h: Remove file.
45931         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
45932         (__GETDENTS): Don't use CHECK_N.
45933         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
45934         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45935         (__getgroups): Don't use CHECK_N.
45936         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45937         (setgroups): Don't use CHECK_N.
45938         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45939         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45940         (__libc_msgrcv): Don't use CHECK_N.
45941         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45942         (__libc_msgsnd): Don't use CHECK_N.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45944         <bp-checks.h>.
45945         (__libc_pread): Don't use CHECK_N.
45946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45947         include <bp-checks.h>.
45948         (__libc_pread64): Don't use CHECK_N.
45949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45950         include <bp-checks.h>.
45951         (__libc_pwrite): Don't use CHECK_N.
45952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45953         include <bp-checks.h>.
45954         (__libc_pwrite64): Don't use CHECK_N.
45955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45956         <bp-checks.h>.
45957         (__libc_pread): Don't use CHECK_N.
45958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45959         include <bp-checks.h>.
45960         (__libc_pread64): Don't use CHECK_N.
45961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45962         include <bp-checks.h>.
45963         (__libc_pwrite): Don't use CHECK_N.
45964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45965         include <bp-checks.h>.
45966         (__libc_pwrite64): Don't use CHECK_N.
45967         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45968         (do_pread): Don't use CHECK_N.
45969         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45970         (do_pread64): Don't use CHECK_N.
45971         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45972         (do_pwrite): Don't use CHECK_N.
45973         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45974         (do_pwrite64): Don't use CHECK_N.
45975         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45976         (__libc_readv): Don't use CHECK_N.
45977         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45978         (semop): Don't use CHECK_N.
45979         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45980         <bp-checks.h>.
45981         (semtimedop): Don't use CHECK_N.
45982         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45983         (__libc_pread): Don't use CHECK_N.
45984         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45985         <bp-checks.h>.
45986         (__libc_pread64): Don't use CHECK_N.
45987         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45988         <bp-checks.h>.
45989         (__libc_pwrite): Don't use CHECK_N.
45990         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45991         <bp-checks.h>.
45992         (__libc_pwrite64): Don't use CHECK_N.
45993         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45994         <bp-checks.h>.
45995         (__libc_msgrcv): Don't use CHECK_N.
45996         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45997         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45998         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45999         (__libc_writev): Don't use CHECK_N.
46001 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46003         * string/strcpy.c: Removed unused variable.
46005         * Makeconfig (+sysdep-includes): Define with := rather than =.
46006         Use an existing include/ subdir of each sysdeps dir before it.
46008 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46010         * nscd/connection.c (register_traced_file): Comment function.
46011         [HAVE_INOTIFY] (union __inev): Define.
46012         [HAVE_INOTIFY] (inotify_check_files): New function.
46013         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46014         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46015         clear_db_cache.
46016         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46018 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46020         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46021         loaded if not already and that a failure is permanent.
46023 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46025         [BZ #15006]
46026         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46027         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46029 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46031         [BZ #13550]
46032         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46033         (CHECK_1_NULL_OK): Likewise.
46034         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46035         (__fxstat): Do not use CHECK_1.
46036         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46037         <bp-checks.h>.
46038         (___fxstat64): Do not use CHECK_1.
46039         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46040         <bp-checks.h>.
46041         (__fxstatat): Do not use CHECK_1.
46042         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46043         <bp-checks.h>.
46044         (__fxstatat64): Do not use CHECK_1.
46045         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46046         <bp-checks.h>.
46047         (__fxstat): Do not use CHECK_1.
46048         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46049         <bp-checks.h>.
46050         (__fxstatat): Do not use CHECK_1.
46051         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46052         <bp-checks.h>.
46053         (__getresgid): Do not use CHECK_1.
46054         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46055         <bp-checks.h>.
46056         (__getresuid): Do not use CHECK_1.
46057         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46058         <bp-checks.h>.
46059         (__lxstat): Do not use CHECK_1.
46060         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46061         <bp-checks.h>.
46062         (__old_msgctl): Do not use CHECK_1.
46063         (__new_msgctl): Likewise.
46064         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46065         <bp-checks.h>.
46066         (__new_setrlimit): Do not use CHECK_1.
46067         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46068         <bp-checks.h>.
46069         (__old_shmctl): Do not use CHECK_1.
46070         (__new_shmctl): Likewise.
46071         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46072         <bp-checks.h>.
46073         (__xstat): Do not use CHECK_1.
46074         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46075         (__lxstat): Do not use CHECK_1.
46076         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46077         <bp-checks.h>.
46078         (___lxstat64): Do not use CHECK_1.
46079         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46080         (__old_msgctl): Do not use CHECK_1.
46081         (__new_msgctl): Likewise.
46082         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46083         <bp-checks.h>.
46084         (__gettimeofday): Do not use CHECK_1.
46085         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46086         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46087         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46088         <bp-checks.h>.
46089         (__gettimeofday): Do not use CHECK_1.
46090         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46091         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46092         (__new_shmctl): Do not use CHECK_1.
46093         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46094         <bp-checks.h>.
46095         (do_sigtimedwait): Do not use CHECK_1.
46096         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46097         <bp-checks.h>.
46098         (do_sigwaitinfo): Do not use CHECK_1.
46099         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46100         <bp-checks.h>.
46101         (msgctl): Do not use CHECK_1.
46102         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46103         <bp-checks.h>.
46104         (shmctl): Do not use CHECK_1.
46105         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46106         (ustat): Do not use CHECK_1.
46107         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46108         <bp-checks.h>.
46109         (__fxstat): Do not use CHECK_1.
46110         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46111         <bp-checks.h>.
46112         (__fxstatat): Do not use CHECK_1.
46113         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46114         <bp-checks.h>.
46115         (__lxstat): Do not use CHECK_1.
46116         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46117         <bp-checks.h>.
46118         (__xstat): Do not use CHECK_1.
46119         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46120         (__xstat): Do not use CHECK_1.
46121         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46122         (___xstat64): Do not use CHECK_1.
46124         [BZ #13550]
46125         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46126         definitions.
46127         (CHECK_BOUNDS_HIGH): Likewise.
46128         * string/strcpy.c: Do not include <bp-checks.h>.
46129         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46131 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46133         * nscd/nscd-client.h (__nscd_drop_map_ref):
46134         Add __attribute__ ((unused)).
46135         * nis/nss-nisplus.h (niserr2nss): Likewise.
46137         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46138         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46140         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46141         Remove inline keyword.
46142         * include/rounding-mode.h (round_away): Likewise.
46143         * libio/wfileops.c (adjust_wide_data): Likewise.
46144         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46145         (__m128i_strloadu_tolower): Likewise.
46146         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46147         (__m128i_strloadu_tolower): Likewise.
46148         * time/mktime.c (ydhms_diff): Likewise.
46149         * locale/elem-hash.h (elem_hash): Likewise.
46150         * locale/setlocale.c (setdata): Likewise.
46151         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46152         (re_string_wchar_at): Likewise.
46153         (bitset_not, bitset_merge, bitset_mask): Likewise.
46154         [!(__GNUC__ > 3)] (inline): Remove macro.
46155         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46156         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46157         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46158         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46159         * string/memcmp.c (memcmp_bytes): Likewise.
46160         * locale/programs/locarchive.c (compute_hashval): Likewise.
46161         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46162         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46163         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46164         * nss/getent.c (print_rpc, print_protocols): Likewise.
46165         (print_passwd, print_group, print_aliases): Likewise.
46166         * nis/nss-nisplus.h (niserr2nss): Likewise.
46167         * nscd/connections.c (restart_p): Likewise.
46168         Change return type to bool.
46170 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46172         * Makeconfig (all-Depend-files): Add existing
46173         $(sorted-subdirs:=/Depend) files.
46174         (all-subdirs): Remove nss.
46175         * sysdeps/unix/inet/Subdirs: Add it here instead.
46176         * hesiod/Depend: New file.
46178         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46179         instead of calling alloca.
46181         * io/lseek.c (__lseek): Rename to __libc_lseek.
46182         Define __lseek as an alias.
46184         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46186 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46188         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46189         else clause and remove check for non-standard endianness.
46191 2013-02-04  David S. Miller  <davem@davemloft.net>
46193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46195 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46197         [BZ #13550]
46198         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46199         (__ubp_memchr): Remove prototype.
46200         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46201         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46202         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46203         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46204         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46205         Remove alias.
46206         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46207         (__ubp_memchr): Likewise.
46208         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46209         (__ubp_memchr): Likewise.
46210         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46211         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46212         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46213         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46214         CHECK_STRING.
46215         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46216         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46217         (__getcwd): Do not use CHECK_STRING.
46218         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46219         <bp-checks.h>.
46220         (__real_chown): Do not use CHECK_STRING.
46221         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46222         <bp-checks.h>.
46223         (fchownat): Do not use CHECK_STRING.
46224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46225         CHECK_STRING.
46226         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46227         <bp-checks.h>.
46228         (__lchown): Do not use CHECK_STRING.
46229         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46230         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46231         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46232         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46234         include <bp-checks.h>.
46235         (truncate64): Do not use CHECK_STRING.
46236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46237         <bp-checks.h>.
46238         (__real_chown): Do not use CHECK_STRING.
46239         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46240         <bp-checks.h>.
46241         (__lchown): Do not use CHECK_STRING.
46242         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46243         <bp-checks.h>.
46244         (__chown): Do not use CHECK_STRING.
46245         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46246         <bp-checks.h>.
46247         (truncate64): Do not use CHECK_STRING.
46248         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46249         Likewise.
46250         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46251         (__xmknod): Do not use CHECK_STRING.
46252         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46253         <bp-checks.h>.
46254         (__xmknodat): Do not use CHECK_STRING.
46255         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46256         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46258 2013-02-04  Andreas Schwab  <schwab@suse.de>
46260         [BZ #14142]
46261         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46262         * include/netdb.h: Likewise for h_errno.
46263         * elf/tst-stackguard1.c: Include <tls.h>.
46265 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46267         * elf/link.h (struct link_map): Extend the l_addr comment.
46268         * include/link.h (struct link_map): Likewise.
46270 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46272         [BZ #13550]
46273         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46274         (BOUNDED_1): Remove macro.
46275         * debug/backtrace.c: Don't include <bp-checks.h>.
46276         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46277         (__backtrace): Likewise.
46278         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46279         <bp-checks.h>.
46280         (__backtrace): Don't use BOUNDED_1.
46281         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46282         <bp-checks.h>.
46283         (__backtrace): Don't use BOUNDED_1.
46284         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46285         (__backtrace): Don't use BOUNDED_1.
46286         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46287         (shmat): Don't use BOUNDED_N.
46289 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46291         [BZ #13550]
46292         * sysdeps/generic/bp-start.h: Remove file.
46293         * csu/libc-start.c: Don't include <bp-start.h>.
46294         (LIBC_START_MAIN): Set up __environ directly instead of using
46295         INIT_ARGV_and_ENVIRON.
46296         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46297         <bp-start.h>.
46299         [BZ #13550]
46300         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46301         definitions.
46302         (CHECK_FCNTL): Likewise.
46303         (CHECK_N_PAGES): Likewise.
46305         [BZ #13550]
46306         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46307         definitions.
46308         (CHECK_SIGSET_NULL_OK): Likewise.
46309         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46310         <bp-checks.h>.
46311         (sigpending): Don't use CHECK_SIGSET.
46312         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46313         <bp-checks.h>.
46314         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46315         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46316         <bp-checks.h>.
46317         (do_sigsuspend): Don't use CHECK_SIGSET.
46318         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46319         use CHECK_SIGSET.
46320         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46321         (do_sigwait): Don't use CHECK_SIGSET.
46322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46323         use CHECK_SIGSET.
46324         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46325         include <bp-checks.h>.
46326         (sigpending): Don't use CHECK_SIGSET.
46327         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46328         include <bp-checks.h>.
46329         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46330         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46331         <bp-checks.h>.
46332         (sigpending): Don't use CHECK_SIGSET.
46333         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46334         <bp-checks.h>.
46335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46337         [BZ #13550]
46338         * sysdeps/generic/bp-semctl.h: Remove file.
46339         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46340         <bp-checks.h> and <bp-semctl.h>.
46341         (__old_semctl): Don't use CHECK_SEMCTL.
46342         (__new_semctl): Likewise.
46343         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46344         and <bp-semctl.h>.
46345         (__old_semctl): Don't use CHECK_SEMCTL.
46346         (__new_semctl): Likewise.
46347         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46348         <bp-checks.h> and <bp-semctl.h>.
46349         (__old_semctl): Don't use CHECK_SEMCTL.
46350         (__new_semctl): Likewise.
46351         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46352         <bp-checks.h> and <bp-semctl.h>.
46353         (semctl): Don't use CHECK_SEMCTL.
46355         [BZ #13550]
46356         * Makerules (elide-bp-thunks): Remove variable.
46357         (elide-routines.oS): Don't use $(elide-bp-thunks).
46358         (elide-routines.os): Likewise.
46359         (elide-routines.o): Likewise.
46360         (elide-routines.op): Likewise.
46361         (elide-routines.og): Likewise.
46362         (objects): Don't use $(bp-thunks).
46363         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46364         include.
46365         (common-generated): Do not add s-proto-bp.d.
46366         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46367         (int): Likewise.
46368         (typ): Likewise.
46369         Do not generate makefile rules for bounded-pointer thunks.
46370         * sysdeps/generic/bp-thunks.h: Remove file.
46371         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46372         * sysdeps/unix/s-proto-bp.S: Likewise.
46374         [BZ #15062]
46375         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46376         parts of result separately when argument is not close to line from
46377         -i to i and one part of argument is small.
46378         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46379         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46380         * math/libm-test.inc (cacos_test): Add more tests.
46381         (casin_test): Likewise.
46382         (casinh_test): Likewise.
46383         * sysdeps/i386/fpu/libm-test-ulps: Update.
46384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46386 2013-01-31  David S. Miller  <davem@davemloft.net>
46388         * po/de.po: Update from translation team.
46390 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46392         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46394 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46396         * configure.in (_AC_PROG_CC_C89): New definition.
46397         * configure: Regenerate.
46399         * configure.in (AC_PROG_CPP): New definition.
46400         * configure: Regenerate.
46402 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46404         * debug/tst-backtrace.h: New file.
46405         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46406         (ret): Remove variable.
46407         (x): Likewise.
46408         (FAIL): Remove macro.
46409         (NO_INLINE): Likewise.
46410         (fn1): Use match function instead of strstr.
46411         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46412         (ret): Remove variable.
46413         (x): Likewise.
46414         (FAIL): Remove macro.
46415         (NO_INLINE): Likewise.
46416         (fn): Use match function instead of strstr.
46417         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46418         (ret): Remove variable.
46419         (x): Likewise.
46420         (FAIL): Remove macro.
46421         (NO_INLINE): Likewise.
46422         (handle_signal): Use match function instead of strstr.
46423         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46424         (ret): Remove variable.
46425         (x): Likewise.
46426         (FAIL): Remove macro.
46427         (NO_INLINE): Likewise.
46428         (handle_signal): Use match function instead of strstr.
46430 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46432         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46434 2013-01-23  David S. Miller  <davem@davemloft.net>
46436         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46437         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46438         argument of CAS if possible.
46439         * sysdeps/sparc/sparc64/bits/atomic.h
46440         (__arch_compare_and_exchange_val_32_acq): Likewise.
46441         (__arch_compare_and_exchange_val_64_acq): Likewise.
46443 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46445         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46446         * sysdeps/posix/ulimit.c: ... this.
46447         Include <limits.h>.
46448         * sysdeps/unix/bsd/ulimit.c: Remove file.
46450 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46452         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46453         (LDFLAGS-tst-array5): Likewise.
46455 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46457         [BZ #15036]
46458         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46459         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46460         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46461         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46463 2013-01-21  David S. Miller  <davem@davemloft.net>
46465         * sysdeps/sparc/backtrace.c: New file.
46466         * sysdeps/sparc/sparc32/backtrace.h: New file.
46467         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46468         * sysdeps/sparc/sparc64/backtrace.h: New file.
46469         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46470         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46471         -funwind-tables.
46473 2013-01-21  Andreas Schwab  <schwab@suse.de>
46475         [BZ #15020]
46476         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46477         closed its stdout.
46479 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46482         "mpa2.h".
46483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46485 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46486             Mark Mitchell  <mark@codesourcery.com>
46487             Tom de Vries  <tom@codesourcery.com>
46488             Paul Pluzhnikov  <ppluzhnikov@google.com>
46490         * debug/tst-backtrace2.c: New file.
46491         * debug/tst-backtrace3.c: Likewise.
46492         * debug/tst-backtrace4.c: Likewise.
46493         * debug/tst-backtrace5.c: Likewise.
46494         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46495         (CFLAGS-tst-backtrace3.c): Likewise.
46496         (CFLAGS-tst-backtrace4.c): Likewise.
46497         (CFLAGS-tst-backtrace5.c): Likewise.
46498         (LDFLAGS-tst-backtrace2): Likewise.
46499         (LDFLAGS-tst-backtrace3): Likewise.
46500         (LDFLAGS-tst-backtrace4): Likewise.
46501         (LDFLAGS-tst-backtrace5): Likewise.
46502         (tests): Add new tests tst-backtrace2, tst-backtrace3,
46503         tst-backtrace4 and tst-backtrace5.
46505 2013-01-18  Anton Blanchard  <anton@samba.org>
46506             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
46509         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
46510         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
46511         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46513         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
46514         "+r" and remove output regs list as redundant.  Add explicit inline
46515         asm to specify register of return val to work around compiler codegen
46516         bug.  Remove (int) cast on return value.  Add return type parameter to
46517         use in macro so that this macro does not truncate return value for
46518         64-bit values.
46519         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
46520         pass to INTERNAL_VSYSCALL_NCS.
46521         (INLINE_VSYSCALL): Add 'long int' as return type to
46522         INTERNAL_VSYSCALL_NCS macro invocation.
46523         (INTERNAL_VSYSCALL): Add 'long int' as return type to
46524         INTERNAL_VSYSCALL_NCS macro invocation.
46525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46527 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46529         [BZ #14496]
46530         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
46531         Fix application of SIMD FP exception mask.
46533         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
46534         mp_no from a power of two.
46535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
46536         __mpexp_twomm1.  Use __pow_mp.
46538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
46539         multiplication.
46541 2013-01-17  David S. Miller  <davem@davemloft.net>
46543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46545 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46547         [BZ #15023]
46548         * include/complex.h: Condition contents on [!_COMPLEX_H].
46549         (__kernel_casinhf): New prototype.
46550         (__kernel_casinh): Likewise.
46551         (__kernel_casinhl): Likewise.
46552         * math/Makefile (libm_calls): Add k_casinh.
46553         * math/k_casinh.c: New file.
46554         * math/k_casinhf.c: Likewise.
46555         * math/k_casinhl.c: Likewise.
46556         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
46557         finite nonzero arguments.
46558         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
46559         finite nonzero arguments.
46560         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
46561         finite nonzero arguments.
46562         * math/s_casinh.c: Do not include <float.h>.
46563         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
46564         * math/s_casinhf.c: Do not include <float.h>.
46565         (__casinhf): Move code for finite nonzero arguments to
46566         k_casinhf.c.
46567         * math/s_casinhl.c: Do not include <float.h>.
46568         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
46569         redefine.
46570         (__casinhl): Move code for finite nonzero arguments to
46571         k_casinhl.c.
46572         * math/libm-test.inc (cacos_test): Add more tests.
46573         * sysdeps/i386/fpu/libm-test-ulps: Update.
46574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46576 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
46578         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
46579         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
46580         [!HAVE_MREMAP]: Remove [defined linux] case.
46581         * malloc/arena.c: Do not include <malloc-sysdep.h>.
46583 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46585         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
46587 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
46589         * elf/elf.h (R_386_SIZE32): New relocation.
46590         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
46591         R_386_SIZE32.
46592         (elf_machine_rela): Likewise.
46593         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46594         R_X86_64_SIZE64 and R_X86_64_SIZE32.
46596 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
46598         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
46599         (FP_FAST_FMA): Do not define.
46600         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
46601         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
46602         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
46603         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
46604         !_SOFT_FLOAT]: Likewise.
46605         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
46606         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
46607         value.
46608         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
46609         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
46610         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
46611         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
46612         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
46613         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
46614         file.
46616 2013-01-16  Andreas Schwab  <schwab@suse.de>
46618         [BZ #14327]
46619         * include/stdlib.h (__mktemp): Add declaration.
46620         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
46621         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
46623 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46625         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
46626         definitions.
46627         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46628         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
46629         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
46630         definitions here.
46631         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
46632         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
46633         definitions.
46634         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
46635         and ONE.
46636         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
46637         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
46638         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
46639         definitions.
46640         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
46641         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
46642         definitions.
46643         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46645         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
46647 2013-01-15  David S. Miller  <davem@davemloft.net>
46649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46650         trunc{,f} to libm-sysdep_routes.
46651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
46653         file.
46654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
46655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
46656         file.
46657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
46658         file.
46659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
46660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
46661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
46662         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
46663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
46664         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
46665         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
46666         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
46668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46669         nearbyint{,f} to libm-sysdep_routes.
46670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
46672         New file.
46673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
46674         file.
46675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
46676         New file.
46677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
46678         file.
46679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
46680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
46681         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
46682         file.
46683         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
46684         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
46685         file.
46686         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
46687         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
46688         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
46690         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46691         libc_feholdexcept and libc_fesetenv.
46693 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
46695         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
46697 2013-01-14  David S. Miller  <davem@davemloft.net>
46699         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
46700         (SPARC_ASM_VIS2_IFUNC): Likewise.
46701         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
46702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
46703         use of 'siam' instruction.
46704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
46705         Likewise.
46706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
46707         Likewise.
46708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
46709         Likewise.
46710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
46711         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
46712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
46713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
46715         file.
46716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
46717         file.
46718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
46719         file.
46720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
46721         file.
46722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
46723         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
46724         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
46725         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
46726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
46727         new VIS2 routines.
46728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46731         Likewise.
46732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
46737         routines to libm-sysdep_routines.
46738         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
46740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
46741         fdim/fdimf to libm-sysdep_routines.
46742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
46743         file.
46744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
46745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
46746         file.
46747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
46748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
46749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
46750         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
46751         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
46752         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
46753         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
46755 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
46758         to optimize copies.
46760         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
46761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46762         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
46765         local variable MPTWO.
46766         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46767         Likewise.
46769 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46771         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
46772         GLOB_NOESCAPE.
46774 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46776         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
46778 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
46780         * manual/pattern.texi (glob_t): Document gl_flags.
46781         (glob64_t): Likewise.
46783 2013-01-11  David S. Miller  <davem@davemloft.net>
46785         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
46786         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
46787         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
46788         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
46789         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
46790         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
46791         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
46792         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
46793         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
46794         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
46795         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
46796         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
46797         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
46799         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46800         sparc V9 rather than using V8 code.
46801         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46802         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46804         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46805         Move to...
46806         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
46807         Here.
46809 2013-01-11  Roland McGrath  <roland@hack.frob.com>
46811         [BZ #14941]
46812         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
46813         not in the main loop.
46814         * configure: Regenerated.
46816 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
46818         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
46819         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
46820         to just #else.
46821         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
46822         [!__GLIBC_HAVE_LONG_LONG] case.
46823         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
46824         condition to just #else.
46825         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
46826         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
46827         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
46828         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
46829         unconditional.
46830         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
46831         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46832         #elif condition to just #else.
46833         * sysdeps/unix/sysv/linux/sys/sysmacros.h
46834         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
46835         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
46836         #elif condition to just #else.
46838 2013-01-11  Steve Ellcey  <sellcey@mips.com>
46840         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
46841         (EF_MIPS_ARCH_64): Fix value.
46842         (EF_MIPS_ARCH_32R2): New.
46843         (EF_MIPS_ARCH_64R2): New.
46845 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
46847         * Makeconfig (+link-pie-before-libc): New.
46848         (+link-pie-after-libc): Likewise.
46849         (+link-pie-tests): Likewise.
46850         (+link-pie): Rewritten.
46851         (link-before-libc): Remove $(config-LDFLAGS).
46852         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
46853         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
46854         (config-LDFLAGS): Renamed to ...
46855         (rtld-LDFLAGS): This.
46856         (rtld-tests-LDFLAGS): New macro.
46857         (link-libc-rpath-link): Likewise.
46858         (link-libc-tests-rpath-link): Likewise.
46859         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
46860         (link-libc): Prepand $(link-libc-rpath-link).
46861         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
46862         (test-program-prefix): New macro.
46863         (test-via-rtld-prefix): Likewise.
46864         (test-program-cmd): Likewise.
46865         (host-test-program-cmd): Likewise.
46866         * Makefile ($(common-objpfx)testrun.sh): Replace
46867         $(run-program-prefix) with $(test-program-prefix).
46868         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
46869         $(rtld-LDFLAGS).
46870         ($(common-objpfx)shlib.lds): Likewise.
46871         (build-module-helper): Likewise.
46872         ($(common-objpfx)format.lds): Likewise.
46873         * Rules (binaries-pie-tests): New.
46874         (binaries-pie-notests): Likewise.
46875         (binaries-pie): Rewritten.
46876         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
46877         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
46878         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
46879         (make-test-out): Replace $(host-built-program-cmd) with
46880         $(host-test-program-cmd).
46881         * config.make.in (build-hardcoded-path-in-tests): New variable.
46882         * configure.in (--enable-hardcoded-path-in-tests): New configure
46883         option.
46884         (hardcoded_path_in_tests): New AC_SUBST.
46885         * configure: Regenerated.
46886         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
46887         $(built-program-cmd) with $(test-program-cmd).
46888         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
46889         (test_program_cmd): This.
46890         * elf/Makefile ($(objpfx)order.out): Run test with
46891         $(test-program-prefix).
46892         ($(objpfx)order2.out): Likewise.
46893         ($(objpfx)tst-initorder.out): Likewise.
46894         ($(objpfx)tst-initorder2.out): Likewise.
46895         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
46896         $(test-program-cmd).
46897         ($(objpfx)tst-array1-static.out): Likewise.
46898         ($(objpfx)tst-array2.out): Likewise.
46899         ($(objpfx)tst-array3.out): Likewise.
46900         ($(objpfx)tst-array4.out): Likewise.
46901         ($(objpfx)tst-array5.out): Likewise.
46902         ($(objpfx)tst-array5-static.out): Likewise.
46903         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
46904         $(test-program-cmd).
46905         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
46906         $(run-program-prefix) with $(test-program-prefix).
46907         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
46908         (test_program_prefix): This.
46909         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
46910         $(run-program-prefix) with $(test-program-prefix).
46911         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
46912         (test_program_prefix): This.
46913         * iconvdata/tst-tables.sh: Likewise.
46914         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
46915         $(run-program-prefix) with $(test-program-prefix).
46916         ($(objpfx)tst-translit.out): Likewise.
46917         ($(objpfx)tst-gettext2.out): Likewise.
46918         ($(objpfx)tst-gettext4.out): Likewise.
46919         ($(objpfx)tst-gettext6.out): Likewise.
46920         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
46921         (test_program_prefix): This.
46922         * intl/tst-gettext2.sh: Likewise.
46923         * intl/tst-gettext4.sh  Likewise.
46924         * intl/tst-gettext6.sh: Likewise.
46925         * intl/tst-translit.sh: Likewise.
46926         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
46927         with $(test-program-cmd).
46928         * libio/Makefile ($(objpfx)test-freopen.out): Replace
46929         $(run-program-prefix) with $(test-program-prefix).
46930         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
46931         (test_program_prefix): This.
46932         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
46933         $(run-program-prefix) with $(test-program-prefix).
46934         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
46935         (test_program_prefix): This.
46936         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46937         * posix/Makefile ($(objpfx)globtest.out): Replace
46938         $(run-via-rtld-prefix) and $(test-wrapper) with
46939         $(test-program-prefix) and $(test-via-rtld-prefix).
46940         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46941         $(test-program-prefix).
46942         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46943         $(host-test-program-cmd).
46944         (tst-spawn-ARGS): Likewise.
46945         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46946         $(test-program-prefix).
46947         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46948         (test_via_rtld_prefix): This.
46949         (test_wrapper): Renamed to ...
46950         (test_program_prefix): This.
46951         (run_program_prefix): Replaced by test_program_prefix.
46952         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46953         (test_program_prefix): This.
46954         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46955         with $(host-test-program-cmd).
46956         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46957         $(run-program-prefix) with $(test-program-prefix).
46958         ($(objpfx)tst-printf.out): Likewise.
46959         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46960         $(test-program-cmd).
46961         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46962         (test_program_prefix): This.
46963         * stdio-common/tst-unbputc.sh: Likewise.
46964         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46965         $(run-program-prefix) with $(test-program-prefix).
46966         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46967         (test_program_prefix): This.
46968         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46969         $(built-program-cmd) with $(test-program-cmd).
46971 2013-01-11  Andreas Jaeger  <aj@suse.de>
46973         [BZ #15003]
46974         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46975         value. Sync with Linux 3.7.
46977 2013-01-10  David S. Miller  <davem@davemloft.net>
46979         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46980         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46981         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46983 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46985         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46986         never set.
46987         * configure: Regenerated.
46989 2013-01-10  David S. Miller  <davem@davemloft.net>
46991         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46992         sparc V9 rather than using V8 code.
46993         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46994         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46996 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46998         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46999         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47000         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47001         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47002         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47003         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47004         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47005         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47006         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47007         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47008         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47009         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47010         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47011         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47012         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47013         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47014         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47015         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47016         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47017         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47018         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47019         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47020         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47021         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47022         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47023         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47024         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47026 2013-01-10  David S. Miller  <davem@davemloft.net>
47028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47030 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47032         * posix/Makefile (tests-static): New variable.
47033         (tests): Add $(tests-static).
47034         (tst-exec-static-ARGS): New variable.
47035         (tst-spawn-static-ARGS): Likewise.
47036         * posix/tst-exec-static.c: New file.
47037         * posix/tst-spawn-static.c: Likewise.
47038         * posix/tst-exec.c: Support run directly.
47039         * posix/tst-spawn.c: Likewise.
47041 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47043         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47044         long.
47045         * math/bits/mathcalls.h (llrint): Likewise.
47046         (llround): Likewise.
47047         * stdlib/stdlib.h (struct drand48_data): Likewise.
47048         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47049         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47050         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47051         Likewise.
47052         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47053         Likewise.
47054         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47055         (elf_greg_t): Likewise.
47056         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47057         (__jmp_buf): Likewise.
47058         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47059         definitions.
47060         (llrint): Likewise, for all definitions.
47061         (llrintl): Likewise.
47063         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47064         Remove [__GNUC__] condition.
47065         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47066         condition to just [__USE_ISOC99].
47067         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47069 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47071         [BZ #14200]
47072         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47073         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47074         defined.
47075         (_POSIX_V6_ILP32_OFF32): Likewise.
47076         (_XBS5_ILP32_OFF32): Likewise.
47077         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47078         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47080 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47082         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47085         doubles __mpexp_twomm1.  Adjust usage.
47086         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47087         Remove.
47089 2013-01-10  Andreas Schwab  <schwab@suse.de>
47091         [BZ #14964]
47092         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47093         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47095 2013-01-09  David S. Miller  <davem@davemloft.net>
47097         [BZ #15003]
47098         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47099         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47100         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47101         (TCP_FASTOPEN): Define.
47102         (tcp_repair_opt): New structure.
47103         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47104         enum values.
47105         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47106         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47107         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47108         (tcp_cookie_transactions): New structure.
47110 2013-01-09  Anton Blanchard  <anton@samba.org>
47112         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47113         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47114         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47115         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47117 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47119         * include/features.h (__USE_ANSI): Remove.
47121 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47123         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47125         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47127 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47129         * sysdeps/s390/fpu/libm-test-ulps: Update.
47131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47133         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47134         (__acr): Likewise.
47135         (__cpy): Likewise.
47136         (norm): Likewise.
47137         (denorm): Likewise.
47138         (__mp_dbl): Likewise.
47139         (__dbl_mp): Likewise.
47140         (add_magnitudes): Likewise.
47141         (sub_magnitudes): Likewise.
47142         (__add): Likewise.
47143         (__sub): Likewise.
47144         (__mul): Likewise.
47145         (__inv): Likewise.
47146         (__dvd): Likewise.
47147         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47148         (__acr): Likewise.
47149         (__cpy): Likewise.
47150         (norm): Likewise.
47151         (denorm): Likewise.
47152         (__mp_dbl): Likewise.
47153         (__dbl_mp): Likewise.
47154         (add_magnitudes): Likewise.
47155         (sub_magnitudes): Likewise.
47156         (__add): Likewise.
47157         (__sub): Likewise.
47158         (__mul): Likewise.
47159         (__inv): Likewise.
47160         (__dvd): Likewise.
47161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47162         (__acr): Likewise.
47163         (__cpy): Likewise.
47164         (norm): Likewise.
47165         (denorm): Likewise.
47166         (__mp_dbl): Likewise.
47167         (__dbl_mp): Likewise.
47168         (add_magnitudes): Likewise.
47169         (sub_magnitudes): Likewise.
47170         (__add): Likewise.
47171         (__sub): Likewise.
47172         (__mul): Likewise.
47173         (__inv): Likewise.
47174         (__dvd): Likewise.
47176 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47178         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47179         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47180         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47181         2 && __USE_EXTERN_INLINES]: Likewise.
47183 2013-01-08  Andreas Jaeger  <aj@suse.de>
47185         [BZ# 14985]
47186         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47187         Remove.
47188         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47189         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47191 2013-01-07  Anton Blanchard  <anton@samba.org>
47193         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47194         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47195         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47196         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47197         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47198         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47199         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47200         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47202         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47203         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47204         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47205         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47206         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47207         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47208         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47209         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47210         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47211         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47212         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47213         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47214         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47215         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47216         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47217         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47218         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47219         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47220         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47222         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47223         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47225         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47226         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47227         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47228         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47229         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47230         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47231         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47232         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47233         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47234         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47235         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47237 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47239         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47240         (__MALLOC_PMT): Likewise.
47241         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47242         [__GNUC__], only on [_LIBC].
47243         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47244         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47245         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47246         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47247         forward declaration.
47248         (realloc_hook_ini): Likewise.
47249         (memalign_hook_ini): Likewise.
47250         (__libc_memalign): Do not use __MALLOC_PMT in variable
47251         declaration.
47252         (__libc_valloc): Likewise.
47253         (__libc_pvalloc): Likewise.
47254         (__libc_calloc): Likewise.
47255         (__posix_memalign): Likewise.
47257         [BZ #14996]
47258         * math/s_casinh.c: Include <float.h>.
47259         (__casinh): Do not do computation with squaring and square root
47260         for large arguments.
47261         * math/s_casinhf.c: Include <float.h>.
47262         (__casinhf): Do not do computation with squaring and square root
47263         for large arguments.
47264         * math/s_casinhl.c: Include <float.h>.
47265         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47266         (__casinhl): Do not do computation with squaring and square root
47267         for large arguments.
47268         * math/libm-test.inc (casin_test): Add more tests.
47269         (casinh_test): Likewise.
47270         * sysdeps/i386/fpu/libm-test-ulps: Update.
47271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47273 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47275         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47276         (__x86_64_raw_data_cache_size): Likewise.
47277         (__x86_64_data_cache_size_half): Likewise.
47278         (__x86_64_raw_data_cache_size_half): Likewise.
47279         (__x86_64_shared_cache_size): Likewise.
47280         (__x86_64_raw_shared_cache_size): Likewise.
47281         (__x86_64_shared_cache_size_half): Likewise.
47282         (__x86_64_raw_shared_cache_size_half): Likewise.
47283         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47284         to ...
47285         (__x86_data_cache_size): This.
47286         (__x86_64_raw_data_cache_size): Renamed to ...
47287         (__x86_raw_data_cache_size): This.
47288         (__x86_64_data_cache_size_half): Renamed to ...
47289         (__x86_data_cache_size_half): This.
47290         (__x86_64_raw_data_cache_size_half): Renamed to ...
47291         (__x86_raw_data_cache_size_half): This.
47292         (__x86_64_shared_cache_size): Renamed to ...
47293         (__x86_shared_cache_size): This.
47294         (__x86_64_raw_shared_cache_size): Renamed to ...
47295         (__x86_raw_shared_cache_size): This.
47296         (__x86_64_shared_cache_size_half): Renamed to ...
47297         (__x86_shared_cache_size_half): This.
47298         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47299         (__x86_raw_shared_cache_size_half): This.
47300         * sysdeps/x86_64/memcpy.S: Updated.
47301         * sysdeps/x86_64/memset.S: Likewise.
47302         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47303         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47304         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47306 2013-01-04  David S. Miller  <davem@davemloft.net>
47308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47310 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47312         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47313         1 to avoid redefinition warning.
47314         (__USE_GNU): Don't define.
47315         (init_signaling_nan): Protoize.
47317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47319 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47323         (__cpymn): Likewise.
47324         (norm): Remove commented code.
47325         (denorm): Likewise.
47326         (__mp_dbl): Likewise.
47327         (__inv): Likewise.
47328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47329         (__cpymn): Likewise.
47330         (norm): Remove commented code.
47331         (denorm): Likewise.
47332         (__mp_dbl): Likewise.
47333         (__inv): Likewise.
47335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47336         mp_no value for 1.0 and 2.0.
47337         (norm): Use RADIXI instead of radixi.d.
47338         (denorm): Likewise.
47339         (__mul): Use 0.0 instead of zero.d.
47340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47341         mp_no value for 1.0 and 2.0.
47342         (norm): Use RADIXI instead of radixi.d.
47343         (denorm): Likewise.
47344         (__mul): Use 0.0 instead of zero.d.
47346 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47348         [BZ #14994]
47349         * math/s_casinh.c (__casinh): Reduce finite argument to first
47350         quadrant then set signs of results at the end.
47351         * math/s_casinhf.c (__casinhf): Likewise.
47352         * math/s_casinhl.c (__casinhl): Likewise.
47353         * math/libm-test.inc (casin_test): Add more tests.
47354         (casinh_test): Likewise.
47355         * sysdeps/i386/fpu/libm-test-ulps: Update.
47356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47358 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47360         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47362         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47364         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47365         declarations.
47366         (denorm): Likewise.
47367         (__mp_dbl): Likewise.
47368         (__inv): Likewise.
47370         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47371         and adjust the header comment.
47373         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47374         variable name from declaration.
47376 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47379         Initialize COMMON_CPUID_INDEX_7 element.
47380         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47381         (CPUID_RTM): Likewise.
47382         (HAS_RTM): Likewise.
47383         (COMMON_CPUID_INDEX_7): New enum.
47385 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47387         [BZ #14981]
47388         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47389         size is zero, record memory as freed.
47391 2013-01-03  Andreas Jaeger  <aj@suse.de>
47393         * po/ia.po: Add new Interlingua translation.
47395 2012-01-03  Allan McRae  <allan@archlinux.org>
47397         * locale/programs/localedef.c: Fix description of '--posix' flag.
47399 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47401         * NEWS: Update dates in second copyright notice.
47402         * README: Update copyright dates in example.
47403         * manual/libc.texinfo: Update copyright dates.
47404         * scripts/test-installation.pl: Update copyright date in --version
47405         output.
47407         * hurd/ctty-input.c: Fix copyright notice formatting.
47408         * hurd/ctty-output.c: Likewise.
47409         * hurd/dtable.c: Likewise.
47410         * hurd/hurd-raise.c: Likewise.
47411         * hurd/hurdprio.c: Likewise.
47412         * hurd/msgportdemux.c: Likewise.
47413         * misc/sys/file.h: Likewise.
47414         * misc/sys/ioctl.h: Likewise.
47415         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47416         * sysdeps/mach/hurd/chdir.c: Likewise.
47417         * sysdeps/mach/hurd/fchdir.c: Likewise.
47418         * sysdeps/mach/hurd/rename.c: Likewise.
47419         * sysdeps/mach/hurd/rmdir.c: Likewise.
47420         * sysdeps/mach/hurd/seekdir.c: Likewise.
47421         * sysdeps/mach/hurd/setsid.c: Likewise.
47422         * sysdeps/posix/wait3.c: Likewise.
47424         * All files with FSF copyright notices: Update copyright dates
47425         using scripts/update-copyrights.
47426         * intl/plural.c: Regenerated.
47427         * locale/programs/charmap-kw.h: Likewise.
47428         * locale/programs/locfile-kw.h: Likewise.
47430 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47432         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47433         four values.
47435         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47436         calculation loop and add branch prediction.
47438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47439         check access beyond bounds of m1np.
47441         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47442         MPTWO.
47443         (__inv): Remove local variable MPTWO to use the global
47444         constant.
47445         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47447         variable MPTWO.
47448         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47449         MP3HALFS static const.
47451 2013-01-01  David S. Miller  <davem@davemloft.net>
47453         * po/ca.po: Update from translation team.
47455 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47457         * scripts/update-copyrights: New file.
47458         * Makeconfig: Reformat copyright notice.
47459         * ctype/ctype.h: Likewise.
47460         * debug/swprintf_chk.c: Likewise.
47461         * elf/dl-cache.c: Likewise.
47462         * elf/dl-debug.c: Likewise.
47463         * elf/dl-object.c: Likewise.
47464         * grp/initgroups.c: Likewise.
47465         * hurd/Makefile: Likewise.
47466         * hurd/hurd/signal.h: Likewise.
47467         * hurd/hurdfault.c: Likewise.
47468         * hurd/hurdioctl.c: Likewise.
47469         * hurd/hurdlookup.c: Likewise.
47470         * hurd/intr-msg.c: Likewise.
47471         * iconv/gconv_open.c: Likewise.
47472         * libio/swprintf.c: Likewise.
47473         * locale/lc-ctype.c: Likewise.
47474         * locale/nl_langinfo.c: Likewise.
47475         * mach/Machrules: Likewise.
47476         * mach/Makefile: Likewise.
47477         * malloc/obstack.h: Likewise.
47478         * manual/Makefile: Likewise.
47479         * manual/tsort.awk: Likewise.
47480         * misc/bits/stab.def: Likewise.
47481         * nis/nis_print_group_entry.c: Likewise.
47482         * nis/nis_table.c: Likewise.
47483         * nis/nss_compat/compat-pwd.c: Likewise.
47484         * nis/nss_compat/compat-spwd.c: Likewise.
47485         * po/Makefile: Likewise.
47486         * posix/fnmatch.c: Likewise.
47487         * posix/regex.h: Likewise.
47488         * resolv/Makefile: Likewise.
47489         * resolv/nss_dns/dns-network.c: Likewise.
47490         * resolv/res_hconf.c: Likewise.
47491         * scripts/gen-sorted.awk: Likewise.
47492         * soft-fp/soft-fp.h: Likewise.
47493         * stdio-common/printf.h: Likewise.
47494         * stdlib/monetary.h: Likewise.
47495         * stdlib/random.c: Likewise.
47496         * stdlib/random_r.c: Likewise.
47497         * sysdeps/generic/Makefile: Likewise.
47498         * sysdeps/gnu/Makefile: Likewise.
47499         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47500         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47501         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47503         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47504         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47505         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47506         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47507         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47509         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47510         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47511         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47512         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47513         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
47514         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47515         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47516         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47517         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47518         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47519         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47520         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47521         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47522         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47523         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
47524         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47525         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47526         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
47527         * sysdeps/mach/hurd/errnos.awk: Likewise.
47528         * sysdeps/mach/hurd/fork.c: Likewise.
47529         * sysdeps/mach/hurd/getcwd.c: Likewise.
47530         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
47531         * sysdeps/mach/hurd/mmap.c: Likewise.
47532         * sysdeps/mach/hurd/utimes.c: Likewise.
47533         * sysdeps/mach/hurd/xmknod.c: Likewise.
47534         * sysdeps/posix/profil.c: Likewise.
47535         * sysdeps/posix/readdir_r.c: Likewise.
47536         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47537         * sysdeps/powerpc/bits/setjmp.h: Likewise.
47538         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
47539         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47541         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47542         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47543         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47545         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47546         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47547         * sysdeps/pthread/lio_listio.c: Likewise.
47548         * sysdeps/sparc/dl-procinfo.h: Likewise.
47549         * sysdeps/unix/i386/sysdep.S: Likewise.
47550         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
47551         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
47552         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
47553         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
47554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47555         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
47556         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
47557         * sysdeps/unix/sysv/linux/speed.c: Likewise.
47558         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47559         * sysdeps/wordsize-32/divdi3.c: Likewise.
47560         * time/sys/time.h: Likewise.
47561         * wcsmbs/Makefile: Likewise.
47563 2013-01-01  David S. Miller  <davem@davemloft.net>
47565         * po/fr.po: Update from translation team.
47567         * catgets/gencat.c: Update copyright year.
47568         * csu/version.c: Likewise.
47569         * debug/catchsegv.sh: Likewise.
47570         * debug/pcprofiledump.c: Likewise.
47571         * debug/xtrace.sh: Likewise.
47572         * elf/ldconfig.c: Likewise.
47573         * elf/ldd.bash.in: Likewise.
47574         * elf/pldd.c: Likewise.
47575         * elf/sotruss.ksh: Likewise.
47576         * elf/sprof.c: Likewise.
47577         * iconv/iconv_prog.c: Likewise.
47578         * iconv/iconvconfig.c: Likewise.
47579         * locale/programs/locale.c: Likewise.
47580         * locale/programs/localedef.c: Likewise.
47581         * login/programs/pt_chown.c: Likewise.
47582         * malloc/memusage.sh: Likewise.
47583         * malloc/memusagestat.c: Likewise.
47584         * malloc/mtrace.pl: Likewise.
47585         * nscd/nscd.c: Likewise.
47586         * nss/getent.c: Likewise.
47587         * nss/makedb.c: Likewise.
47588         * posix/getconf.c: Likewise.
47590 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47592         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
47593         numbers.
47595 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
47597         * math/bits/mathcalls.h (modf): Use __nonnull.
47599 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47601         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
47602         (split): Use macro CN instead of the bare value.
47603         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
47604         could be used.
47605         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
47606         instead of the bare value.
47607         (power1): Likewise.
47609 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47611         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
47612         __ATAN_TWOM.
47613         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47615         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
47616         their values.
47617         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47618         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47619         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
47620         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47622 2012-12-28  Andreas Jaeger  <aj@suse.de>
47624         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
47625         values are from Linux 3.7.
47627         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
47628         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
47630 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47632         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
47633         TRUE case.
47635         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
47636         (norm): Likewise.
47637         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
47638         variables with preprocessor constants.
47639         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47640         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47641         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47643 2012-12-27  Bruno Haible  <bruno@clisp.org>
47645         [BZ #14317]
47646         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
47647         only if needed.
47649 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
47652         and use variable directly.
47653         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
47655         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47656         MPONE.
47657         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
47658         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47659         variable MPONE.
47660         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47661         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47662         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
47663         include directive.  Remove local variable MPONE.
47664         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
47665         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
47666         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47668 2012-12-25  David S. Miller  <davem@davemloft.net>
47670         * version.h (RELEASE): Set to "development".
47671         (VERSION): Set to "2.17.90".
47672         * NEWS: Add 2.18 section.
47674 2012-12-21  David S. Miller  <davem@davemloft.net>
47676         * po/hr.po: Update from translation team.
47678 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47680         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
47682 2012-12-19  Steve Ellcey  <sellcey@mips.com>
47684         * NEWS:  Mention new memcpy for MIPS.
47686 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47688         * manual/contrib.texi (Contributors): Spelling correction.
47690 2012-12-15  David S. Miller  <davem@davemloft.net>
47692         * po/ru.po: Update from translation team.
47694 2012-12-13  David S. Miller  <davem@davemloft.net>
47696         * NEWS: Mention IFUNC testsuite enhancements.
47698         * po/pl.po: Update from translation team.
47699         * po/bg.po: Likewise.
47701         * manual/contrib.texi (Contributors): Update entries for Hongjiu
47702         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
47704 2012-12-11  David S. Miller  <davem@davemloft.net>
47706         * po/sv.po: Update from translation team.
47708         * po/vi.po: Update from translation team.
47710         * po/cs.po: Update from translation team.
47712         * po/de.po: Update from translation team.
47713         * po/eo.po: Likewise.
47714         * po/nl.po: Likewise.
47716 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47718         [BZ #14246]
47719         * manual/argp.texi (Argp Helper Functions): Move node to follow
47720         Argp Parsing State.
47722         [BZ #14872]
47723         * manual/conf.texi (Limits on File System Capacity): Mention if
47724         terminating null is included in the max size.
47726 2012-12-10  Andreas Jaeger  <aj@suse.de>
47728         * po/cs.po: Update from translation team.
47730 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47732         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
47733         void pointer and cast to uintptr_t.
47734         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
47735         path.
47736         * sysdeps/s390/s390-64/memcpy.S: Likewise.
47737         * sysdeps/s390/s390-64/memset.S: Likewise.
47739 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
47741         [BZ #14833]
47742         * menual/message.texi (Message Translation): Fix typos.
47743         (Helper programs for gettext): Likewise.
47745 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
47747         [BZ #14898]
47748         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
47749         Change to -1.
47751 2012-12-07  David S. Miller  <davem@davemloft.net>
47753         * po/libc.pot: Update.
47755 2012-12-07  Richard Henderson  <rth@redhat.com>
47757         [BZ #10114]
47758         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
47759         normal/normal case to before the switch.
47760         (_FP_DIV): Likewise.
47762 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
47763             Mike Frysinger  <vapier@gentoo.org>
47765         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
47766         check for __NR_fadvise64_64.
47768 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
47770         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
47771         0, not just to plain "0" as a statement.
47772         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
47773         with cw.
47775 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
47777         * NEWS: Use sourceware.org in Bugzilla URL.
47779 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
47782         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47784         * stdio-common/tst-put-error.c (do_test): Add newline to the
47785         padded test to ensure flush.
47787 2012-12-05  Jeff Law  <law@redhat.com>
47789         * sunrpc/etc.rpc (fedfs_admin): Add entry.
47791 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
47793         * README: Don't refer to ports add-on as distributed separately.
47794         Mention AArch64 in list of systems supported in the ports add-on.
47796         * LICENSES: Add more non-FSF copyright and license notices.
47798         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
47799         ((unused)).
47801         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47803         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
47804         10000 as width of padded output.
47806 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47808         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
47810         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
47811         variable LX with __attribute__ ((unused)).
47812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47813         Likewise.
47814         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47816         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
47817         with __attribute__ ((unused)).
47819 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
47821         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
47823 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
47825         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
47826         (CFLAGS-nldbl-acos.c): New variable.
47827         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
47828         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
47829         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
47830         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
47831         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
47832         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47833         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
47834         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
47835         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
47836         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
47837         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
47838         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
47839         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
47840         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
47841         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
47842         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
47843         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
47844         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
47845         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
47846         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
47847         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
47848         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
47849         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
47850         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
47851         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
47852         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
47853         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47854         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
47855         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
47856         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
47857         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
47858         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
47859         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
47860         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
47861         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
47862         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
47863         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
47864         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
47865         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
47866         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
47867         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
47868         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
47869         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
47870         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
47871         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
47872         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
47873         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
47874         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
47875         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
47876         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
47877         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
47878         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
47879         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
47880         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
47881         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
47882         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
47883         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
47884         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
47885         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
47886         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
47887         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
47888         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
47889         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
47890         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
47891         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
47892         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
47893         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
47894         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
47895         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
47896         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
47897         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
47898         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
47899         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
47900         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
47901         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
47902         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
47903         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
47904         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
47905         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
47906         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
47907         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
47908         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
47909         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
47910         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
47911         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
47912         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
47913         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
47914         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
47915         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
47916         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
47917         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
47918         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
47919         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
47920         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
47921         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
47922         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
47923         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47926         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
47928         [BZ #14914]
47929         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
47930         whole low double instead of just low 47 bits when splitting values
47931         into two parts.
47933 2012-12-03  Allan McRae  <allan@archlinux.org>
47935         * manual/stdio.texi (Predefined Printf Handlers): Remove
47936         @hsep and @vsep usage.
47938 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47940         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47941         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47943 2012-12-03  Jeff Law  <law@redhat.com>
47945         * time/sys/time.h (settimeofday): Do not mark TV argument
47946         as __nonnull.
47948 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47950         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47951         when currently writing and seek to current position when not.
47952         * libio/Makefile (tests): Remove bug-fclose1.
47953         * libio/bug-fclose1.c: Delete.
47955 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47957         * manual/arith.texi (feenableexcept): Fix typo.
47958         (fedisableexcept): Likewise.
47960 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47962         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47963         second, differently-typed declaration, rather than a cast.
47965 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47967         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47968         * include/rpc/svc.h: ... here.
47970 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47972         [BZ #13013]
47973         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47974         depending n and resplen2 to catch cases where answer
47975         equals answerp2.
47977 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47979         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47980         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47982 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47984         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47986 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47988         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47990 2012-11-28  Jeff Law  <law@redhat.com>
47992         [BZ #13761]
47993         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47994         dataset_temporary.  Track alloca usage into alloca_used.
47995         If dataset is large allocate and release it via malloc/free.
47997 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47999         [BZ #14197]
48000         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48002 2012-11-28  David S. Miller  <davem@davemloft.net>
48004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48006 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48008         [BZ #14803]
48009         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48010         of pi/2 rounded to nearest to 64 bits.
48011         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48012         nearest to 64 bits.
48013         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48014         bits.
48016 2012-11-28  Jeff Law <law@redhat.com>
48017             Martin Osvald <mosvald@redhat.com>
48019         [BZ #14889]
48020         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48021         * sunrpc/svc.c: Include time.h.
48022         (__svc_accept_failed): New function.
48023         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48024         any reason other than EINTR, call __svc_accept_failed.
48025         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48026         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48028 2012-11-28  Andreas Schwab  <schwab@suse.de>
48030         * scripts/abilist.awk: Also handle indirect functions in .opd
48031         section.
48033 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48035         [BZ #13881]
48036         * sysdeps/x86/fpu/powl_helper.c: New file.
48037         * sysdeps/x86/fpu/Makefile: Likewise.
48038         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48039         (p3): New object.
48040         (__ieee754_powl): Use __powl_helper for finite arguments except
48041         integer exponents below 8.
48042         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48043         (p3): New object.
48044         (__ieee754_powl): Use __powl_helper for finite arguments except
48045         integer exponents below 8.
48046         * math/libm-test.inc (pow_test): Add more tests and enable some
48047         previously disabled tests.
48048         * sysdeps/i386/fpu/libm-test-ulps: Update.
48049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48051 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48052             Carlos O'Donell  <carlos_odonell@mentor.com>
48054         * nss/makedb.c (is_prime): Assert that input is odd and greater
48055         than 4.  Note that fact in a comment too.
48056         (next_prime): Add 4 to input.
48058 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48060         [BZ #11741]
48061         * libio/Makefile (tests): Add test case tst-fwrite-error.
48062         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48063         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48064         * libio/tst-fwrite-error.c: New test case.
48066 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48068         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48069         before casting to void *.
48070         * include/libc-internal.h (__pointer_type): New macro.
48071         (__integer_if_pointer_type_sub): Likewise.
48072         (__integer_if_pointer_type): Likewise.
48073         (cast_to_integer): Likewise.
48074         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48075         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48076         before casting to atomic64_t.
48077         (atomic_exchange_acq): Likewise.
48078         (__arch_exchange_and_add_body): Likewise.
48079         (__arch_add_body): Likewise.
48080         (atomic_add_negative): Likewise.
48081         (atomic_add_zero): Likewise.
48083 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48085         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48086         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48087         (add_fdes): Likewise.
48088         (linear_search_fdes): Likewise.
48089         (binary_search_unencoded_fdes): Likewise.
48091 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48093         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48095 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48097         * configure.in: Autodetect C++ header directories.
48098         * configure: Regenerated.
48100 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48102         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48104 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48108 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48110         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48111         LDBL_MANT_DIG == 106]: Disable some tests.
48112         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48113         Likewise.
48114         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48115         Likewise.
48117         [BZ #14871]
48118         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48119         input for small inputs.  Return +/- pi/2 for large inputs.
48120         * math/libm-test.inc (atan_test): Add more tests.
48122         * sysdeps/generic/unwind-dw2-fde-glibc.c
48123         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48124         __attribute__ ((unused)).
48126         [BZ #14645]
48127         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48128         x * y if x and y are nonzero and z is zero.
48130         [BZ #14811]
48131         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48132         nonzero exponents with absolute value below 0x1p-117 to +/-
48133         0x1p-117.
48135         [BZ #14869]
48136         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48137         up arguments below 2**-450, not just those below 2**-500.
48138         * math/libm-test.inc (hypot_test): Add another test.
48140         [BZ #14868]
48141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48142         Return a+b for ratio over 2**120, not 2**60.
48143         * math/libm-test.inc (hypot_test): Add another test.
48145         * math/libm-test.inc (clog_test): Use
48146         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48147         (clog10_test): Likewise.
48149         [BZ #6778]
48150         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48152 2012-11-22  Andreas Schwab  <schwab@suse.de>
48154         * sysdeps/i386/fpu/libm-test-ulps: Update.
48156 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48158         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48159         printf output with newline.
48161 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48163         [BZ #14865]
48164         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48165         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48166         -z nodlopen, -z initfirst and -z execstack support.
48167         * configure: Regenerated.
48169         * elf/elf.h (DF_1_NODIRECT): New macro.
48170         (DF_1_IGNMULDEF): Likewise.
48171         (DF_1_NOKSYMS): Likewise.
48172         (DF_1_NOHDR): Likewise.
48173         (DF_1_EDITED): Likewise.
48174         (DF_1_NORELOC): Likewise.
48175         (DF_1_SYMINTPOSE): Likewise.
48176         (DF_1_GLOBAUDIT): Likewise.
48177         (DF_1_SINGLETON): Likewise.
48178         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48179         DT_1_SUPPORTED_MASK bits.
48180         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48182 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48184         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48186 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48188         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48189         macro.
48191         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48192         (sendmmsg): Move declarations...
48193         * socket/sys/socket.h: ... here.
48194         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48195         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48196         include it from...
48197         * socket/recvmmsg.c: ... this new file.
48198         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48199         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48200         definition of __sendmmsg hidden.
48201         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48202         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48203         Move ENOSYS stub into and include it from...
48204         * socket/sendmmsg.c: ... this new file.
48205         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48206         (sysdep_routines): Move recvmmsg and sendmmsg...
48207         * socket/Makefile (routines): ... here.
48208         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48209         (GLIBC_PRIVATE): Add __sendmmsg.
48210         * include/sys/socket.h (__sendmmsg): Add declarations.
48211         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48212         sendmmsg.
48214 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48216         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48217         variable I1 with __attribute__ ((unused)).
48218         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48220 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48222         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48223         DUMMY variables with __attribute__ ((unused)).
48225         * bits/byteswap.h: Include <bits/types.h>.
48226         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48228 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48230         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48231         string_t.  Do not manually set errno.
48232         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48233         length with __strnlen.  Make sure to both set errno and return it on
48234         failure.
48236 2012-11-19  David S. Miller  <davem@davemloft.net>
48238         With help from Joseph Myers.
48239         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48240         very large arguments properly.
48241         * math/libm-test.inc (atan_test): New tests.
48242         (atan2_test): New tests.
48243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48246 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48248         [BZ #14856]
48249         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48250         Define to 3.
48252         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48253         [POSIX] (EADDRNOTAVAIL): Likewise.
48254         [POSIX] (EAFNOSUPPORT): Likewise.
48255         [POSIX] (EALREADY): Likewise.
48256         [POSIX] (ECONNABORTED): Likewise.
48257         [POSIX] (ECONNREFUSED): Likewise.
48258         [POSIX] (ECONNRESET): Likewise.
48259         [POSIX] (EDESTADDRREQ): Likewise.
48260         [POSIX] (EDQUOT): Likewise.
48261         [POSIX] (EHOSTUNREACH): Likewise.
48262         [POSIX] (EIDRM): Likewise.
48263         [POSIX] (EISCONN): Likewise.
48264         [POSIX] (ELOOP): Likewise.
48265         [POSIX] (EMULTIHOP): Likewise.
48266         [POSIX] (ENETDOWN): Likewise.
48267         [POSIX] (ENETUNREACH): Likewise.
48268         [POSIX] (ENOBUFS): Likewise.
48269         [POSIX] (ENODATA): Likewise.
48270         [POSIX] (ENOLINK): Likewise.
48271         [POSIX] (ENOMSG): Likewise.
48272         [POSIX] (ENOPROTOOPT): Likewise.
48273         [POSIX] (ENOSR): Likewise.
48274         [POSIX] (ENOSTR): Likewise.
48275         [POSIX] (ENOTCONN): Likewise.
48276         [POSIX] (ENOTSOCK): Likewise.
48277         [POSIX] (EOPNOTSUPP): Likewise.
48278         [POSIX] (EOVERFLOW): Likewise.
48279         [POSIX] (EPROTO): Likewise.
48280         [POSIX] (EPROTONOSUPPORT): Likewise.
48281         [POSIX] (EPROTOTYPE): Likewise.
48282         [POSIX] (ESTALE): Likewise.
48283         [POSIX] (ETIME): Likewise.
48284         [POSIX] (ETXTBSY): Likewise.
48285         [POSIX] (EWOULDBLOCK): Likewise.
48286         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48287         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48288         [POSIX] (SEEK_CUR): Likewise.
48289         [POSIX] (SEEK_END): Likewise.
48290         [POSIX || UNIX98] (mode_t): Do not require.
48291         [POSIX] (off_t): Likewise.
48292         [POSIX] (pid_t): Likewise.
48293         [POSIX] (sys/stat.h): Do not allow header.
48294         [POSIX] (unistd.h): Likewise.
48295         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48296         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48297         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48298         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48299         require.
48300         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48301         sigevent): Specify elements.
48302         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48303         entry.
48304         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48305         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48307         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48308         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48309         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48310         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48311         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48312         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48313         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48314         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48315         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48316         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48317         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48318         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48319         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48320         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48321         Likewise.
48322         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48323         Likewise.
48324         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48325         Likewise.
48326         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48327         Likewise.
48328         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48329         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48330         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48331         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48332         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48333         Specify lower bound on value.
48334         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48335         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48336         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48337         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48338         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48339         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48340         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48341         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48342         value.
48343         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48344         as optional.
48345         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48346         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48347         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48348         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48349         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48350         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48351         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48352         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48353         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48354         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48355         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48356         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48357         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48358         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48359         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48360         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48361         entry.
48362         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48363         optional.
48364         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48365         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48366         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48367         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48368         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48369         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48370         Likewise.
48371         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48372         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48373         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48374         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48375         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48376         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48377         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48378         as optional.
48379         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48380         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48381         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48382         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48383         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48384         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48385         specify as optional.
48386         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48387         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48388         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48389         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48390         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48391         [XPG3] (NL_LANGMAX): Likewise.
48392         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48393         [POSIX || XPG3] (NL_NMAX): Likewise.
48394         [POSIX || XPG3] (NL_SETMAX): Likewise.
48395         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48396         [XPG3] (NZERO): Likewise.
48397         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48398         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48399         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48400         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48401         (REG_ERANGE): Expect.
48402         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48403         optional-constant.
48404         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48405         Use (void) in prototype.
48406         [POSIX] (*_t): Allow.
48407         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48408         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48409         (WRDE_BADVAL): Expect.
48411         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48412         expect.
48413         [XPG3 || XPG4] (O_RSYNC): Likewise.
48414         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48415         Likewise.
48416         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48417         [XPG3 || XPG4] (sigqueue): Likewise.
48418         [XPG3 || XPG4] (sigtimedwait): Likewise.
48419         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48420         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48421         [XPG3 || XPG4] (vsnprintf): Likewise.
48422         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48423         Likewise.
48424         [XPG3 || XPG4] (blksize_t): Likewise.
48425         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48426         Likewise.
48427         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48428         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48429         [XPG3 || XPG4] (struct itimerspec): Likewise.
48430         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48431         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48432         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48433         [XPG3 || XPG4] (clockid_t): Likewise.
48434         [XPG3 || XPG4] (timer_t): Likewise.
48435         [XPG3 || XPG4] (clock_getres): Likewise.
48436         [XPG3 || XPG4] (clock_gettime): Likewise.
48437         [XPG3 || XPG4] (clock_settime): Likewise.
48438         [XPG3 || XPG4] (nanosleep): Likewise.
48439         [XPG3 || XPG4] (timer_create): Likewise.
48440         [XPG3 || XPG4] (timer_delete): Likewise.
48441         [XPG3 || XPG4] (timer_gettime): Likewise.
48442         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48443         [XPG3 || XPG4] (timer_settime): Likewise.
48444         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48445         [XPG3 || XPG4] (getlogin_r): Likewise.
48446         [XPG3 || XPG4] (pread): Likewise.
48447         [XPG3 || XPG4] (pthread_atfork): Likewise.
48448         [XPG3 || XPG4] (pwrite): Likewise.
48450         [BZ #14835]
48451         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48452         <bits/siginfo.h>.
48454 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48456         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48457         finalizing MALLSTREAM.
48459         * sysdeps/mach/hurd/syncfs.c: New file.
48461 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48463         [BZ #14719]
48464         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48465         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48467         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48468         (_nss_dns_gethostbyname4_r): Likewise.
48469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48470         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48472 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48474         [BZ #13763]
48475         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48477 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48479         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48480         * elf/cache.c (print_entry): Print ",AArch64" for
48481         FLAG_AARCH64_LIB64
48483         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48484         * elf/cache.c (print_entry): Print ",hard-float" for
48485         FLAG_ARM_LIBHF.
48487 2012-11-18  David S. Miller  <davem@davemloft.net>
48489         With help from Joseph Myers.
48490         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48491         cutoff to 2**-13.
48492         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48493         cutoff to 2**-25.
48494         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48495         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48496         small.
48497         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48498         * math/libm-test.inc (y0_test): New tests.
48499         (y1_test): New tests.
48500         * sysdeps/i386/fpu/libm-test-ulps: Update.
48501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48504 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
48506         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
48507         64-bit targets.
48508         * configure: Regenerated.
48510 2012-11-17  David S. Miller  <davem@davemloft.net>
48512         [BZ #14811]
48513         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
48514         nonzero exponents with absolute value below 0x1p-128 to +/-
48515         0x1p-128.
48517 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
48519         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
48521         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
48523         * posix/getconf-speclist.c: New file.
48524         * posix/posix-envs.def: Likewise.
48525         * posix/confstr.c (START_ENV_GROUP): New macro.
48526         (END_ENV_GROUP): Likewise.
48527         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48528         (KNOWN_PRESENT_ENV_STRING): Likewise.
48529         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48530         (UNKNOWN_ENVIRONMENT): Likewise.
48531         (confstr): Include posix-envs.def instead of handling
48532         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
48533         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
48534         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
48535         (END_ENV_GROUP): Likewise.
48536         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
48537         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
48538         (UNKNOWN_ENVIRONMENT): Likewise.
48539         (__sysconf): Include posix-envs.def instead of handling associated
48540         cases directly here.
48541         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
48542         preprocessing getconf-speclist.c rather than running getconf or
48543         generating empty file.
48545 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
48547         * scripts/check-local-headers.sh: Ignore 'mach' headers.
48549 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
48551         [BZ #14672]
48552         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
48554 2012-11-16  David S. Miller  <davem@davemloft.net>
48556         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
48557         smaller than LDBL_EPSILON/2.0L, just return xm1.
48559 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
48561         * elf/tst-array1.c (init): Set constructor priority to 1000.
48562         (fini): Set destructor priority to 1000.
48563         * elf/tst-array2dep.c: Likewise.
48565 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48567         [BZ #11741]
48568         * libio/fileops.c (_IO_new_file_write): Correctly return error.
48569         (_IO_new_file_xsputn): Also return EOF if none of the input
48570         data was written when overflow failed.
48571         * libio/iopadn.c (_IO_padn): Likewise.
48572         * libio/iowpadn.c (_IO_wpadn): Likewise.
48573         * stdio-common/tst-put-error.c: Add copyright notice.
48574         (do_test): Add case for printing padded string.
48575         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
48576         _IO_padn returned error.
48577         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
48578         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
48579         return EOF.
48581 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48583         * libio/libioP.h: Add comment note that the references to C++
48584         bits are now obsolete.
48586 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48588         * math/libm-test.inc (check_complex): Use asprintf.
48590 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
48592         * debug/pcprofiledump.c (print_version): Update copyright year.
48593         * malloc/memusagestat.c (print_version): Likewise.
48595 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
48597         [BZ #14831]
48598         * elf/Makefile (tests): Add tst-audit8.
48599         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
48600         ($(objpfx)tst-audit8.out): New target.
48601         (tst-audit8-ENV): New variable.
48602         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
48603         audit if l_reloc_result is NULL.
48604         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
48605         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
48606         * elf/tst-audit8.c: New file.
48608 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48610         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
48611         * misc/Makefile (CFLAGS-select.c): Define.
48612         * posix/Makefile (CFLAGS-pause.c): Define.
48614 2012-11-13  David S. Miller  <davem@davemloft.net>
48616         * crypt/Makefile: Move test targets after toplevel Rules
48617         inclusion.  Grab any necessary sysdep routines when linking.
48618         * crypt/md5.c (md5_process_block): Remove define, we will always
48619         name it __md5_process_block.
48620         (md5_finish_ctx): Update md5_process_block call.
48621         (md5_stream): Likewise.
48622         (md5_process_bytes): Likewise.
48623         (md5_process_block): Rename to __md5_process_block and move to ...
48624         * crypt/md5-block.c: ... here.
48625         * crypt/sha256.c (sha256_process_block): Move to ...
48626         * crypt/sha256-block.c: ... here.
48627         * crypt/sha512.c (sha512_process_block): Move to ...
48628         * crypt/sha512-block.c: ... here.
48629         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
48630         path.
48631         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
48632         * sysdeps/sparc/sparc64/multiarch/Makefile
48633         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
48634         crypt subdir.
48635         (localedef-aux): Add md5 crypto assembler when in locale subdir.
48636         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
48637         multiarch changes.
48638         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
48639         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
48640         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
48641         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
48642         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
48643         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
48644         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
48645         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
48646         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
48647         file.
48648         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
48649         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
48650         file.
48651         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
48653 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
48655         * timezone/tzselect.ksh: Update from tzcode git revision
48656         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
48657         * timezone/zdump.c: Likewise.
48658         * timezone/zic.c: Likewise.
48659         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
48660         in TZVERSION setting, not $(PKGVERSION).
48661         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
48662         REPORT_BUGS_TO settings.
48664         [BZ #14838]
48665         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
48666         macro.
48668 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48670         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
48671         detection to immediately after _FP_ROUND().
48672         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
48673         bits are 0.
48675 2012-11-11  David S. Miller  <davem@davemloft.net>
48677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
48678         inttypes.h
48679         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
48680         __close rather than their public counterparts.
48682 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
48684         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
48685         file.
48686         [UNIX98] (sem_timedwait): Do not expect.
48687         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
48688         [XPG4 || UNIX98] (sockatmark): Do not expect.
48689         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
48690         (clock_getcpuclockid): Do not expect.
48691         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
48692         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
48693         Do not expect.
48694         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
48695         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
48696         [UNIX98] (vwscanf): Likewise.
48697         [UNIX98] (vswscanf): Likewise.
48699 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
48701         * timezone/version.h: Remove file.
48702         * timezone/README: Do not refer to version.h.
48703         * timezone/Makefile ($(objpfx)zic.o): New dependency on
48704         $(objpfx)version.h.
48705         ($(objpfx)zdump.o): Likewise.
48706         ($(objpfx)version.h): New target.
48708         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
48709         2012i.
48710         * timezone/README: Don't mention modification to tzselect.ksh.
48711         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
48712         work on unmodified tzselect.ksh.  Substitute version numbers in
48713         tzselect.ksh.
48715         * Makefile (format-me): Remove.
48716         (INSTALL): Adjust indentation.  Use commands directly instead of
48717         using $(format-me).
48719         * aclocal.m4 (ACX_PKGVERSION): New macro.
48720         (ACX_BUGURL): Likewise.
48721         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
48722         (PKGVERSION): New AC_DEFINE_UNQUOTED.
48723         (REPORT_BUGS_TO): Likewise.
48724         * configure: Regenerated.
48725         * config.h.in (PKGVERSION): New macro.
48726         (REPORT_BUGS_TO): Likewise.
48727         * config.make.in (PKGVERSION): New variable.
48728         (PKGVERSION_TEXI): Likewise.
48729         (REPORT_BUGS_TO): Likewise.
48730         (REPORT_BUGS_TEXI): Likewise.
48731         * Makefile (format-me): Use -I$(common-objpfx)manual.
48732         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
48733         ($(common-objpfx)manual/%): New target.
48734         (manual/%): Remove target.
48735         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
48736         (print_version): Use PKGVERSION.
48737         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
48738         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
48739         and REPORT_BUGS_TO.
48740         ($(objpfx)xtrace): Likewise.
48741         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
48742         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
48743         (print_version): Use PKGVERSION.
48744         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
48745         (do_version): Use PKGVERSION.
48746         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
48747         REPORT_BUGS_TO.
48748         (common-ldd-rewrite): Likewise.
48749         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
48750         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
48751         (print_version): Use PKGVERSION.
48752         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
48753         * elf/pldd.c (argp_program_bug_address): Remove variable.
48754         (more_help): New function.
48755         (argp): Use more_help.
48756         (print_version): Use PKGVERSION.
48757         * elf/sln.c (main): Use PKGVERSION.
48758         (usage): Use REPORT_BUGS_TO.
48759         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
48760         (top level): Use PKGVERSION.
48761         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
48762         (print_version): Use PKGVERSION.
48763         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
48764         (print_version): Use PKGVERSION.
48765         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
48766         (print_version): Use PKGVERSION.
48767         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
48768         (print_version): Use PKGVERSION.
48769         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
48770         (print_version): Use PKGVERSION.
48771         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
48772         (print_version): Use PKGVERSION.
48773         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
48774         and BUGURL.
48775         ($(objpfx)memusage): Likewise.
48776         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
48777         (do_version): Use PKGVERSION.
48778         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
48779         (print_version): Use PKGVERSION.
48780         * malloc/mtrace.pl ($PACKAGE): Remove variable.
48781         ($PKGVERSION): New variable.
48782         ($REPORT_BUGS_TO): Likewise.
48783         (usage): Use $REPORT_BUGS_TO.
48784         (top level): Use $PKGVERSION.
48785         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
48786         ($(objpfx)pkgvers.texi): New rule.
48787         ($(objpfx)stamp-pkgvers): Likewise.
48788         * manual/install.texi: Include pkgvers.texi.
48789         (--with-pkgversion): Document new configure option.
48790         (--with-bugurl): Likewise.
48791         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
48792         than necessarily for this particular distribution.  Use
48793         REPORT_BUGS_TO for where to report bugs.
48794         * INSTALL: Regenerated.
48795         * manual/libc.texinfo: Include pkgvers.texi.
48796         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
48797         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
48798         (print_version): Use PKGVERSION.
48799         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
48800         (print_version): Use PKGVERSION.
48801         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
48802         (print_version): Use PKGVERSION.
48803         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
48804         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
48805         macro.
48806         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
48807         (print_version): Use PKGVERSION.
48808         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
48809         (print_version): Use PKGVERSION.
48810         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
48811         and PKGVERSION.
48813         * timezone/checktab.awk: Update from tzcode 2012i.
48814         * timezone/ialloc.c: Likewise.
48815         * timezone/private.h: Likewise.
48816         * timezone/scheck.c: Likewise.
48817         * timezone/tzfile.h: Likewise.
48818         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
48819         (TZVERSION): Hardcode tzcode version number.
48820         * timezone/zdump.c: Update from tzcode 2012i.
48821         * timezone/zic.c: Likewise.
48822         * timezone/version.h: New file.
48823         * timezone/README: Describe version.h.  Update upstream location.
48825         [BZ #14824]
48826         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
48827         (mktemp): Enable declaration.
48828         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
48829         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
48830         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
48831         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
48832         Likewise.
48833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
48834         Likewise.
48835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
48836         Likewise.
48837         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
48838         Likewise.
48839         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
48840         Likewise.
48841         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
48842         Likewise.
48844         [BZ #14821]
48845         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
48846         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
48847         for copies of such integer values.
48848         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48849         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48851 2012-11-09  Andreas Jaeger  <aj@suse.de>
48853         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
48854         definitions and declarations that are provided by
48855         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48857 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48859         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
48860         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
48861         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
48862         definition.
48864 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48866         * elf/elf.h: Update comment before AArch64 relocations.
48868 2012-11-07  David S. Miller  <davem@davemloft.net>
48870         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
48871         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48872         (__start_context): Declare.
48873         (__makecontext_ret): Delete.
48874         (__makecontext): Hook up __start_context instead of
48875         __makecontext_ret.
48876         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
48877         (sysdep_routines): Add __start_context when in stdlib.
48879 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48881         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
48882         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
48883         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
48884         hardcoded "nm".
48885         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
48886         (READELF): New variable.  Use it instead of hardcoded "readelf".
48888 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48890         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
48891         * sysdeps/x86/Makefile: Here.
48892         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
48893         * sysdeps/x86/tst-xmmymm.sh: This.
48895 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48897         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
48898         expectations.
48899         [UNIX98] (pthread_barrier_t): Do not expect.
48900         [UNIX98] (pthread_barrierattr_t): Likewise.
48901         [UNIX98] (pthread_spinlock_t): Likewise.
48902         [UNIX98] (pthread_barrier_destroy): Likewise.
48903         [UNIX98] (pthread_barrier_init): Likewise.
48904         [UNIX98] (pthread_barrier_wait): Likewise.
48905         [UNIX98] (pthread_barrierattr_destroy): Likewise.
48906         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
48907         [UNIX98] (pthread_barrierattr_init): Likewise.
48908         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
48909         [UNIX98] (pthread_getcpuclockid): Likewise.
48910         [UNIX98] (pthread_mutex_timedlock): Likewise.
48911         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
48912         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
48913         [UNIX98] (pthread_sigmask): Likewise.
48914         [UNIX98] (pthread_spin_destroy): Likewise.
48915         [UNIX98] (pthread_spin_init): Likewise.
48916         [UNIX98] (pthread_spin_lock): Likewise.
48917         [UNIX98] (pthread_spin_trylock): Likewise.
48918         [UNIX98] (pthread_spin_unlock): Likewise.
48919         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
48920         Do not expect.
48921         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
48922         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
48923         [XPG3 || XPG4] (pthread_cond_t): Likewise.
48924         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
48925         [XPG3 || XPG4] (pthread_key_t): Likewise.
48926         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
48927         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
48928         [XPG3 || XPG4] (pthread_once_t): Likewise.
48929         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
48930         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
48931         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
48932         [XPG3 || XPG4] (pthread_t): Likewise.
48934         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
48935         not expect.
48936         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48938         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48939         Change function return type to int.
48941         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48942         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48943         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48944         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48945         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48946         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48947         [!POSIX] (posix_madvise): Likewise.
48948         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48949         && !UNIX98].
48950         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48951         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48952         (mode_t): Likewise.
48953         (posix_mem_offset): Likewise.
48954         (posix_typed_mem_get_info): Likewise.
48955         (posix_typed_mem_open): Likewise.
48957         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48958         Change condition to [XOPEN2K8].
48960         * conform/conformtest.pl: Preprocess allow-header data with -x c
48961         instead of from stdin.
48962         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48963         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48964         [C99-based standards] (cerfc): Likewise.
48965         [C99-based standards] (cexp2): Likewise.
48966         [C99-based standards] (cexpm1): Likewise.
48967         [C99-based standards] (clog10): Likewise.
48968         [C99-based standards] (clog1p): Likewise.
48969         [C99-based standards] (clog2): Likewise.
48970         [C99-based standards] (clgamma): Likewise.
48971         [C99-based standards] (ctgamma): Likewise.
48972         [C99-based standards] (cerff): Likewise.
48973         [C99-based standards] (cerfcf): Likewise.
48974         [C99-based standards] (cexp2f): Likewise.
48975         [C99-based standards] (cexpm1f): Likewise.
48976         [C99-based standards] (clog10f): Likewise.
48977         [C99-based standards] (clog1pf): Likewise.
48978         [C99-based standards] (clog2f): Likewise.
48979         [C99-based standards] (clgammaf): Likewise.
48980         [C99-based standards] (ctgammaf): Likewise.
48981         [C99-based standards] (cerfl): Likewise.
48982         [C99-based standards] (cerfcl): Likewise.
48983         [C99-based standards] (cexp2l): Likewise.
48984         [C99-based standards] (cexpm1l): Likewise.
48985         [C99-based standards] (clog10l): Likewise.
48986         [C99-based standards] (clog1pl): Likewise.
48987         [C99-based standards] (clog2l): Likewise.
48988         [C99-based standards] (clgammal): Likewise.
48989         [C99-based standards] (ctgammal): Likewise.
48990         * conform/data/inttypes.h-data [C99-based standards]: Include
48991         stdint.h-data.  Remove all expectations for stdint.h contents.
48992         [C99-based standards] (PRI*): Do not allow.
48993         [C99-based standards] (SCN*): Likewise.
48994         [C99-based standards] (*_t): Likewise.
48995         [C99-based-standards] (PRId8): Expect macro.
48996         [C99-based-standards] (PRIi8): Likewise.
48997         [C99-based-standards] (PRIo8): Likewise.
48998         [C99-based-standards] (PRIu8): Likewise.
48999         [C99-based-standards] (PRIx8): Likewise.
49000         [C99-based-standards] (PRIX8): Likewise.
49001         [C99-based-standards] (SCNd8): Likewise.
49002         [C99-based-standards] (SCNi8): Likewise.
49003         [C99-based-standards] (SCNo8): Likewise.
49004         [C99-based-standards] (SCNu8): Likewise.
49005         [C99-based-standards] (SCNx8): Likewise.
49006         [C99-based-standards] (PRIdLEAST8): Likewise.
49007         [C99-based-standards] (PRIiLEAST8): Likewise.
49008         [C99-based-standards] (PRIoLEAST8): Likewise.
49009         [C99-based-standards] (PRIuLEAST8): Likewise.
49010         [C99-based-standards] (PRIxLEAST8): Likewise.
49011         [C99-based-standards] (PRIXLEAST8): Likewise.
49012         [C99-based-standards] (SCNdLEAST8): Likewise.
49013         [C99-based-standards] (SCNiLEAST8): Likewise.
49014         [C99-based-standards] (SCNoLEAST8): Likewise.
49015         [C99-based-standards] (SCNuLEAST8): Likewise.
49016         [C99-based-standards] (SCNxLEAST8): Likewise.
49017         [C99-based-standards] (PRIdFAST8): Likewise.
49018         [C99-based-standards] (PRIiFAST8): Likewise.
49019         [C99-based-standards] (PRIoFAST8): Likewise.
49020         [C99-based-standards] (PRIuFAST8): Likewise.
49021         [C99-based-standards] (PRIxFAST8): Likewise.
49022         [C99-based-standards] (PRIXFAST8): Likewise.
49023         [C99-based-standards] (SCNdFAST8): Likewise.
49024         [C99-based-standards] (SCNiFAST8): Likewise.
49025         [C99-based-standards] (SCNoFAST8): Likewise.
49026         [C99-based-standards] (SCNuFAST8): Likewise.
49027         [C99-based-standards] (SCNxFAST8): Likewise.
49028         [C99-based-standards] (PRId16): Likewise.
49029         [C99-based-standards] (PRIi16): Likewise.
49030         [C99-based-standards] (PRIo16): Likewise.
49031         [C99-based-standards] (PRIu16): Likewise.
49032         [C99-based-standards] (PRIx16): Likewise.
49033         [C99-based-standards] (PRIX16): Likewise.
49034         [C99-based-standards] (SCNd16): Likewise.
49035         [C99-based-standards] (SCNi16): Likewise.
49036         [C99-based-standards] (SCNo16): Likewise.
49037         [C99-based-standards] (SCNu16): Likewise.
49038         [C99-based-standards] (SCNx16): Likewise.
49039         [C99-based-standards] (PRIdLEAST16): Likewise.
49040         [C99-based-standards] (PRIiLEAST16): Likewise.
49041         [C99-based-standards] (PRIoLEAST16): Likewise.
49042         [C99-based-standards] (PRIuLEAST16): Likewise.
49043         [C99-based-standards] (PRIxLEAST16): Likewise.
49044         [C99-based-standards] (PRIXLEAST16): Likewise.
49045         [C99-based-standards] (SCNdLEAST16): Likewise.
49046         [C99-based-standards] (SCNiLEAST16): Likewise.
49047         [C99-based-standards] (SCNoLEAST16): Likewise.
49048         [C99-based-standards] (SCNuLEAST16): Likewise.
49049         [C99-based-standards] (SCNxLEAST16): Likewise.
49050         [C99-based-standards] (PRIdFAST16): Likewise.
49051         [C99-based-standards] (PRIiFAST16): Likewise.
49052         [C99-based-standards] (PRIoFAST16): Likewise.
49053         [C99-based-standards] (PRIuFAST16): Likewise.
49054         [C99-based-standards] (PRIxFAST16): Likewise.
49055         [C99-based-standards] (PRIXFAST16): Likewise.
49056         [C99-based-standards] (SCNdFAST16): Likewise.
49057         [C99-based-standards] (SCNiFAST16): Likewise.
49058         [C99-based-standards] (SCNoFAST16): Likewise.
49059         [C99-based-standards] (SCNuFAST16): Likewise.
49060         [C99-based-standards] (SCNxFAST16): Likewise.
49061         [C99-based-standards] (PRId32): Likewise.
49062         [C99-based-standards] (PRIi32): Likewise.
49063         [C99-based-standards] (PRIo32): Likewise.
49064         [C99-based-standards] (PRIu32): Likewise.
49065         [C99-based-standards] (PRIx32): Likewise.
49066         [C99-based-standards] (PRIX32): Likewise.
49067         [C99-based-standards] (SCNd32): Likewise.
49068         [C99-based-standards] (SCNi32): Likewise.
49069         [C99-based-standards] (SCNo32): Likewise.
49070         [C99-based-standards] (SCNu32): Likewise.
49071         [C99-based-standards] (SCNx32): Likewise.
49072         [C99-based-standards] (PRIdLEAST32): Likewise.
49073         [C99-based-standards] (PRIiLEAST32): Likewise.
49074         [C99-based-standards] (PRIoLEAST32): Likewise.
49075         [C99-based-standards] (PRIuLEAST32): Likewise.
49076         [C99-based-standards] (PRIxLEAST32): Likewise.
49077         [C99-based-standards] (PRIXLEAST32): Likewise.
49078         [C99-based-standards] (SCNdLEAST32): Likewise.
49079         [C99-based-standards] (SCNiLEAST32): Likewise.
49080         [C99-based-standards] (SCNoLEAST32): Likewise.
49081         [C99-based-standards] (SCNuLEAST32): Likewise.
49082         [C99-based-standards] (SCNxLEAST32): Likewise.
49083         [C99-based-standards] (PRIdFAST32): Likewise.
49084         [C99-based-standards] (PRIiFAST32): Likewise.
49085         [C99-based-standards] (PRIoFAST32): Likewise.
49086         [C99-based-standards] (PRIuFAST32): Likewise.
49087         [C99-based-standards] (PRIxFAST32): Likewise.
49088         [C99-based-standards] (PRIXFAST32): Likewise.
49089         [C99-based-standards] (SCNdFAST32): Likewise.
49090         [C99-based-standards] (SCNiFAST32): Likewise.
49091         [C99-based-standards] (SCNoFAST32): Likewise.
49092         [C99-based-standards] (SCNuFAST32): Likewise.
49093         [C99-based-standards] (SCNxFAST32): Likewise.
49094         [C99-based-standards] (PRId64): Likewise.
49095         [C99-based-standards] (PRIi64): Likewise.
49096         [C99-based-standards] (PRIo64): Likewise.
49097         [C99-based-standards] (PRIu64): Likewise.
49098         [C99-based-standards] (PRIx64): Likewise.
49099         [C99-based-standards] (PRIX64): Likewise.
49100         [C99-based-standards] (SCNd64): Likewise.
49101         [C99-based-standards] (SCNi64): Likewise.
49102         [C99-based-standards] (SCNo64): Likewise.
49103         [C99-based-standards] (SCNu64): Likewise.
49104         [C99-based-standards] (SCNx64): Likewise.
49105         [C99-based-standards] (PRIdLEAST64): Likewise.
49106         [C99-based-standards] (PRIiLEAST64): Likewise.
49107         [C99-based-standards] (PRIoLEAST64): Likewise.
49108         [C99-based-standards] (PRIuLEAST64): Likewise.
49109         [C99-based-standards] (PRIxLEAST64): Likewise.
49110         [C99-based-standards] (PRIXLEAST64): Likewise.
49111         [C99-based-standards] (SCNdLEAST64): Likewise.
49112         [C99-based-standards] (SCNiLEAST64): Likewise.
49113         [C99-based-standards] (SCNoLEAST64): Likewise.
49114         [C99-based-standards] (SCNuLEAST64): Likewise.
49115         [C99-based-standards] (SCNxLEAST64): Likewise.
49116         [C99-based-standards] (PRIdFAST64): Likewise.
49117         [C99-based-standards] (PRIiFAST64): Likewise.
49118         [C99-based-standards] (PRIoFAST64): Likewise.
49119         [C99-based-standards] (PRIuFAST64): Likewise.
49120         [C99-based-standards] (PRIxFAST64): Likewise.
49121         [C99-based-standards] (PRIXFAST64): Likewise.
49122         [C99-based-standards] (SCNdFAST64): Likewise.
49123         [C99-based-standards] (SCNiFAST64): Likewise.
49124         [C99-based-standards] (SCNoFAST64): Likewise.
49125         [C99-based-standards] (SCNuFAST64): Likewise.
49126         [C99-based-standards] (SCNxFAST64): Likewise.
49127         [C99-based-standards] (PRIdMAX): Likewise.
49128         [C99-based-standards] (PRIiMAX): Likewise.
49129         [C99-based-standards] (PRIoMAX): Likewise.
49130         [C99-based-standards] (PRIuMAX): Likewise.
49131         [C99-based-standards] (PRIxMAX): Likewise.
49132         [C99-based-standards] (PRIXMAX): Likewise.
49133         [C99-based-standards] (SCNdMAX): Likewise.
49134         [C99-based-standards] (SCNiMAX): Likewise.
49135         [C99-based-standards] (SCNoMAX): Likewise.
49136         [C99-based-standards] (SCNuMAX): Likewise.
49137         [C99-based-standards] (SCNxMAX): Likewise.
49138         [C99-based-standards] (PRIdPTR): Likewise.
49139         [C99-based-standards] (PRIiPTR): Likewise.
49140         [C99-based-standards] (PRIoPTR): Likewise.
49141         [C99-based-standards] (PRIuPTR): Likewise.
49142         [C99-based-standards] (PRIxPTR): Likewise.
49143         [C99-based-standards] (PRIXPTR): Likewise.
49144         [C99-based-standards] (SCNdPTR): Likewise.
49145         [C99-based-standards] (SCNiPTR): Likewise.
49146         [C99-based-standards] (SCNoPTR): Likewise.
49147         [C99-based-standards] (SCNuPTR): Likewise.
49148         [C99-based-standards] (SCNxPTR): Likewise.
49149         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49150         allow.
49151         * conform/data/stdint.h-data: Update comments to clarify
49152         requirements.
49153         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49154         type.
49155         [C99-based standards] (INT8_MAX): Likewise.
49156         [C99-based standards] (INT16_MIN): Likewise.
49157         [C99-based standards] (INT16_MAX): Likewise.
49158         [C99-based standards] (INT32_MIN): Likewise.
49159         [C99-based standards] (INT32_MAX): Likewise.
49160         [C99-based standards] (INT64_MIN): Likewise.
49161         [C99-based standards] (INT64_MAX): Likewise.
49162         [C99-based standards] (UINT8_MAX): Likewise.
49163         [C99-based standards] (UINT16_MAX): Likewise.
49164         [C99-based standards] (UINT32_MAX): Likewise.
49165         [C99-based standards] (UINT64_MAX): Likewise.
49166         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49167         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49168         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49169         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49170         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49171         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49172         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49173         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49174         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49175         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49176         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49177         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49178         [C99-based standards] (INT_FAST8_MIN): Likewise.
49179         [C99-based standards] (INT_FAST8_MAX): Likewise.
49180         [C99-based standards] (INT_FAST16_MIN): Likewise.
49181         [C99-based standards] (INT_FAST16_MAX): Likewise.
49182         [C99-based standards] (INT_FAST32_MIN): Likewise.
49183         [C99-based standards] (INT_FAST32_MAX): Likewise.
49184         [C99-based standards] (INT_FAST64_MIN): Likewise.
49185         [C99-based standards] (INT_FAST64_MAX): Likewise.
49186         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49187         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49188         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49189         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49190         [C99-based standards] (INTPTR_MIN): Likewise.
49191         [C99-based standards] (INTPTR_MAX): Likewise.
49192         [C99-based standards] (UINTPTR_MAX): Likewise.
49193         [C99-based standards] (INTMAX_MIN): Likewise.
49194         [C99-based standards] (INTMAX_MAX): Likewise.
49195         [C99-based standards] (UINTMAX_MAX): Likewise.
49196         [C99-based standards] (PTRDIFF_MIN): Likewise.
49197         [C99-based standards] (PTRDIFF_MAX): Likewise.
49198         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49199         [C99-based standards] (SIZE_MAX): Likewise.
49200         [C99-based standards] (WCHAR_MAX): Likewise.
49201         [C99-based standards] (WINT_MAX): Likewise.
49202         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49203         constraint on value.
49204         [C99-based standards] (WCHAR_MIN): Likewise.
49205         [C99-based standards] (WINT_MIN): Likewise.
49206         [C99-based standards] (*_t): Allow.
49207         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49208         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49209         Include math.h-data and complex.h-data.  Remove all expectations
49210         of math.h and complex.h contents.
49211         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49212         at end of line.
49213         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49214         (struct tm): Expect tag.
49215         [C99-based-standards] (wcstof): Expect function.
49216         [C99-based-standards] (wcstold): Likewise.
49217         [C99-based-standards] (wcstoll): Likewise.
49218         [C99-based-standards] (wcstoull): Likewise.
49219         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49220         macro-int-constant.  Specify type.
49221         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49222         constraint on value.
49223         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49224         Specify type.
49225         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49226         Specify value.
49227         [ISO C standards]: Do not allow headers.
49228         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49229         wcs[abcdefghijklmnopqrstuvwxyz]*.
49230         [ISO C standards] (*_t): Do not allow.
49231         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49232         Expect function.
49233         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49234         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49235         Specify type.
49236         [ISO C standards]: Do not allow headers.
49237         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49238         is[abcdefghijklmnopqrstuvwxyz]*.
49239         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49240         to[abcdefghijklmnopqrstuvwxyz]*.
49241         [ISO C standards] (*_t): Do not allow.
49242         * conform/data/stdalign.h-data: New file.
49243         * conform/data/stdbool.h-data: Likewise.
49244         * conform/data/stdnoreturn.h-data: Likewise.
49246 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49248         [BZ #14815]
49249         * manual/filesys.texi (Directory Entries): Typo fix.
49250         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49252 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49254         * elf/elf.h (EM_AARCH64): New macro.
49255         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49256         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49257         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49258         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49259         (R_AARCH64_TLSDESC): Likewise.
49260         (NT_ARM_TLS): Likewise.
49261         (NT_ARM_HW_BREAK): Likewise.
49262         (NT_ARM_HW_WATCH): Likewise.
49264 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49266         [BZ #14811]
49267         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49268         (__ieee754_powl): Saturate nonzero exponents with absolute value
49269         below 0x1p-79 to +/- 0x1p-79.
49270         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49271         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49272         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49273         nonzero exponents with absolute value below 0x1p-32 to +/-
49274         0x1p-32.
49275         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49276         (__ieee754_powl): Saturate nonzero exponents with absolute value
49277         below 0x1p-79 to +/- 0x1p-79.
49278         * math/libm-test.inc (pow_test): Add more tests.
49280 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49282         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49283         _dl_s390_cap_flags with kernel. Increase string length.
49284         (_dl_s390_platforms): Add z196 and zEC12.
49286 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49288         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49289         Change XOPEN21K to XOPEN2K.
49291 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49293         * string/memmove.c: Use memcpy when possible.
49295 2012-11-06  Andreas Jaeger  <aj@suse.de>
49297         * po/eo.po: Update from translation team.
49299 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49301         [BZ #14793]
49302         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49303         exponent and small x and y exponents, scale x or y up.  Increase
49304         by 2 the exponent used in scaling up.
49305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49307         * math/libm-test.inc (fma_test): Add more tests.
49308         (fma_test_towardzero): Likewise.
49309         (fma_test_downward): Likewise.
49310         (fma_test_upward): Likewise.
49312 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49314         [BZ #14805]
49315         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49316         fenv_t *.
49318         [BZ #14801]
49319         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49320         namespace for names of struct fields.
49321         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49322         fenv_t fields.
49323         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49324         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49326 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49328         [BZ #3665]
49329         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49331 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49333         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49334         PTR_DEMANGLE.
49336         [BZ #5246]
49337         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49338         PTR_DEMANGLE.
49340 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49342         [BZ #14797]
49343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49344         definitely overflow as x * y not x * y + z.
49345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49347         * math/libm-test.inc (fma_test): Add more tests.
49348         (fma_test_towardzero): Likewise.
49349         (fma_test_downward): Likewise.
49350         (fma_test_upward): Likewise.
49352 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49354         [BZ #157]
49356         * include/stub-tag.h: Remove file.
49357         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49358         '#include' of it.
49359         * manual/maint.texi (Porting): Don't reference it.
49360         * Makerules ($(objpfx)stubs): Likewise.
49361         * dirent/closedir.c: Don't include <stub-tag.h>.
49362         * dirent/dirfd.c: Likewise.
49363         * dirent/fdopendir.c: Likewise.
49364         * dirent/getdents.c: Likewise.
49365         * dirent/getdents64.c: Likewise.
49366         * dirent/opendir.c: Likewise.
49367         * dirent/readdir.c: Likewise.
49368         * dirent/readdir64.c: Likewise.
49369         * dirent/readdir64_r.c: Likewise.
49370         * dirent/readdir_r.c: Likewise.
49371         * dirent/rewinddir.c: Likewise.
49372         * dirent/seekdir.c: Likewise.
49373         * dirent/telldir.c: Likewise.
49374         * gmon/profil.c: Likewise.
49375         * grp/setgroups.c: Likewise.
49376         * inet/if_index.c: Likewise.
49377         * io/access.c: Likewise.
49378         * io/chdir.c: Likewise.
49379         * io/chmod.c: Likewise.
49380         * io/chown.c: Likewise.
49381         * io/close.c: Likewise.
49382         * io/dup.c: Likewise.
49383         * io/dup2.c: Likewise.
49384         * io/dup3.c: Likewise.
49385         * io/euidaccess.c: Likewise.
49386         * io/faccessat.c: Likewise.
49387         * io/fchdir.c: Likewise.
49388         * io/fchmod.c: Likewise.
49389         * io/fchmodat.c: Likewise.
49390         * io/fchown.c: Likewise.
49391         * io/fchownat.c: Likewise.
49392         * io/fcntl.c: Likewise.
49393         * io/flock.c: Likewise.
49394         * io/fstatfs.c: Likewise.
49395         * io/fstatfs64.c: Likewise.
49396         * io/fstatvfs.c: Likewise.
49397         * io/fstatvfs64.c: Likewise.
49398         * io/futimens.c: Likewise.
49399         * io/fxstat.c: Likewise.
49400         * io/fxstat64.c: Likewise.
49401         * io/fxstatat.c: Likewise.
49402         * io/fxstatat64.c: Likewise.
49403         * io/getcwd.c: Likewise.
49404         * io/isatty.c: Likewise.
49405         * io/lchmod.c: Likewise.
49406         * io/lchown.c: Likewise.
49407         * io/link.c: Likewise.
49408         * io/linkat.c: Likewise.
49409         * io/lseek.c: Likewise.
49410         * io/lseek64.c: Likewise.
49411         * io/lxstat64.c: Likewise.
49412         * io/mkdir.c: Likewise.
49413         * io/mkdirat.c: Likewise.
49414         * io/mkfifo.c: Likewise.
49415         * io/mkfifoat.c: Likewise.
49416         * io/open.c: Likewise.
49417         * io/open64.c: Likewise.
49418         * io/openat.c: Likewise.
49419         * io/openat64.c: Likewise.
49420         * io/pipe.c: Likewise.
49421         * io/pipe2.c: Likewise.
49422         * io/poll.c: Likewise.
49423         * io/posix_fadvise.c: Likewise.
49424         * io/posix_fadvise64.c: Likewise.
49425         * io/posix_fallocate.c: Likewise.
49426         * io/posix_fallocate64.c: Likewise.
49427         * io/read.c: Likewise.
49428         * io/readlink.c: Likewise.
49429         * io/readlinkat.c: Likewise.
49430         * io/rmdir.c: Likewise.
49431         * io/sendfile.c: Likewise.
49432         * io/sendfile64.c: Likewise.
49433         * io/statfs.c: Likewise.
49434         * io/statfs64.c: Likewise.
49435         * io/statvfs.c: Likewise.
49436         * io/statvfs64.c: Likewise.
49437         * io/symlink.c: Likewise.
49438         * io/symlinkat.c: Likewise.
49439         * io/ttyname.c: Likewise.
49440         * io/ttyname_r.c: Likewise.
49441         * io/umask.c: Likewise.
49442         * io/unlink.c: Likewise.
49443         * io/unlinkat.c: Likewise.
49444         * io/utime.c: Likewise.
49445         * io/utimensat.c: Likewise.
49446         * io/write.c: Likewise.
49447         * io/xmknod.c: Likewise.
49448         * io/xmknodat.c: Likewise.
49449         * io/xstat.c: Likewise.
49450         * io/xstat64.c: Likewise.
49451         * login/getpt.c: Likewise.
49452         * login/grantpt.c: Likewise.
49453         * login/unlockpt.c: Likewise.
49454         * math/e_acoshl.c: Likewise.
49455         * math/e_acosl.c: Likewise.
49456         * math/e_asinl.c: Likewise.
49457         * math/e_atan2l.c: Likewise.
49458         * math/e_atanhl.c: Likewise.
49459         * math/e_coshl.c: Likewise.
49460         * math/e_expl.c: Likewise.
49461         * math/e_fmodl.c: Likewise.
49462         * math/e_gammal_r.c: Likewise.
49463         * math/e_hypotl.c: Likewise.
49464         * math/e_j0l.c: Likewise.
49465         * math/e_j1l.c: Likewise.
49466         * math/e_jnl.c: Likewise.
49467         * math/e_lgammal_r.c: Likewise.
49468         * math/e_log10l.c: Likewise.
49469         * math/e_log2l.c: Likewise.
49470         * math/e_logl.c: Likewise.
49471         * math/e_powl.c: Likewise.
49472         * math/e_rem_pio2l.c: Likewise.
49473         * math/e_sinhl.c: Likewise.
49474         * math/e_sqrtl.c: Likewise.
49475         * math/fclrexcpt.c: Likewise.
49476         * math/fedisblxcpt.c: Likewise.
49477         * math/feenablxcpt.c: Likewise.
49478         * math/fegetenv.c: Likewise.
49479         * math/fegetexcept.c: Likewise.
49480         * math/fegetround.c: Likewise.
49481         * math/feholdexcpt.c: Likewise.
49482         * math/fesetenv.c: Likewise.
49483         * math/fesetround.c: Likewise.
49484         * math/feupdateenv.c: Likewise.
49485         * math/fgetexcptflg.c: Likewise.
49486         * math/fraiseexcpt.c: Likewise.
49487         * math/fsetexcptflg.c: Likewise.
49488         * math/ftestexcept.c: Likewise.
49489         * math/k_cosl.c: Likewise.
49490         * math/k_rem_pio2l.c: Likewise.
49491         * math/k_sinl.c: Likewise.
49492         * math/k_tanl.c: Likewise.
49493         * math/s_asinhl.c: Likewise.
49494         * math/s_atanl.c: Likewise.
49495         * math/s_cbrtl.c: Likewise.
49496         * math/s_erfl.c: Likewise.
49497         * math/s_expm1l.c: Likewise.
49498         * math/s_log1pl.c: Likewise.
49499         * math/s_tanhl.c: Likewise.
49500         * misc/acct.c: Likewise.
49501         * misc/brk.c: Likewise.
49502         * misc/chflags.c: Likewise.
49503         * misc/chroot.c: Likewise.
49504         * misc/fchflags.c: Likewise.
49505         * misc/fgetxattr.c: Likewise.
49506         * misc/flistxattr.c: Likewise.
49507         * misc/fremovexattr.c: Likewise.
49508         * misc/fsetxattr.c: Likewise.
49509         * misc/fsync.c: Likewise.
49510         * misc/ftruncate.c: Likewise.
49511         * misc/futimes.c: Likewise.
49512         * misc/futimesat.c: Likewise.
49513         * misc/getdomain.c: Likewise.
49514         * misc/getdtsz.c: Likewise.
49515         * misc/gethostid.c: Likewise.
49516         * misc/gethostname.c: Likewise.
49517         * misc/getloadavg.c: Likewise.
49518         * misc/getpagesize.c: Likewise.
49519         * misc/getsysstats.c: Likewise.
49520         * misc/getxattr.c: Likewise.
49521         * misc/gtty.c: Likewise.
49522         * misc/ioctl.c: Likewise.
49523         * misc/lgetxattr.c: Likewise.
49524         * misc/listxattr.c: Likewise.
49525         * misc/llistxattr.c: Likewise.
49526         * misc/lremovexattr.c: Likewise.
49527         * misc/lsetxattr.c: Likewise.
49528         * misc/lutimes.c: Likewise.
49529         * misc/madvise.c: Likewise.
49530         * misc/mincore.c: Likewise.
49531         * misc/mlock.c: Likewise.
49532         * misc/mlockall.c: Likewise.
49533         * misc/mmap.c: Likewise.
49534         * misc/mprotect.c: Likewise.
49535         * misc/msync.c: Likewise.
49536         * misc/munlock.c: Likewise.
49537         * misc/munlockall.c: Likewise.
49538         * misc/munmap.c: Likewise.
49539         * misc/preadv.c: Likewise.
49540         * misc/preadv64.c: Likewise.
49541         * misc/ptrace.c: Likewise.
49542         * misc/pwritev.c: Likewise.
49543         * misc/pwritev64.c: Likewise.
49544         * misc/readv.c: Likewise.
49545         * misc/reboot.c: Likewise.
49546         * misc/remap_file_pages.c: Likewise.
49547         * misc/removexattr.c: Likewise.
49548         * misc/revoke.c: Likewise.
49549         * misc/select.c: Likewise.
49550         * misc/setdomain.c: Likewise.
49551         * misc/setegid.c: Likewise.
49552         * misc/seteuid.c: Likewise.
49553         * misc/sethostid.c: Likewise.
49554         * misc/sethostname.c: Likewise.
49555         * misc/setregid.c: Likewise.
49556         * misc/setreuid.c: Likewise.
49557         * misc/setxattr.c: Likewise.
49558         * misc/sstk.c: Likewise.
49559         * misc/stty.c: Likewise.
49560         * misc/swapoff.c: Likewise.
49561         * misc/swapon.c: Likewise.
49562         * misc/sync.c: Likewise.
49563         * misc/syncfs.c: Likewise.
49564         * misc/syscall.c: Likewise.
49565         * misc/truncate.c: Likewise.
49566         * misc/ualarm.c: Likewise.
49567         * misc/usleep.c: Likewise.
49568         * misc/ustat.c: Likewise.
49569         * misc/utimes.c: Likewise.
49570         * misc/vhangup.c: Likewise.
49571         * misc/writev.c: Likewise.
49572         * posix/_exit.c: Likewise.
49573         * posix/alarm.c: Likewise.
49574         * posix/execve.c: Likewise.
49575         * posix/fexecve.c: Likewise.
49576         * posix/fork.c: Likewise.
49577         * posix/fpathconf.c: Likewise.
49578         * posix/getaddrinfo.c: Likewise.
49579         * posix/getegid.c: Likewise.
49580         * posix/geteuid.c: Likewise.
49581         * posix/getgid.c: Likewise.
49582         * posix/getgroups.c: Likewise.
49583         * posix/getlogin.c: Likewise.
49584         * posix/getlogin_r.c: Likewise.
49585         * posix/getpgid.c: Likewise.
49586         * posix/getpid.c: Likewise.
49587         * posix/getppid.c: Likewise.
49588         * posix/getresgid.c: Likewise.
49589         * posix/getresuid.c: Likewise.
49590         * posix/getsid.c: Likewise.
49591         * posix/getuid.c: Likewise.
49592         * posix/glob64.c: Likewise.
49593         * posix/nanosleep.c: Likewise.
49594         * posix/pathconf.c: Likewise.
49595         * posix/pause.c: Likewise.
49596         * posix/posix_madvise.c: Likewise.
49597         * posix/pread.c: Likewise.
49598         * posix/pread64.c: Likewise.
49599         * posix/pwrite.c: Likewise.
49600         * posix/pwrite64.c: Likewise.
49601         * posix/sched_getaffinity.c: Likewise.
49602         * posix/sched_getp.c: Likewise.
49603         * posix/sched_gets.c: Likewise.
49604         * posix/sched_primax.c: Likewise.
49605         * posix/sched_primin.c: Likewise.
49606         * posix/sched_rr_gi.c: Likewise.
49607         * posix/sched_setaffinity.c: Likewise.
49608         * posix/sched_setp.c: Likewise.
49609         * posix/sched_sets.c: Likewise.
49610         * posix/sched_yield.c: Likewise.
49611         * posix/setgid.c: Likewise.
49612         * posix/setlogin.c: Likewise.
49613         * posix/setpgid.c: Likewise.
49614         * posix/setresgid.c: Likewise.
49615         * posix/setresuid.c: Likewise.
49616         * posix/setsid.c: Likewise.
49617         * posix/setuid.c: Likewise.
49618         * posix/sleep.c: Likewise.
49619         * posix/spawni.c: Likewise.
49620         * posix/sysconf.c: Likewise.
49621         * posix/times.c: Likewise.
49622         * posix/wait.c: Likewise.
49623         * posix/wait3.c: Likewise.
49624         * posix/wait4.c: Likewise.
49625         * posix/waitpid.c: Likewise.
49626         * resolv/gai_sigqueue.c: Likewise.
49627         * resource/getpriority.c: Likewise.
49628         * resource/getrlimit.c: Likewise.
49629         * resource/getrusage.c: Likewise.
49630         * resource/nice.c: Likewise.
49631         * resource/setpriority.c: Likewise.
49632         * resource/setrlimit.c: Likewise.
49633         * resource/ulimit.c: Likewise.
49634         * rt/aio_cancel.c: Likewise.
49635         * rt/aio_fsync.c: Likewise.
49636         * rt/aio_read.c: Likewise.
49637         * rt/aio_sigqueue.c: Likewise.
49638         * rt/aio_suspend.c: Likewise.
49639         * rt/aio_write.c: Likewise.
49640         * rt/clock_getres.c: Likewise.
49641         * rt/clock_gettime.c: Likewise.
49642         * rt/clock_nanosleep.c: Likewise.
49643         * rt/clock_settime.c: Likewise.
49644         * rt/lio_listio.c: Likewise.
49645         * rt/mq_close.c: Likewise.
49646         * rt/mq_getattr.c: Likewise.
49647         * rt/mq_notify.c: Likewise.
49648         * rt/mq_open.c: Likewise.
49649         * rt/mq_receive.c: Likewise.
49650         * rt/mq_send.c: Likewise.
49651         * rt/mq_setattr.c: Likewise.
49652         * rt/mq_timedreceive.c: Likewise.
49653         * rt/mq_timedsend.c: Likewise.
49654         * rt/mq_unlink.c: Likewise.
49655         * rt/shm_open.c: Likewise.
49656         * rt/shm_unlink.c: Likewise.
49657         * rt/timer_create.c: Likewise.
49658         * rt/timer_delete.c: Likewise.
49659         * rt/timer_getoverr.c: Likewise.
49660         * rt/timer_gettime.c: Likewise.
49661         * rt/timer_settime.c: Likewise.
49662         * setjmp/__longjmp.c: Likewise.
49663         * setjmp/setjmp.c: Likewise.
49664         * signal/kill.c: Likewise.
49665         * signal/killpg.c: Likewise.
49666         * signal/raise.c: Likewise.
49667         * signal/sigaction.c: Likewise.
49668         * signal/sigaltstack.c: Likewise.
49669         * signal/sigblock.c: Likewise.
49670         * signal/sigignore.c: Likewise.
49671         * signal/sigintr.c: Likewise.
49672         * signal/signal.c: Likewise.
49673         * signal/sigpause.c: Likewise.
49674         * signal/sigpending.c: Likewise.
49675         * signal/sigqueue.c: Likewise.
49676         * signal/sigreturn.c: Likewise.
49677         * signal/sigset.c: Likewise.
49678         * signal/sigsetmask.c: Likewise.
49679         * signal/sigstack.c: Likewise.
49680         * signal/sigsuspend.c: Likewise.
49681         * signal/sigtimedwait.c: Likewise.
49682         * signal/sigvec.c: Likewise.
49683         * signal/sigwait.c: Likewise.
49684         * signal/sigwaitinfo.c: Likewise.
49685         * signal/sysv_signal.c: Likewise.
49686         * socket/accept.c: Likewise.
49687         * socket/accept4.c: Likewise.
49688         * socket/bind.c: Likewise.
49689         * socket/connect.c: Likewise.
49690         * socket/getpeername.c: Likewise.
49691         * socket/getsockname.c: Likewise.
49692         * socket/getsockopt.c: Likewise.
49693         * socket/isfdtype.c: Likewise.
49694         * socket/listen.c: Likewise.
49695         * socket/recv.c: Likewise.
49696         * socket/recvfrom.c: Likewise.
49697         * socket/recvmsg.c: Likewise.
49698         * socket/send.c: Likewise.
49699         * socket/sendmsg.c: Likewise.
49700         * socket/sendto.c: Likewise.
49701         * socket/setsockopt.c: Likewise.
49702         * socket/shutdown.c: Likewise.
49703         * socket/sockatmark.c: Likewise.
49704         * socket/socket.c: Likewise.
49705         * socket/socketpair.c: Likewise.
49706         * stdio-common/ctermid.c: Likewise.
49707         * stdio-common/cuserid.c: Likewise.
49708         * stdio-common/remove.c: Likewise.
49709         * stdio-common/rename.c: Likewise.
49710         * stdio-common/renameat.c: Likewise.
49711         * stdio-common/tempname.c: Likewise.
49712         * stdlib/getcontext.c: Likewise.
49713         * stdlib/makecontext.c: Likewise.
49714         * stdlib/setcontext.c: Likewise.
49715         * stdlib/swapcontext.c: Likewise.
49716         * stdlib/system.c: Likewise.
49717         * streams/fattach.c: Likewise.
49718         * streams/fdetach.c: Likewise.
49719         * streams/getmsg.c: Likewise.
49720         * streams/getpmsg.c: Likewise.
49721         * streams/putmsg.c: Likewise.
49722         * streams/putpmsg.c: Likewise.
49723         * sysdeps/unix/bsd/getpt.c: Likewise.
49724         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
49725         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
49726         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49728         Likewise.
49729         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
49730         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49731         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49732         * sysvipc/msgctl.c: Likewise.
49733         * sysvipc/msgget.c: Likewise.
49734         * sysvipc/msgrcv.c: Likewise.
49735         * sysvipc/msgsnd.c: Likewise.
49736         * sysvipc/semctl.c: Likewise.
49737         * sysvipc/semget.c: Likewise.
49738         * sysvipc/semop.c: Likewise.
49739         * sysvipc/semtimedop.c: Likewise.
49740         * sysvipc/shmat.c: Likewise.
49741         * sysvipc/shmctl.c: Likewise.
49742         * sysvipc/shmdt.c: Likewise.
49743         * sysvipc/shmget.c: Likewise.
49744         * termios/tcdrain.c: Likewise.
49745         * termios/tcflow.c: Likewise.
49746         * termios/tcflush.c: Likewise.
49747         * termios/tcgetattr.c: Likewise.
49748         * termios/tcgetpgrp.c: Likewise.
49749         * termios/tcsendbrk.c: Likewise.
49750         * termios/tcsetattr.c: Likewise.
49751         * termios/tcsetpgrp.c: Likewise.
49752         * time/adjtime.c: Likewise.
49753         * time/clock.c: Likewise.
49754         * time/getitimer.c: Likewise.
49755         * time/gettimeofday.c: Likewise.
49756         * time/setitimer.c: Likewise.
49757         * time/settimeofday.c: Likewise.
49758         * time/stime.c: Likewise.
49759         * time/time.c: Likewise.
49761 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
49763         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
49764         /usr/old/bin.
49766         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
49767         instead of spaces.
49768         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
49770 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
49772         [BZ #14796]
49773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
49774         FE_TONEAREST before applying Dekker multiplication and Knuth
49775         addition.  Clear inexact exceptions and check for exact zero
49776         results afterwards.
49777         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49780         * math/libm-test.inc (fma_test): Add more tests.
49781         (fma_test_towardzero): Likewise.
49782         (fma_test_downward): Likewise.
49783         (fma_test_upward): Likewise.
49784         * sysdeps/generic/math_private.h (default_libc_fesetround): New
49785         function.
49786         (libc_fesetround): New macro.
49787         (libc_fesetroundf): Likewise.
49788         (libc_fesetroundl): Likewise.
49789         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
49790         function.
49791         (libc_fesetround_387): Likewise.
49792         (libc_fesetroundf): New macro.
49793         (libc_fesetround): Likewise.
49794         (libc_fesetroundl): Likewise.
49795         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
49796         function.
49797         (libc_fesetroundf): New macro.
49798         (libc_fesetround): Likewise.
49799         (libc_fesetroundl): Likewise.
49800         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
49801         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
49802         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
49803         libm_hidden_ver.
49804         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
49805         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
49806         libm_hidden_def.
49807         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
49808         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49809         libm_hidden_ver.
49810         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
49811         libm_hidden_def.
49813         [BZ #3439]
49814         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
49815         integer constant usable in #if and use that to give value to enum
49816         constant.
49817         (FE_DIVBYZERO): Likewise.
49818         (FE_UNDERFLOW): Likewise.
49819         (FE_OVERFLOW): Likewise.
49820         (FE_INVALID): Likewise.
49821         (FE_INVALID_SNAN): Likewise.
49822         (FE_INVALID_ISI): Likewise.
49823         (FE_INVALID_IDI): Likewise.
49824         (FE_INVALID_ZDZ): Likewise.
49825         (FE_INVALID_IMZ): Likewise.
49826         (FE_INVALID_COMPARE): Likewise.
49827         (FE_INVALID_SOFTWARE): Likewise.
49828         (FE_INVALID_SQRT): Likewise.
49829         (FE_INVALID_INTEGER_CONVERSION): Likewise.
49830         (FE_TONEAREST): Likewise.
49831         (FE_TOWARDZERO): Likewise.
49832         (FE_UPWARD): Likewise.
49833         (FE_DOWNWARD): Likewise.
49834         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
49835         (FE_DIVBYZERO): Likewise.
49836         (FE_OVERFLOW): Likewise.
49837         (FE_UNDERFLOW): Likewise.
49838         (FE_INEXACT): Likewise.
49839         (FE_TONEAREST): Likewise.
49840         (FE_DOWNWARD): Likewise.
49841         (FE_UPWARD): Likewise.
49842         (FE_TOWARDZERO): Likewise.
49843         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
49844         (FE_UNDERFLOW): Likewise.
49845         (FE_OVERFLOW): Likewise.
49846         (FE_DIVBYZERO): Likewise.
49847         (FE_INVALID): Likewise.
49848         (FE_TONEAREST): Likewise.
49849         (FE_TOWARDZERO): Likewise.
49850         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
49851         (FE_OVERFLOW): Likewise.
49852         (FE_UNDERFLOW): Likewise.
49853         (FE_DIVBYZERO): Likewise.
49854         (FE_INEXACT): Likewise.
49855         (FE_TONEAREST): Likewise.
49856         (FE_TOWARDZERO): Likewise.
49857         (FE_UPWARD): Likewise.
49858         (FE_DOWNWARD): Likewise.
49859         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
49860         (FE_DIVBYZERO): Likewise.
49861         (FE_OVERFLOW): Likewise.
49862         (FE_UNDERFLOW): Likewise.
49863         (FE_INEXACT): Likewise.
49864         (FE_TONEAREST): Likewise.
49865         (FE_DOWNWARD): Likewise.
49866         (FE_UPWARD): Likewise.
49867         (FE_TOWARDZERO): Likewise.
49869 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
49871         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
49873 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
49875         * scripts/cross-test-ssh.sh (command): Use newlines to separate
49876         commands.  Quote $PWD.
49877         (blacklist_exports): Don't use remove_newlines.  Replace "declare
49878         -x" by "export".
49879         (remove_newlines): Remove.
49881 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
49883         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
49884         * stdlib/stdlib.h (atof): Moved to ...
49885         * include/bits/stdlib-float.h: Here.  New file.
49886         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
49887         * stdlib/bits/stdlib-float.h: New file.
49888         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
49889         -mno-sse -mno-mmx.
49890         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
49891         <xmmintrin.h>.
49893 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49895         * conform/conformtest.pl (@headers): Add fenv.h.
49896         * conform/data/fenv.h-data: New file.
49897         * include/fenv.h [_ISOMAC]: Disable all contents of file except
49898         include of <math/fenv.h>.
49900         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
49901         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
49902         && !UNIX98].  Enables tests for XOPEN2K8.
49903         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
49904         POSIX2008]: Likewise.
49906         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
49907         (struct rusage): Do not expect type or its members.
49909         [BZ #3439]
49910         * math/math.h (FP_NAN): Define macro to integer constant usable in
49911         #if and use that to give value to enum constant.
49912         (FP_INFINITE): Likewise.
49913         (FP_ZERO): Likewise.
49914         (FP_SUBNORMAL): Likewise.
49915         (FP_NORMAL): Likewise.
49917 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
49919         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
49920         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
49921         arguments.
49923 2012-11-02  Roland McGrath  <roland@hack.frob.com>
49925         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
49926         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
49927         autoconf-time if not.
49928         * configure.in: Remove AC_PREREQ.
49930 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49932         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
49933         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
49934         of the internal implementation.
49936 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49938         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49939         except include of <misc/sys/syslog.h>.
49941 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49944         function returns with a NULL context exit with zero.
49946 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49948         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49950 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49952         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49953         (run_program_cmd): This.
49954         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49955         (tst_langinfo): New variable.  Use it.
49957 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49959         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49960         floating point opcodes.
49962 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49964         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49965         variable.
49967         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49969         * sysdeps/mach/hurd/powerpc: Remove directory.
49970         * sysdeps/mach/powerpc: Likewise.
49972 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49974         * scripts/check-local-headers.sh: Ignore c++ headers.
49976 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49978         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49979         __libc_cleanup_region_start argument.
49981 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49983         [BZ #14784]
49984         [BZ #14785]
49985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49986         x * y using scaling, not as x * y + z.
49987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49988         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49989         * math/libm-test.inc (fma_test): Add more tests.
49990         (fma_test_towardzero): Likewise.
49991         (fma_test_downward): Likewise.
49992         (fma_test_upward): Likewise.
49994 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49996         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49998 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50000         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50001         New variable.
50003 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50005         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50007 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50010         Fix sort order.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50012         Likewise.
50014 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50017         Fix the order of the list for glibc 2.17.
50018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50019         Likewise.
50021 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50025 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50027         [BZ #14610]
50028         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50029         for low part of x being zero before using __atanl (y).
50030         * math/libm-test.inc (atan2_test): Add another test.
50032         * manual/install.texi (Configuring and compiling): Document
50033         general use of test-wrapper and test-wrapper-env.
50034         * INSTALL: Regenerated.
50036         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50037         (__fma): Do not extract and scale down low bits on after-rounding
50038         systems when result rounded to normal precision would have normal
50039         exponent.
50040         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50041         (__fmal): Do not extract and scale down low bits on after-rounding
50042         systems when result rounded to normal precision would have normal
50043         exponent.
50044         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50045         (__fmal): Do not extract and scale down low bits on after-rounding
50046         systems when result rounded to normal precision would have normal
50047         exponent.
50048         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50049         macro.
50050         (fma_test): Add more tests.
50051         (fma_test_towardzero): Likewise.
50052         (fma_test_downward): Likewise.
50053         (fma_test_upward): Likewise.
50055 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50057         * sysdeps/i386/tininess.h: Renamed to ...
50058         * sysdeps/x86/tininess.h: This.
50059         * sysdeps/x86_64/tininess.h: Removed.
50061 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50063         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50064         input.  Use $(build-program-cmd).
50065         ($(objpfx)tst-array1-static.out): Likewise.
50066         ($(objpfx)tst-array2.out): Likewise.
50067         ($(objpfx)tst-array3.out): Likewise.
50068         ($(objpfx)tst-array4.out): Likewise.
50069         ($(objpfx)tst-array5.out): Likewise.
50070         ($(objpfx)tst-array5-static.out): Likewise.
50072 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50074         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50075         if defined.
50077         * nss/nsswitch.h (nss_interface_function): Provide new
50078         macro for use with NSS functions.
50079         * grp/initgroups.c: Use new macro.
50080         * nss/getXXbyYY.c: Likewise.
50081         * nss/getXXbyYY_r.c: Likewise.
50082         * nss/getXXent.c: Likewise.
50083         * nss/getXXent_r.c: Likewise.
50084         * sysdeps/posix/getaddrinfo.c: Likewise.
50086 2012-10-30  Andreas Jaeger  <aj@suse.de>
50088         * po/ru.po: Update Russion translation from translation project.
50090 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50092         [BZ #14152]
50093         [BZ #14783]
50094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50095         result and shift together with sticky bit instead of replicating
50096         round-to-nearest rounding.
50097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50099         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50100         missing underflow exceptions.
50101         (fma_test_towardzero): Add more tests.
50102         (fma_test_downward): Likewise.
50103         (fma_test_upward): Likewise.
50105         [BZ #14047]
50106         * sysdeps/generic/tininess.h: New file.
50107         * sysdeps/i386/tininess.h: Likewise.
50108         * sysdeps/sh/tininess.h: Likewise.
50109         * sysdeps/x86_64/tininess.h: Likewise.
50110         * stdlib/tst-strtod-underflow.c: Likewise.
50111         * stdlib/tst-tininess.c: Likewise.
50112         * stdlib/strtod_l.c: Include <tininess.h>.
50113         (round_and_return): Do not set errno for exact underflow cases.
50114         Force an underflow exception when setting errno for underflow.
50115         Determine underflow based on rounding to normal precision if
50116         TININESS_AFTER_ROUNDING.
50117         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50118         ERANGE for exact underflow cases.
50119         * stdlib/Makefile (tests): Add tst-tininess and
50120         tst-strtod-underflow.
50121         ($(objpfx)tst-tininess): Use $(link-libm).
50122         ($(objpfx)tst-strtod-underflow): Likewise.
50124 2012-10-30  Andreas Jaeger  <aj@suse.de>
50126         [BZ#14767]
50127         * elf/Makefile (tests): Remove conditional for have-initfini-array
50128         since this is now always required and the variable does not exist
50129         anymore.
50130         (tests-static): Likewise.
50131         (modules-names): Likewise.
50133         * po/eo.po: Add Esperanto translation from translation project.
50135         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50136         merged with constructor/destructor.
50137         (init_array): Likewise.
50138         * elf/tst-array2dep.c (fini_array): Likewise.
50139         (init_array): Likewise.
50141 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50143         * manual/message.texi: Delete @cartouche tags.
50145 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50147         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50148         EOPNOTSUPP.
50149         * sysdeps/mach/hurd/fsync.c: Likewise.
50151         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50152         [_POSIX_REALTIME_SIGNALS]: Change condition to
50153         [_POSIX_REALTIME_SIGNALS > 0].
50155 2012-10-27  Andreas Jaeger  <aj@suse.de>
50157         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50158         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50159         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50160         [__WORDSIZE != 64]: Likewise.
50162 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50164         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50165         *  iconvdata/tst-tables.sh: Likewise.
50167 2012-10-25  David S. Miller  <davem@davemloft.net>
50169         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50170         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50171         of strtoull.
50173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50174         ifunc-impl-list.c
50175         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50176         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50177         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50178         file.
50180 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50182         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50183         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50184         __getdirentries.
50186 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50187             Jim Blandy  <jimb@codesourcery.com>
50189         * scripts/cross-test-ssh.sh: New file.
50190         * manual/install.texi (Configuring and compiling): Document use of
50191         cross-test-ssh.sh.
50192         * INSTALL: Regenerated.
50194 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50196         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50197         EOPNOTSUPP.
50199 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50201         * Makeconfig (run-program-prefix): Fix comment.
50203 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50204             Jim Blandy  <jimb@codesourcery.com>
50206         * Makeconfig (test-wrapper): New variable,
50207         (test-wrapper-env): Likewise.
50208         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50209         (run-built-tests): Define to yes.
50210         (run-program-prefix): Use $(test-wrapper).
50211         (built-program-cmd): Likewise.
50212         * Rules (make-test-out): Use $(test-wrapper-env) and
50213         $(host-built-program-cmd).
50214         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50215         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50216         tst-pathopt.sh.
50217         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50218         $(test-wrapper-env) to tst-rtld-load-self.sh.
50219         ($(objpfx)order2.out): Use $(test-wrapper).
50220         ($(objpfx)tst-initorder.out): Likewise.
50221         ($(objpfx)tst-initorder2.out): Likewise.
50222         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50223         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50224         (test_wrapper_env): New variable.  Use it to run ld.so.
50225         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50226         Use it to run ld.so.
50227         (test_wrapper_env): Likewise.
50228         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50229         $(test-wrapper) to run-iconv-test.sh.
50230         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50231         (ICONV): Use $test_wrapper.
50232         * posix/Makefile ($(objpfx)globtest.out): Pass
50233         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50234         globtest.sh, not $(run-program-prefix).
50235         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50236         (test_wrapper): Likewise.
50237         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50238         set together with run_via_rtld_prefix.
50239         (run_program_prefix): Define in terms of test_wrapper and
50240         run_via_rtld_prefix.
50242 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50244         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50245         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50246         Targets removed.
50248         [BZ #14743]
50249         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50250         Declare __clock_getres, __clock_gettime, __clock_settime,
50251         __clock_nanosleep, and __clock_getcpuclockid.
50252         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50253         Remove librt_hidden_def (clock_gettime).
50254         * sysdeps/unix/clock_gettime.c: Likewise.
50255         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50256         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50257         * rt/clock_getres.c: Define __clock_getres as an alias.
50258         * sysdeps/posix/clock_getres.c: Likewise.
50259         * rt/clock_settime.c: Define __clock_settime as an alias.
50260         * sysdeps/unix/clock_settime.c: Likewise.
50261         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50262         * sysdeps/unix/clock_nanosleep.c: Likewise.
50263         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50264         * rt/clock-compat.c: New file.
50265         * rt/Makefile (librt-routines): Add clock-compat and move
50266         $(clock-routines) to ...
50267         (routines): ... here, new variable.
50268         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50269         Don't add get_clockfreq here.
50270         * rt/Versions (libc: GLIBC_2.17): New version set.
50271         Add clock_* symbols here.
50272         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50273         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50274         (GLIBC_2.17): Add clock_* symbols.
50275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50279         Likewise.
50280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50281         Likewise.
50282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50286         * NEWS: Mention the move.
50288         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50289         Use __open, __read, __close rather than their public counterparts.
50290         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50291         (__get_clockfreq_via_cpuinfo): Likewise.
50292         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50293         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50295         * config.h.in (HAVE_IFUNC): New #undef.
50296         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50297         was successful.
50298         * configure: Regenerated.
50300 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50302         * configure.in: Move READELF check to start of file.
50303         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50304         libc_cv_asm_gnu_indirect_function in the process.
50305         * configure: Regenerated.
50307 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50309         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50310         send the output to /dev/null.
50311         (libc_cv_cc_with_libunwind): Likewise.
50312         (libc_cv_as_noexecstack): Likewise.
50313         * configure: Regenerate.
50315 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50317         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50319         * posix/globtest.sh (TMPDIR): Do not set.
50320         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50321         (testout): Likewise.
50323 2012-10-24  Andreas Jaeger  <aj@suse.de>
50325         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50326         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50327         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50328         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50329         posix_fadvise64, posix_fallocate64.
50331         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50332         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50333         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50334         Likewise.
50335         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50336         Likewise.
50337         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50340         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50341         <bits/fcntl-linux.h>.
50342         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50345         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50346         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50347         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50348         [__WORDSIZE != 64]: Likewise.
50350 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50352         * Makeconfig (run-built-tests): New variable.
50353         * Rules [$(cross-compiling) = yes]: Change condition to
50354         [$(run-built-tests) = no].
50355         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50356         to [$(run-built-tests) = yes].
50357         * elf/Makefile [$(cross-compiling) = no]: Likewise
50358         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50359         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50360         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50361         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50362         * io/Makefile [$(cross-compiling) = no]: Likewise.
50363         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50364         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50365         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50366         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50367         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50368         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50369         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50370         * string/Makefile [$(cross-compiling) = no]: Likewise.
50372         * posix/Makefile ($(objpfx)globtest.out): Pass
50373         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50374         $(rtld-installed-name).
50375         * posix/globtest.sh (elf_objpfx): Remove variable.
50376         (rtld_installed_name): Likewise.
50377         (library_path): Likewise.
50378         (run_program_prefix): New variable.  Use for running globtest
50379         binary.
50381 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50382             Joseph Myers  <joseph@codesourcery.com>
50384         * Makeconfig (host-built-program-cmd): New variable.
50385         * elf/Makefile (tst-stackguard1-ARGS): Use
50386         $(host-built-program-cmd).
50387         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50388         (tst-spawn-ARGS): Likewise.
50389         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50391 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50392             Jim Blandy  <jimb@codesourcery.com>
50394         * Makeconfig (run-via-rtld-prefix): New variable.
50395         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50396         (built-program-cmd): Likewise.
50398 2012-10-22  Andreas Jaeger  <aj@suse.de>
50400         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50401         __O_RSYNC if it exists, otherwise to O_SYNC.
50403 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50404             Joseph Myers  <joseph@codesourcery.com>
50406         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50407         /dev/null.
50408         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50409         from /dev/null
50410         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50411         /dev/null.
50413 2012-10-22  Andreas Jaeger  <aj@suse.de>
50415         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50416         Define always.
50417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50419         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50420         bits/fcntl-linux.h.
50422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50423         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50426         to __O_LARGEFILE.
50427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50428         to __O_LARGEFILE.
50430 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50431             Joseph Myers  <joseph@codesourcery.com>
50433         * config.make.in (NM): New variable.
50435 2012-10-21  Andreas Jaeger  <aj@suse.de>
50437         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50438         definitions and declarations that are provided by
50439         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50441 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50443         [BZ #14683]
50444         * elf/Makefile (tests-static): Add tst-leaks1-static.
50445         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50446         ($(objpfx)tst-leaks1-static): New rule.
50447         ($(objpfx)tst-leaks1-static-mem): Likewise.
50448         (tst-leaks1-static-ENV): New macro.
50449         * elf/dl-open.c (dl_open_worker): Check the main application
50450         only if SHARED is defined.
50451         * elf/tst-leaks1-static.c: New file.
50453 2012-10-20  Andreas Jaeger  <aj@suse.de>
50455         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50456         generic values for Linux.
50457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50458         and declarations that are provided by <bits/fcntl-linux.h> and
50459         include <bits/fcntl-linux.h>.
50460         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50463 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50465         * io/fcntl.h: Move include of <bits/types.h> to the top and
50466         include it unconditionally.
50468 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50470         * wcsmbs/Makefile (tests-ifunc): New variable.
50471         (tests): Add $(tests-ifunc).
50472         * wcsmbs/test-wcschr-ifunc.c: New file.
50473         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50474         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50475         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50476         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50477         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50479         * string/Makefile (tests-ifunc): New variable.
50480         (tests): Add $(tests-ifunc).
50481         * string/test-memccpy.c (TEST_NAME): New macro.
50482         * string/test-memchr.c (TEST_NAME): Likewise.
50483         * string/test-memcmp.c (TEST_NAME): Likewise.
50484         * string/test-memcpy.c (TEST_NAME): Likewise.
50485         * string/test-memmem.c (TEST_NAME): Likewise.
50486         * string/test-memmove.c (TEST_NAME): Likewise.
50487         * string/test-memset.c (TEST_NAME): Likewise.
50488         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50489         * string/test-stpcpy.c (TEST_NAME): Likewise.
50490         * string/test-stpncpy.c (TEST_NAME): Likewise.
50491         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50492         * string/test-strcasestr.c (TEST_NAME): Likewise.
50493         * string/test-strcat.c (TEST_NAME): Likewise.
50494         * string/test-strchr.c (TEST_NAME): Likewise.
50495         * string/test-strcmp.c(TEST_NAME): Likewise.
50496         * string/test-strcpy.c (TEST_NAME): Likewise.
50497         * string/test-strcspn.c (TEST_NAME): Likewise.
50498         * string/test-strlen.c (TEST_NAME): Likewise.
50499         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50500         * string/test-strncmp.c (TEST_NAME): Likewise.
50501         * string/test-strncpy.c (TEST_NAME): Likewise.
50502         * string/test-strnlen.c (TEST_NAME): Likewise.
50503         * string/test-strpbrk.c (TEST_NAME): Likewise.
50504         * string/test-strrchr.c (TEST_NAME): Likewise.
50505         * string/test-strspn.c (TEST_NAME): Likewise.
50506         * string/test-strstr.c (TEST_NAME): Likewise.
50507         * string/test-bcopy-ifunc.c: New file.
50508         * string/test-bzero-ifunc.c: Likewise.
50509         * string/test-memccpy-ifunc.c: Likewise.
50510         * string/test-memchr-ifunc.c: Likewise.
50511         * string/test-memcmp-ifunc.c: Likewise.
50512         * string/test-memcpy-ifunc.c: Likewise.
50513         * string/test-memmem-ifunc.c: Likewise.
50514         * string/test-memmove-ifunc.c: Likewise.
50515         * string/test-mempcpy-ifunc.c: Likewise.
50516         * string/test-memset-ifunc.c: Likewise.
50517         * string/test-rawmemchr-ifunc.c: Likewise.
50518         * string/test-stpcpy-ifunc.c: Likewise.
50519         * string/test-stpncpy-ifunc.c: Likewise.
50520         * string/test-strcasecmp-ifunc.c: Likewise.
50521         * string/test-strcasestr-ifunc.c: Likewise.
50522         * string/test-strcat-ifunc.c: Likewise.
50523         * string/test-strchr-ifunc.c: Likewise.
50524         * string/test-strchrnul-ifunc.c: Likewise.
50525         * string/test-strcmp-ifunc.c: Likewise.
50526         * string/test-strcpy-ifunc.c: Likewise.
50527         * string/test-strcspn-ifunc.c: Likewise.
50528         * string/test-strlen-ifunc.c: Likewise.
50529         * string/test-strncasecmp-ifunc.c: Likewise.
50530         * string/test-strncat-ifunc.c: Likewise.
50531         * string/test-strncmp-ifunc.c: Likewise.
50532         * string/test-strncpy-ifunc.c: Likewise.
50533         * string/test-strnlen-ifunc.c: Likewise.
50534         * string/test-strpbrk-ifunc.c: Likewise.
50535         * string/test-strrchr-ifunc.c: Likewise.
50536         * string/test-strspn-ifunc.c: Likewise.
50537         * string/test-strstr-ifunc.c: Likewise.
50539         * debug/Makefile (tests-ifunc): New variable.
50540         (tests): Add $(tests-ifunc).
50541         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
50542         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
50543         * debug/test-stpcpy_chk-ifunc.c: New file.
50544         * debug/test-strcpy_chk-ifunc.c: Likewise.
50546 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50548         [BZ #13601]
50549         * elf/dl-load.c (open_verify): Retry read if the entire ELF
50550         header is not read in.
50552 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
50554         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
50555         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
50556         directly.  Pass built executable to script as
50557         $(built-program-cmd).
50558         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
50559         $testprogram without using LD_LIBRARY_PATH and $ldso.
50561         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
50562         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
50563         $(rtld-installed-name).
50564         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
50565         (rtld_installed_name): Likewise.
50566         (library_path): Likewise.
50567         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
50568         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
50569         $(run-program-prefix) to tst-tables.sh.
50570         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
50571         it to run tst-table-from and tst-table-to.
50572         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
50573         Pass it to tst-table.sh.
50574         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
50575         $(run-program-prefix) to tst-gettext.sh.
50576         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
50577         tst-translit.sh.
50578         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
50579         tst-gettext2.sh.
50580         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
50581         to run tst-gettext.
50582         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
50583         to run tst-gettext2.
50584         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
50585         to run tst-translit.
50586         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
50587         $(run-program-prefix) to tst-mtrace.sh.
50588         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
50589         to run tst-mtrace.
50590         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
50591         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
50592         $(rtld-installed-name).
50593         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
50594         (rtld_installed_name): Likewise.
50595         (run_program_prefix): New variable.  Use it to run wordexp-test.
50597         * Makeconfig (ARCH): Remove all definitions.
50598         (machine): Likewise.
50599         [ARCH]: Remove conditional code.
50600         [!objdir]: Give error.
50601         [!objdir] (objpfx): Remove.
50602         [!objdir] (common-objpfx): Likewise.
50603         [!objdir] (common-objdir): Likewise.
50604         * configure.in (config_makefile): Remove.  Hardcode Makefile in
50605         AC_CONFIG_FILES call.
50606         * configure: Regenerated.
50608         [BZ #13888]
50609         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
50610         or TMPDIR.
50611         (testout): Likewise.
50613         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
50614         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
50615         $(rtld-installed-name).
50616         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
50617         (rtld_installed_name): Likwise.
50618         (runit): Remove function.
50619         (run_getconf): New variable,  Use it for running getconf binary.
50621 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
50623         [BZ #14716]
50624         * string/test-memmem.c (check_result): New function.
50625         (do_one_test): Use it.
50626         (check1): New function.
50627         (test_main): Use it.
50629 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
50631         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
50633 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
50635         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
50636         (_G_LSEEK64): Likewise.
50637         (_G_MMAP64): Likewise.
50638         (_G_FSTAT64): Likewise.
50639         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
50640         (_G_LSEEK64): Likewise.
50641         (_G_MMAP64): Likewise.
50642         (_G_FSTAT64): Likewise.
50643         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
50644         unconditional.  Call __mmap64 directly.
50645         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
50646         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
50647         __lseek64 directly.
50648         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
50649         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
50650         __mmap64 directly.
50651         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
50652         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50653         __lseek64 directly.
50654         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
50655         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
50656         __lseek64 directly.
50657         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
50658         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
50659         __lseek64 directly.
50660         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
50661         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
50662         __fxstat64 directly.
50663         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
50664         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
50665         unconditional.
50666         (freopen64) [!_G_OPEN64]: Remove conditional code.
50667         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
50668         unconditional.
50669         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
50670         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
50671         unconditional.
50672         (ftello64) [!_G_LSEEK64]: Remove conditional code.
50673         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
50674         unconditional.
50675         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50676         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
50677         unconditional.
50678         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
50679         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
50680         unconditional.
50681         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50682         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
50683         unconditional.
50684         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
50685         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
50686         unconditional.
50687         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
50689 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50691         [BZ #12140]
50692         * manual/memory.texi (Malloc Tunable Parameters): Add note
50693         about free list pointers overwriting some perturb bytes.
50694         Wording suggested by Roland McGrath.
50696 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
50698         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
50699         (lgamma_test): Likewise.
50700         (tgamma_test): Likewise.
50702 2012-10-16  Florian Weimer  <fweimer@redhat.com>
50704         [BZ #14700]
50705         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
50706         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
50708 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
50710         * NEWS: Mention BZ #14716.
50711         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
50712         when removing AVAILABLE1_USES_J macro.
50714 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
50716         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
50717         (__bswap_64): __uint64_t for unsigned 64-bit int.
50719 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
50721         * include/string.h (memmem): Declare libc hidden alias.
50722         * string/memmem.c (memmem): Define libc hidden alias.
50723         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
50724         __read, __close instead of open, read, close.
50726 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
50728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
50729         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
50730         global and hidden.
50731         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
50732         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
50733         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
50734         Likewise.
50735         (__rawmemchr_sse2): Likewise.
50736         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
50737         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
50738         (__strchr_sse2): Likewise.
50739         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
50740         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
50741         (__strcasecmp_sse2): Likewise.
50742         (__strncasecmp_sse2): Likewise.
50743         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
50744         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
50745         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
50746         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
50747         (__strrchr_sse2): Likewise.
50748         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
50749         ifunc-impl-list.c.
50750         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
50751         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
50752         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
50753         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50754         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
50755         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
50756         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50757         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50758         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
50759         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
50760         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
50761         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
50762         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
50763         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
50764         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
50765         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50766         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
50767         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
50768         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
50769         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
50770         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
50771         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
50772         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
50773         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50774         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50775         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50776         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
50777         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
50778         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
50779         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
50781         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
50782         global and hidden.
50783         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
50784         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
50785         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
50786         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
50787         Likewise.
50788         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
50789         Likewise.
50790         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
50791         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
50792         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
50793         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
50794         ifunc-impl-list.c.
50795         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50796         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50797         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50798         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50799         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50800         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50801         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50802         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50803         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50804         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50805         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50806         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50807         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50808         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
50809         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
50810         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50811         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
50812         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
50813         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50814         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50815         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50816         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50817         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50818         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50819         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50820         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
50821         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
50822         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
50823         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
50824         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50825         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
50826         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50827         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50828         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
50829         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50830         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50831         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50832         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50833         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50834         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50835         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
50837         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
50838         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
50839         * include/ifunc-impl-list.h: New file.
50840         * misc/ifunc-impl-list.c: Likewise.
50841         * misc/Makefile (routines): Add ifunc-impl-list.
50842         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
50843         * string/test-string.h: Include <ifunc-impl-list.h>.
50844         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
50845         TEST_NAME]: New variables.
50846         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
50847         are defined.
50848         (test_init): Call __libc_ifunc_impl_list to initialize
50849         func_list if TEST_IFUNC and TEST_NAME are defined.
50851         * string/Makefile (strop-tests): Add bcopy and bzero.
50852         * string/test-bcopy.c: New file.
50853         * string/test-bzero.c: Likewise.
50854         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
50855         defined.
50856         * string/test-memset.c: Support bzero test if TEST_BZERO is
50857         defined.
50858         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
50859         __libc_memmove.
50860         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
50861         __libc_memset.
50862         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
50863         of memset.
50865 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
50867         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
50868         * configure: Regenerated.
50870         * Makeconfig (+link-static-before-libc): Don't include
50871         $(link-static-libc).
50873         * libio/libio.h (_IO_pos_t): Remove.
50875 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50877         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
50878         McGrath.
50880 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50882         * crypt/crypt-entry.c: Include fips-private.h.
50883         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
50884         * crypt/md5c-test.c (main): Tolerate disabled MD5.
50885         * sysdeps/unix/sysv/linux/fips-private.h: New file.
50886         * sysdeps/generic/fips-private.h: New file, dummy fallback.
50888 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
50890         * crypt/crypt-private.h: Include stdbool.h.
50891         (_ufc_setup_salt_r): Return bool.
50892         * crypt/crypt-entry.c: Include errno.h.
50893         (__crypt_r): Return NULL with EINVAL for bad salt.
50894         * crypt/crypt_util.c (bad_for_salt): New.
50895         (_ufc_setup_salt_r): Check that salt is long enough and within
50896         the specified alphabet.
50897         * crypt/badsalttest.c: New file.
50898         * crypt/Makefile (tests): Add it.
50899         ($(objpfx)badsalttest): New.
50901 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
50903         * NEWS: Add entry for BZ #14602.
50905 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50907         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
50908         type-generic.
50909         * math/libm-test.inc: Update comment listing what functions and
50910         macros are tested.
50911         (isgreater_test): New function.
50912         (isgreaterequal_test): Likewise.
50913         (isless_test): Likewise.
50914         (islessequal_test): Likewise.
50915         (islessgreater_test): Likewise.
50916         (isunordered_test): Likewise.
50917         (main): Call the new functions.
50919 2012-10-09  Roland McGrath  <roland@hack.frob.com>
50921         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
50922         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
50923         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
50924         * sysdeps/i386/configure: Regenerated.
50925         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
50926         * sysdeps/mach/configure: Regenerated.
50927         * sysdeps/mach/hurd/configure: Regenerated.
50928         * sysdeps/powerpc/configure: Regenerated.
50929         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50930         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50931         * sysdeps/s390/s390-32/configure: Regenerated.
50932         * sysdeps/s390/s390-64/configure: Regenerated.
50933         * sysdeps/sh/configure: Regenerated.
50934         * sysdeps/sparc/configure: Regenerated.
50935         * sysdeps/unix/sysv/linux/configure: Regenerated.
50936         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50937         * sysdeps/x86_64/configure: Regenerated.
50939         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50940         defined.  Don't check if MAP is NULL.
50942 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50944         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50945         (_G_stat64): Likewise.
50946         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50947         (_G_stat64): Likewise.
50948         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50949         instead of struct _G_stat64.
50950         * libio/fileops.c (mmap_remap_check): Likewise.
50951         (decide_maybe_mmap): Likewise.
50952         (_IO_new_file_seekoff): Likewise.
50953         (_IO_file_stat): Likewise.
50954         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50955         _G_off64_t.
50956         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50957         instead of struct _G_stat64.
50958         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50960 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50962         [BZ #14602]
50963         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50964         Replace with ...
50965         (CHECK_EOL): New macro.
50966         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50967         CHECK_EOL.
50968         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50969         Replace with CHECK_EOL.
50970         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50971         Replace with CHECK_EOL.
50973 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50975         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50976         type-generic.
50977         * math/libm-test.inc: Update comment listing what functions and
50978         macros are tested.
50979         (finite_test): New function.
50980         (isinf_test): Likewise.
50981         (isnan_test): Likewise.
50982         (fpclassify_test): Test subnormal input.
50983         (isfinite_test): Likewise.
50984         (isnormal_test): Likewise.
50985         (main): Call the new functions.
50987 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50989         [BZ #14660]
50990         * Makerules (%.dynsym): Force C locale when running
50991         $(OBJDUMP) --dynamic-syms.
50993 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50995         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50996         <stdint.h>.
50998 2012-10-06  David S. Miller  <davem@davemloft.net>
51000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51001         upper 32-bits of the length value in %o2 since we use branch-on-register
51002         tests which consider the entire 64-bit register.
51004 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51006         * string/test-strstr.c (check2): Add a test for page boundary.
51008 2012-10-05  David S. Miller  <davem@davemloft.net>
51010         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51011         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51012         file.
51013         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51014         sysdep_routines.
51015         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51016         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51017         and bzero when HWCAP_SPARC_CRYPTO is present.
51019 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51021         [BZ #14602]
51022         * string/test-strstr.c (check2): New function.
51023         (test_main): Call check2.
51025         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51026         and bug-strchr1.
51027         * string/bug-strcasestr1.c (do_test): Moved to ...
51028         * string/test-strcasestr.c (check1): Here.  New function.
51029         (do_one_test): Break out result checking code into ...
51030         (check_result): This.  New function.
51031         (do_one_test): Call check_result.
51032         (test_main): Call check1.
51033         * string/bug-strchr1.c (do_test): Moved to ...
51034         * string/test-strchr.c (check1): Here.  New function.
51035         (do_one_test): Break out result checking code into ...
51036         (check_result): This.  New function.
51037         (do_one_test): Call check_result.
51038         (test_main): Call check1.
51039         * string/bug-strstr1.c (main): Moved to ...
51040         * string/test-strstr.c (check1): Here.  New function.
51041         (do_one_test): Break out result checking code into ...
51042         (check_result): This.  New function.
51043         (do_one_test): Call check_result.
51044         (test_main): Call check1.
51045         * string/bug-strcasestr1.c: Removed.
51046         * string/bug-strchr1.c: Likewise.
51047         * string/bug-strstr1.c: Likewise.
51049         * elf/Makefile (dl-routines): Add hwcaps.
51050         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51051         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51052         (_dl_important_hwcaps): Moved to ...
51053         * elf/dl-hwcaps.c: Here.  New file.
51054         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51056         [BZ #14557]
51057         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51058         if IS_IN_rtld isn't defined.
51060         * elf/dl-support.c (_dl_sysinfo_map): New.
51061         Include "get-dynamic-info.h" and "setup-vdso.h".
51062         (_dl_non_dynamic_init): Call setup_vdso.
51063         * elf/dynamic-link.h: Don't include <assert.h>.
51064         (elf_get_dynamic_info): Moved to ...
51065         * elf/get-dynamic-info.h: Here.  New file.
51066         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51067         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51068         * elf/setup-vdso.h: Here.  New file.
51069         * elf/rtld.c: Include "setup-vdso.h".
51070         (dl_main): Call setup_vdso.
51072 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51074         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51075         creal in comment listing functions tested.  List finite, isinf,
51076         isnan, isless, islessequal, isgreater, isgreaterequal,
51077         islessgreater, isunordered, lgamma_r and pow10 as functions and
51078         macros not tested.  Mention which functions not tested are aliases
51079         for other functions.  Fix typo.  Note that signs of NaNs are not
51080         tested.
51082         * scripts/config.guess: Update from config.git.
51083         * scripts/config.sub: Likewise.
51085 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51087         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51088         * misc/madvise.c (madvise): Renamed to __madvise.
51089         Make madvise a weak alias.
51090         * include/sys/mman.h: Declare __madvise.
51091         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51092         * sysdeps/unix/syscalls.list
51093         (madvise): Make __madvise the strong name, and madvise a weak alias.
51094         * sysdeps/unix/sysv/linux/syscalls.list
51095         (madvise, mmap): Remove redundant entries.
51096         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51097         * malloc/malloc.c (mtrim): Likewise.
51098         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51100 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51102         * sysdeps/mach/hurd/dl-cache.c: File removed.
51103         * config.h.in (USE_LDCONFIG): New #undef.
51104         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51105         * configure: Regenerated.
51106         * elf/Makefile (dl-routines): Add dl-cache only under
51107         [$(use-ldconfig) = yes].
51108         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51109         cache on [USE_LDCONFIG].
51110         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51111         [USE_LDCONFIG].
51112         * elf/rtld.c (dl_main): Likewise.
51114 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51116         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51117         _SC_LEVEL4_CACHE_LINESIZE.
51119 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51121         * sysdeps/unix/bsd/confstr.h: File removed.
51123 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51125         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51126         sys/sdt-config.h.
51128 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51130         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51131         Make 'mapoff' field ElfW(Off) rather than off_t.
51133 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51135         * nscd/Makefile: Remove nscd-cflags and all its users.
51136         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51137         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51139         [BZ #10631]
51140         * malloc.c (malloc_printerr): Clarify error message.
51142 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51144         [BZ #14648]
51145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51146         Set bit_FMA_Usable if FMA is supported.
51147         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51148         macro.
51149         (bit_FMA4_Usable): Updated.
51150         (index_FMA_Usable): New macro.
51151         (CPUID_FMA): Likewise
51152         (HAS_FMA): Defined with bit_FMA_Usable.
51154 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51156         * bits/types.h (__swblk_t): Type removed.
51157         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51158         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51160         (__SWBLK_T_TYPE): Likewise.
51161         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51162         (__SWBLK_T_TYPE): Likewise.
51163         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51164         (__SWBLK_T_TYPE): Likewise.
51165         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51166         (__SWBLK_T_TYPE): Likewise.
51168 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51169             Honza Horak <hhorak@redhat.com>
51171         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51172         (xdr_mapname): Use YPMAXMAP as maxsize.
51173         (xdr_peername): Use YPMAXPEER as maxsize.
51174         (xdr_keydat): Use YPAXRECORD as maxsize.
51175         (xdr_valdat): Use YPMAXRECORD as maxsize.
51177 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51179         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51181         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51182         * csu/init-first.c: ... here.
51183         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51184         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51185         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51186         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51187         * sysdeps/i386/init-first.c: File removed.
51188         * sysdeps/sh/init-first.c: File removed.
51190 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51192         [BZ #14645]
51193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51194         if x * y might underflow to zero and z is zero.
51195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51197         * math/libm-test.inc (min_subnorm_value): New variable.
51198         (fma_test): Add more tests.
51199         (fma_test_towardzero): Likewise.
51200         (fma_test_downward): Likewise
51201         (fma_test_upward): Likewise.
51202         (initialize): Set min_subnorm_value.
51204 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51206         [BZ #14638]
51207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51208         0 + 0.
51209         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51210         mode for addition resulting in exact zero.
51211         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51213         exact 0 + 0.
51214         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51215         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51216         * math/libm-test.inc (fma_test): Add more tests.
51217         (fma_test_towardzero): New function.
51218         (fma_test_downward): Likewise.
51219         (fma_test_upward): Likewise.
51220         (main): Call the new functions.
51222 2012-09-28  David S. Miller  <davem@davemloft.net>
51224         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51226 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51228         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51229         instead of SIGALRM.
51231         * sysdeps/gnu/_G_config.h: Moved to ...
51232         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51233         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51234         * sysdeps/generic/_G_config.h: ... here.
51236         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51238         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51240         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51241         Conditionalize target on [libnss_test1.so-version].
51243         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51245         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51246         (elfobjdir): Move out of conditionals.
51248         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51249         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51250         (__nss_lookup_function): Conditionalize label remove_from_tree on
51251         [!DO_STATIC_NSS || SHARED], matching its only use.
51253 2012-09-28  David S. Miller  <davem@davemloft.net>
51255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51256         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51257         file.
51258         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51259         sysdep_routines.
51260         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51261         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51262         when HWCAP_SPARC_CRYPTO is present.
51264 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51266         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51268 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51270         [BZ #6530]
51271         * stdio-common/vfprintf.c (process_string_arg): Revert
51272         2000-07-22 change.
51274 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51276         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51277         for testcase.
51278         * stdio-common/tst-sprintf.c: Include <locale.h>
51279         (main): Test sprintf's handling of incomplete multibyte
51280         characters.
51282 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51284         * elf/dl-runtime.c (VERSYMIDX): Removed.
51285         * elf/dl-version.c (VERSYMIDX): Likewise.
51286         * elf/do-rel.h (VERSYMIDX): Likewise.
51287         (VALIDX): Likewise.
51288         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51289         * elf/rtld.c (VALIDX): Likewise.
51290         (ADDRIDX): Likewise.
51291         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51292         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51293         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51294         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51295         (VALIDX): Likewise.
51296         (ADDRIDX): Likewise.
51298 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51300         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51302 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51304         [BZ #11438]
51305         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51306         to global scope.
51307         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51308         addresses are in the same scope as 192.0.2/24.
51309         * posix/gai.conf: Document new scope table defaults.
51311 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51313         [BZ #5298]
51314         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51315         for ftell.  Compute offsets from write pointers instead.
51316         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51318 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51320         [BZ #14543]
51321         * libio/Makefile (tests): New test case tst-fseek.
51322         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51323         combination works in wide mode.
51324         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51325         state when the external buffer state changes.
51327 2012-09-27  David S. Miller  <davem@davemloft.net>
51329         [BZ #14376]
51330         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51331         pass reloc->r_addend in as the 'high' argument to
51332         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51336 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51338         * rt/tst-aio2.c: Include <pthread.h>.
51339         * rt/tst-aio3.c: Likewise.
51341 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51343         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51345 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51347         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51348         contents on [SHARED].
51350 2012-09-26  Marek Polacek  <polacek@redhat.com>
51352         [BZ #14530]
51353         [BZ #13741]
51354         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51355         for C++ and GCC <4.3 as well as for non GCC compilers.
51357 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51361 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51363         * Makefile.in (all, install): Declare with .PHONY.
51364         Reported by Michael Hope <michael.hope@linaro.org>.
51366 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51368         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51369         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51370         system header.
51371         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51372         Likewise.
51373         (sydep_routines): Add the new and the internal functions.
51374         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51375         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51377         (GLIBC_2.17): Add the new function.
51378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51379         (GLIBC_2.17): Likewise.
51380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51381         (GLIBC_2.17): Likewise.
51382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51383         (GLIBC_2.17): Likewise.
51384         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51386 2012-09-25  Alan Modra  <amodra@gmail.com>
51388         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51389         Add release barrier before setting once_control to say
51390         initialisation is done.  Add hints on lwarx.  Use macro in
51391         place of isync.
51392         (clear_once_control): Add release barrier.
51394 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51396         [BZ #13629]
51397         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51398         specially.
51399         * math/s_clog10.c (__clog10): Likewise.
51400         * math/s_clog10f.c (__clog10f): Likewise.
51401         * math/s_clog10l.c (__clog10l): Likewise.
51402         * math/s_clogf.c (__clogf): Likewise.
51403         * math/s_clogl.c (__clogl): Likewise.
51404         * math/Makefile (libm-calls): Add x2y2m1.
51405         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51406         (__x2y2m1): Likewise.
51407         (__x2y2m1l): Likewise.
51408         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51409         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51410         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51412         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51413         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51414         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51415         * sysdeps/i386/fpu/libm-test-ulps: Update.
51416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51418         [BZ #14621]
51419         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51420         int as type of variable DEPTH.
51421         (glob): Use size_t instead of int as type of variables NEWCOUNT
51422         and OLD_PATHC.
51424 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51426         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51427         Add s_sincosf-sse2.
51428         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51429         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51430         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51431         macros for using routine as __sincosf_ia32.
51432         Use macro for function declaration and weak_alias.
51433         * sysdeps/i386/fpu/libm-test-ulps: Update.
51435         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51438         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51439         subnormal argument.
51440         * math/s_cexpf.c (__cexpf): Likewise.
51441         * math/s_csinf.c (__csinf): Likewise.
51442         * math/s_csinhf.c (__csinhf): Likewise.
51443         * math/s_ctanf.c (__ctanf): Likewise.
51444         * math/s_ctanhf.c (__ctanhf): Likewise.
51445         * math/s_ccosh.c (__ccoshf): Likewise.
51446         * math/s_cexp.c (__cexpl): Likewise.
51447         * math/s_csin.c (__csin): Likewise.
51448         * math/s_csinh.c (__csinh): Likewise.
51449         * math/s_ctan.c (__ctan): Likewise.
51450         * math/s_ctanh.c (ctanh): Likewise.
51451         * math/s_ccoshl.c (__ccoshl): Likewise.
51452         * math/s_cexpl.c (__cexpl): Likewise.
51453         * math/s_csinl.c (__csinl): Likewise.
51454         * math/s_csinhl.c (__csinhl): Likewise.
51455         * math/s_ctanl.c (__ctanl): Likewise.
51456         * math/s_ctanhl.c (__ctanhl): Likewise.
51458 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51460         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51461         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51462         (_IO_off_t): Define to __off_t, not _G_off_t.
51463         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51464         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51465         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51466         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51467         type of __dummy and __dummy2 fields.
51468         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51469         (_G_ssize_t): Likewise.
51470         (_G_off_t): Likewise.
51471         (_G_pid_t): Likewise.
51472         (_G_uid_t): Likewise.
51473         (_G_wchar_t): Likewise.
51474         (_G_wint_t): Likewise.
51475         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51476         (_G_ssize_t): Likewise.
51477         (_G_off_t): Likewise.
51478         (_G_pid_t): Likewise.
51479         (_G_uid_t): Likewise.
51480         (_G_wchar_t): Likewise.
51481         (_G_wint_t): Likewise.
51482         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51483         (_G_ssize_t): Likewise.
51484         (_G_off_t): Likewise.
51485         (_G_pid_t): Likewise.
51486         (_G_uid_t): Likewise.
51487         (_G_wchar_t): Likewise.
51488         (_G_wint_t): Likewise.
51490 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51492         * malloc/arena.c: Include malloc-sysdep.h.
51493         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51494         is sufficient to shrink the heap or an unmap is needed.
51495         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51496         new function check_may_shrink_heap.
51497         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51498         new function check_may_shrink_heap.
51500 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51502         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
51503         comments.
51505 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
51507         * catgets/test-gencat.sh: Add "set -e".
51508         * elf/tst-pathopt.sh: Likewise.
51509         * grp/tst_fgetgrent.sh: Likewise.
51510         * iconvdata/run-iconv-test.sh: Likewise.
51511         * intl/tst-gettext.sh: Likewise.
51512         * intl/tst-gettext2.sh: Likewise.
51513         * intl/tst-gettext4.sh: Likewise.
51514         * intl/tst-gettext6.sh: Likewise.
51515         * intl/tst-translit.sh: Likewise.
51516         * io/ftwtest-sh: Likewise.
51517         * libio/test-freopen.sh: Likewise.
51518         * malloc/tst-mtrace.sh: Likewise.
51519         * posix/globtest.sh: Likewise.
51520         * posix/tst-getconf.sh: Likewise.
51521         * posix/wordexp-tst.sh: Likewise.
51522         * stdio-common/tst-printf.sh: Likewise.
51523         * stdio-common/tst-unbputc.sh: Likewise.
51524         * stdlib/tst-fmtmsg.sh: Likewise.
51525         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51526         * catgets/Makefile: Do not specify -e option when running
51527         testsuite shell scripts.
51528         * elf/Makefile: Likewise.
51529         * grp/Makefile: Likewise.
51530         * iconvdata/Makefile: Likewise.
51531         * intl/Makefile: Likewise.
51532         * io/Makefile: Likewise.
51533         * libio/Makefile: Likewise.
51534         * malloc/Makefile: Likewise.
51535         * posix/Makefile: Likewise.
51536         * stdio-common/Makefile: Likewise.
51537         * stdlib/Makefile: Likewise.
51538         * sysdeps/x86_64/Makefile: Likewise.
51540         * io/ftwtest-sh: Add copyright header.
51541         * posix/globtest.sh: Likewise.
51542         * posix/tst-getconf.sh: Likewise.
51543         * posix/wordexp-tst.sh: Likewise.
51544         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
51546 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
51548         [BZ #13679]
51549         * Makeconfig (+link): Defined as $(+link-static) if
51550         $(build-shared) isn't yes.
51551         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
51552         isn't yes.
51553         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
51555         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
51557         [BZ #14562]
51558         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
51559         new chunk size with MALLOC_ALIGN_MASK.
51561 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
51563         [BZ #5044]
51564         * stdio-common/printf_fphex.c: Include <stdbool.h> and
51565         <rounding-mode.h>.
51566         (__printf_fphex): Determine rounding using get_rounding_mode and
51567         round_away.
51568         * stdio-common/tst-printf-round.c (struct hex_test): New
51569         structure.
51570         (hex_tests): New variable.
51571         (test_hex_in_one_mode): New function.
51572         (do_test): Also run tests for hex float output.
51574 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
51576         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51577         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51578         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
51579         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
51580         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
51581         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
51582         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51583         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
51585 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
51587         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
51588         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
51589         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
51590         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
51592 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
51594         [BZ #14579]
51595         * elf/rtld.c (dl_main): Limit the check for self loading to normal
51596         mode only.
51597         * elf/tst-rtld-load-self.sh: New test.
51598         * elf/Makefile: Run it.
51600 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
51602         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
51603         (tst-writev-ENV): Remove.
51604         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
51606 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
51608         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
51610 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
51612         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
51613         unconditional.
51614         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
51615         Likewise.
51616         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
51617         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
51618         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
51619         Likewise.
51621 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
51623         [BZ #14587]
51624         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
51625         * config.make.in (have-cpp-asm-debuginfo): Removed.
51626         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
51627         * configure: Regenerated.
51629 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
51631         [BZ #5044]
51632         * stdio-common/printf_fp.c: Include <stdbool.h> and
51633         <rounding-mode.h>.
51634         (___printf_fp): Determine rounding using get_rounding_mode and
51635         round_away.
51636         * stdio-common/tst-printf-round.c: New file.
51637         * stdio-common/Makefile (tests): Add tst-printf-round.
51638         (link-libm): New variable.
51639         ($(objpfx)tst-printf-round): Depend in $(link-libm).
51641 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
51643         [BZ #14576]
51644         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
51645         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
51646         Likewise.
51647         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
51648         Likewise.
51650 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
51652         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
51653         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51654         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51655         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
51657 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
51659         [BZ #14518]
51660         * include/rounding-mode.h: New file.
51661         * sysdeps/generic/get-rounding-mode.h: Likewise.
51662         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
51663         * stdlib/strtod_l.c: Include <rounding-mode.h>.
51664         (MAX_VALUE): New macro.
51665         (MIN_VALUE): Likewise.
51666         (overflow_value): New function.
51667         (underflow_value): Likewise.
51668         (round_and_return): Use overflow_value and underflow_value to
51669         determine return values in overflow and underflow cases.  Use
51670         round_away to determine rounding depending on rounding mode.
51671         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
51672         determine return values in overflow and underflow cases.
51673         * stdlib/tst-strtod-round.c: Include <fenv.h>.
51674         (struct test_results): New structure.
51675         (struct test): Use struct test_results to store expected results
51676         for all rounding modes.
51677         (TEST): Include expected results for all rounding modes.
51678         (test_in_one_mode): New function.
51679         (do_test): Use test_in_one_mode to compute and check results.
51680         Check results for all rounding modes.
51681         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
51682         $(link-libm).
51684 2012-12-09  Allan McRae  <allan@archlinux.org>
51686         * sysdeps/i386/fpu/libm-test-ulps: Update
51688 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
51690         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
51691         (_G_int32_t): Likewise.
51692         (_G_uint16_t): Likewise.
51693         (_G_uint32_t): Likewise.
51694         (_G_HAVE_BOOL): Likewise.
51695         (_G_HAVE_ATEXIT): Likewise.
51696         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51697         (_G_HAVE_IO_FILE_OPEN): Likewise.
51698         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
51699         (_G_int32_t): Likewise.
51700         (_G_uint16_t): Likewise.
51701         (_G_uint32_t): Likewise.
51702         (_G_HAVE_BOOL): Likewise.
51703         (_G_HAVE_ATEXIT): Likewise.
51704         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51705         (_G_HAVE_IO_FILE_OPEN): Likewise.
51706         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
51707         (_G_int32_t): Likewise.
51708         (_G_uint16_t): Likewise.
51709         (_G_uint32_t): Likewise.
51710         (_G_HAVE_BOOL): Likewise.
51711         (_G_HAVE_ATEXIT): Likewise.
51712         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
51713         (_G_HAVE_IO_FILE_OPEN): Likewise.
51715 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
51717         * csu/libc-tls.c: Update copyright years.
51719 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
51721         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
51722         [!_G_USING_THUNKS]: Remove conditional code.
51723         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
51724         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
51726         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
51727         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
51728         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51729         (_G_VTABLE_LABEL_PREFIX): Likewise.
51730         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51731         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51732         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51733         (_G_VTABLE_LABEL_PREFIX): Likewise.
51734         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51735         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
51736         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
51737         (_G_VTABLE_LABEL_PREFIX): Likewise.
51738         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
51740 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
51742         * libio/Makefile: Include ../Makeconfig before tests.
51743         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
51744         only if $(build-shared) is yes.
51746         * iconv/gconv_db.c: Update copyright years.
51748 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51750         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
51751         unwind info if defined PIC. Fix special cases description.
51752         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
51754         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
51755         DP_HI_MASK entry.
51756         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
51758 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
51760         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
51762         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
51763         is NULL.
51765         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
51766         (LDLIBS-tst-chk4): This.
51767         (LDFLAGS-tst-chk5): Renamed to ...
51768         (LDLIBS-tst-chk5): This.
51769         (LDFLAGS-tst-chk6): Renamed to ...
51770         (LDLIBS-tst-chk6): This.
51771         (LDFLAGS-tst-lfschk4): Renamed to ...
51772         (LDLIBS-tst-lfschk4): This.
51773         (LDFLAGS-tst-lfschk5): Renamed to ...
51774         (LDLIBS-tst-lfschk5): This.
51775         (LDFLAGS-tst-lfschk6): Renamed to ...
51776         (LDLIBS-tst-lfschk6): This.
51778         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
51779         on $(common-objpfx)soversions.mk.
51781 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
51783         [BZ #10014]
51784         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
51785         example host name.
51787 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51789         * malloc/arena.c (arena_get_retry): New function that gets
51790         another arena for the caller to try its request on.
51791         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
51792         current arena cannot fulfill the request.
51793         (__libc_memalign): Likewise.
51794         (__libc_memalign): Likewise.
51795         (__libc_pvalloc): Likewise.
51796         (__libc_calloc): Likewise.
51798 2012-09-05  John Tobey  <john.tobey@gmail.com>
51800         [BZ #13542]
51801         * manual/arith.texi (Operations on Complex): Fix description
51802         of carg branch cut.
51804 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51806         [BZ #10014]
51807         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
51808         host name.
51810         [BZ #10038]
51811         * manual/memory.texi (Memory): Make order of menu items match
51812         order of sections.
51814 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51816         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
51817         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
51818         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
51820 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51822         * csu/libc-tls.c (static_dtv): Renamed to ...
51823         (_dl_static_dtv): This.  Make it global.
51824         (_dl_initial_dtv): Removed.
51825         (__libc_setup_tls): Updated.
51826         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
51827         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
51828         DL_INITIAL_DTV.
51830 2012-09-06  Petr Machata  <pmachata@redhat.com>
51832         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
51833         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
51834         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
51835         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
51837 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51839         [BZ #14545]
51840         * csu/libc-tls.c (_dl_initial_dtv): New variable.
51841         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
51842         freeing dtv[-1].
51844 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
51846         [BZ #14544]
51847         * Makeconfig (link-static-before-libc): Replace $(+prector)
51848         with $(+prectorT).
51849         (link-static-after-libc): Replace $(+postctor) with
51850         $(+postctorT).
51851         (link-bounded): Replace $(+prector)/$(+postctor) with
51852         $(+prectorT)/$(+postctorT).
51853         (+prectorT): New macro.
51854         (+postctorT): Likewise.
51856 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
51858         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
51859         (round_str): Handle values above the maximum for IBM long double
51860         as inexact.
51861         * stdlib/tst-strtod-round.c (tests): Regenerated.
51863 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51865         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
51866         assembler flag.
51867         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
51868         zarch_nohighgprs around the zarch optimized routines.
51869         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
51870         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
51871         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
51872         for zarch.
51874 2012-09-05  David S. Miller  <davem@davemloft.net>
51876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51878         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
51879         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
51880         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
51881         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51882         entries.
51884 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51886         * malloc/arena.c: Fold copyright years.
51887         * malloc/mcheck.c, malloc/memusage.c: Likewise.
51889 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51891         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
51893 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51895         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
51897 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51899         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
51900         change internal state upon failure.
51902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
51904         * malloc/mcheck.c (mcheck_check_all): Fix typo.
51905         * malloc/memusage.c (mmap): Likewise.
51906         (mmap64, mremap): Likewise.  Adjust name in comment.
51908 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51910         * libio/fileops.c: Fix typos in comments.
51911         * libio/oldfileops.c: Likewise.
51912         * libio/wfileops.c: Likewise.
51914 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51916         [BZ #1349]
51917         * malloc/Makefile (tests): Add tst-malloc-usable test case.
51918         (tst-malloc-usable-ENV): Set environment for test case.
51919         * malloc/hooks.c (malloc_check_get_size): New function to get
51920         requested size.
51921         * malloc/malloc.c (musable): Use malloc_check_get_size.
51922         * malloc/tst-malloc-usable.c: New test case.
51924 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51926         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
51928 2012-09-05  Allan McRae  <allan@archlinux.org>
51930         [BZ #13966]
51931         * configure.in (CXX_SYSINCLUDES): Use compiler output to
51932         determine header location.
51933         * configure: Regenerated.
51935 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51937         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51938         float format.
51939         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51940         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51941         format.
51942         (test): Regenerate.
51944 2012-09-04  David S. Miller  <davem@davemloft.net>
51946         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51947         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51948         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51950 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51952         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51953         failures.
51955         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51957 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51959         [BZ #9914]
51960         * libio/iogetdelim.c: Include <limits.h>.
51961         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51962         + len + 1 would overflow.
51964 2012-09-03  Andreas Jaeger  <aj@suse.de>
51966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51967         * sysdeps/i386/fpu/libm-test-ulps: Update.
51969 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51971         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51972         Add s_sinf-sse2, s_conf-sse2.
51974         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51975         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51976         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51977         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51979         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51980         for using routine as __sinf_ia32.
51981         Use macro for function declaration and weak_alias.
51982         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51983         for using routine as __cosf_ia32.
51984         Use macro for function declaration and weak_alias.
51986         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51987         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51989         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51990         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51993         * math/libm-test.inc (cos_test): Add more test cases.
51994         (sin_test): Likewise.
51995         (sincos_test): Likewise.
51997 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52000         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52001         hidden.
52002         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52004 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52006         [BZ #14538]
52007         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52008         first element of the GOT.
52009         (elf_machine_load_address): Return the difference between
52010         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52012 2012-09-01  Allan McRae  <allan@archlinux.org>
52014         [BZ #13412]
52015         * configure.in (AWK): Require gawk version 3.0 or later.
52016         * configure: Regenerated.
52018 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52020         * sysdeps/unix/sysv/linux/kernel-features.h
52021         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52022         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52023         [__NR_clock_getres]: Make code unconditional.
52024         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52025         (clock_getcpuclockid): Remove code left unreachable by removal of
52026         conditionals.
52027         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52028         code unconditional.
52029         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52030         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52031         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52032         Make code unconditional.
52033         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52034         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52035         * sysdeps/unix/sysv/linux/clock_settime.c
52036         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52037         conditional code.
52038         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52039         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52041 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52043         [BZ #14476]
52044         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52045         scripts/test-installation.pl.
52047         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52048         and $ld_so_version if it is set.
52050 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52052         [BZ #14516]
52053         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52054         failure if reading from procfs failed.
52055         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52057 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52059         * sysdeps/unix/sysv/linux/kernel-features.h
52060         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52061         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52062         Remove conditional code.
52063         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52064         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52065         Remove conditional code.
52066         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52067         * sysdeps/unix/sysv/linux/i386/fxstat.c
52068         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52069         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52070         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52071         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52072         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52073         * sysdeps/unix/sysv/linux/i386/lxstat.c
52074         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52075         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52076         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52077         Remove conditional code.
52078         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52079         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52080         Remove conditional code.
52081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52082         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52083         <kernel-features.h>.
52084         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52085         Remove.
52086         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52087         Remove conditional code.
52088         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52089         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52090         Remove conditional.
52092 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52094         [BZ #5400]
52095         * NEWS: Add fixed bug number.
52097 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52099         [BZ #14519]
52100         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52101         underflowing exponent in case of negative sign.
52102         * stdlib/tst-strtod-round-data: Add more tests.
52103         * stdlib/tst-strtod-round.c (tests): Regenerated.
52105         [BZ #3479]
52106         * stdlib/strtod_l.c (NDIG): Remove.
52107         (HEXNDIG): Likewise.
52108         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52109         smallest representable value.
52110         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52111         lie within an exact representation of 1/2 ulp of the result.
52112         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52113         unconditionally.
52114         (TENS_P9_IDX): Define unconditionally.
52115         (TENS_P9_SIZE): Likewise.
52116         (TENS_P10_IDX): Likewise.
52117         (TENS_P10_SIZE): Likewise.
52118         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52119         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52120         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52121         entries for 10^2^13 and 10^2^14.
52122         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52123         (TENS_P13_IDX): Define.
52124         (TENS_P13_SIZE): Likewise.
52125         (TENS_P14_IDX): Likewise.
52126         (TENS_P14_SIZE): Likewise.
52127         (_fpioconst_pow10): Change array size to
52128         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52129         unconditional.
52130         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52131         1024]: Add entries for 10^2^13 and 10^2^14.
52132         [LAST_POW10 > _LAST_POW10]: Remove #error.
52133         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52134         (_fpioconst_pow10): Change array size to
52135         FPIOCONST_POW10_ARRAY_SIZE.
52136         * stdlib/gen-fpioconst.c: New file.
52137         * stdlib/gen-tst-strtod-round.c: Likewise.
52138         * stdlib/tst-strtod-round-data: Likewise.
52139         * stdlib/tst-strtod-round.c: Likewise.
52140         * stdlib/Makefile (tests): Add tst-strtod-round.
52142         [BZ #14459]
52143         * stdlib/strtod_l.c: Include <stdint.h>.
52144         (NDEBUG): Do not define.
52145         (round_and_return): Change EXPONENT parameter to type intmax_t.
52146         Rearrange calculations to avoid internal overflow possibilities.
52147         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52148         Rearrange calculations to avoid internal overflow possibilities.
52149         Assert that number fits inside MPNSIZE limbs.
52150         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52151         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52152         calculations and add assertions to avoid internal overflow
52153         possibilities.  Add casts to avoid signed/unsigned operations.
52154         * stdlib/tst-strtod-overflow.c: New file.
52155         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52157 2012-08-25  Marek Polacek  <polacek@redhat.com>
52159         * time/time.h: Fix some typos in comments.
52161 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52163         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52164         * posix/tst-rfc3484-2.c: Likewise.
52165         * posix/tst-rfc3484-3.c: Likewise.
52167 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52169         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52170         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52172 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52174         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52175         #include of fxstatat64.c.
52177 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52179         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52180         * shadow/getspent_r.c: Likewise.
52181         * shadow/getspnam.c: Likewise.
52182         * shadow/getspnam_r.c: Likewise.
52183         * gshadow/getsgent.c: Likewise.
52184         * gshadow/getsgent_r.c: Likewise.
52185         * gshadow/getsgnam.c: Likewise.
52186         * gshadow/getsgnam_r.c: Likewise.
52187         * inet/getnetbyad.c: Likewise.
52188         * inet/getnetbyad_r.c: Likewise.
52189         * inet/getnetbynm.c: Likewise.
52190         * inet/getnetbynm_r.c: Likewise.
52191         * inet/getnetent.c: Likewise.
52192         * inet/getnetent_r.c: Likewise.
52193         * inet/getproto.c: Likewise.
52194         * inet/getproto_r.c: Likewise.
52195         * inet/getprtent.c: Likewise.
52196         * inet/getprtent_r.c: Likewise.
52197         * inet/getprtname.c: Likewise.
52198         * inet/getprtname_r.c: Likewise.
52199         * inet/getrpcbyname.c: Likewise.
52200         * inet/getrpcbyname_r.c: Likewise.
52201         * inet/getrpcbynumber.c: Likewise.
52202         * inet/getrpcbynumber_r.c: Likewise.
52203         * inet/getrpcent.c: Likewise.
52204         * inet/getrpcent_r.c: Likewise.
52205         * inet/getaliasent.c: Likewise.
52206         * inet/getaliasent_r.c: Likewise.
52207         * inet/getaliasname.c: Likewise.
52208         * inet/getaliasname_r.c: Likewise.
52209         * nscd/getgrgid_r.c: Likewise.
52210         * nscd/getgrnam_r.c: Likewise.
52211         * nscd/gethstbyad_r.c: Likewise.
52212         * nscd/gethstbynm3_r.c: Likewise.
52213         * nscd/getpwnam_r.c: Likewise.
52214         * nscd/getpwuid_r.c: Likewise.
52215         * nscd/getsrvbynm_r.c: Likewise.
52216         * nscd/getsrvbypt_r.c: Likewise.
52217         * nscd/gai.c: Likewise.
52219         * configure.in (build_nscd): New substituted variable, set
52220         by --disable-build-nscd and defaults to $use_nscd.
52221         * configure: Regenerated.
52222         * config.make.in (build-nscd): New substituted variable.
52223         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52224         Change conditional to require [$(build-nscd) = yes] as well.
52225         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52227         [BZ# 13696]
52228         * configure.in (use_nscd): New substituted variable, set by
52229         --disable-nscd.  If enabled, define USE_NSCD.
52230         * configure: Regenerated.
52231         * config.h.in: Add USE_NSCD.
52232         * config.make.in (use-nscd): New substituted variable.
52233         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52234         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52235         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52236         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52237         (CFLAGS-getgrnam_r.c): Likewise.
52238         (CFLAGS-initgroups.c): Likewise.
52239         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52240         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52241         Variables removed.
52242         * inet/getnetgrent_r.c
52243         (nscd_setnetgrent): New function, broken out of ...
52244         (setnetgrent): ... here.  Call it.
52245         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52246         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52247         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52248         * nscd/Makefile (routines, aux): Move definitions after include of
52249         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52250         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52251         Conditionalize on [USE_NSCD].
52252         (is_nscd, nscd_init_cb): Likewise.
52253         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52254         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52255         * nss/nss_db/db-init.c: Likewise.
52256         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52257         [USE_NSCD].
52258         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52259         (make_request): Use it.
52260         (cache_valid_p): New function.
52261         (__check_pf): Use it.
52262         * NEWS: Add item for --disable-nscd.
52264 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52266         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52267         to support sed >= 4.2.1-20-ga9bf076.
52268         * configure: Regenerated.
52270 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52272         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52273         Conditionalize whole body on [IREL].
52275 2012-08-22  Jeff Law <law@redhat.com>
52277         [BZ #14505]
52278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52279         if the family is PF_UNSPEC.
52281 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52283         * Makerules (lib-version): Rename from V.
52284         (install-lib-nosubdir): Change V to lib-version.
52286 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52288         [BZ #14252]
52289         * powerpc32/power6/wcschr.c: New file.
52290         * powerpc32/power6/wcscpy.c: New file.
52291         * powerpc32/power6/wcsrchr.c: New file.
52292         * powerpc64/power6/wcschr.c: New file.
52293         * powerpc64/power6/wcscpy.c: New file.
52294         * powerpc64/power6/wcsrchr.c: New file.
52296 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52298         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52299         (two_way_short_needle): Use it.
52300         * string/strstr.c (AVAILABLE1_USES_J): Define.
52301         * string/strcasestr.c: Likewise.
52303         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52304         array references.
52305         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52307         [BZ #11607]
52308         * NEWS: Add an entry.
52309         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52310         define their defaults.
52311         (two_way_short_needle): Detect end-of-string on-the-fly.
52312         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52313         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52314         * string/bug-strcasestr1.c: New test.
52315         * string/Makefile: Run it.
52317 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52319         [BZ #11607]
52320         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52321         the first character.
52323 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52325         * csu/elf-init.c (__libc_csu_irel): Function removed.
52326         * csu/libc-start.c (apply_irel): New function.
52327         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52329 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52331         * sysdeps/unix/sysv/linux/kernel-features.h
52332         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52333         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52334         <kernel-features.h>.
52335         [__NR_fadvise64_64]: Make code unconditional.
52336         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52337         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52338         !__NR_fadvise64_64)]: Likewise.
52339         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52340         !__NR_fadvise64_64))]: Likewise.
52341         [__NR_fadvise64]: Make code unconditional.
52342         [!__NR_fadvise64]: Remove conditional code.
52343         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52344         <kernel-features.h>.
52345         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52346         unconditional.
52347         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52348         conditional code.
52349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52350         not include <kernel-features.h>.
52351         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52352         unconditional.
52353         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52354         conditional code.
52355         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52356         include <kernel-features.h>.
52357         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52358         unconditional.
52359         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52360         conditional code.
52362 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52364         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52365         slight instruction rearrangements per scrollpipe analysis.
52366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52368 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52370         * manual/syslog.texi (syslog; vsyslog, closelog):
52371         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52372         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52374         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52375         DSOCAPS to match condition on defining it.
52377 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52379         * sysdeps/unix/sysv/linux/kernel-features.h
52380         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52382         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52383         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52385         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52386         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52388         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52389         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52391         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52392         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52394         * sysdeps/unix/sysv/linux/kernel-features.h
52395         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52396         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52397         unconditional.
52398         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52399         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52400         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52401         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52402         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52403         Make code unconditional.
52404         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52405         (__mmap64) [!__NR_mmap2]: Likewise.
52406         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52407         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52408         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52409         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52410         [__NR_mmap2]: Make code unconditional.
52411         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52412         (__mmap64) [!__NR_mmap2]: Likewise.
52414 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52416         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52418 2012-08-18  Andreas Jaeger  <aj@suse.de>
52420         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52422 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52424         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52425         * include/unistd.h (__have_sock_cloexec): Likewise.
52426         (__have_pipe2): Likewise.
52427         (__have_dup3): Likewise.
52429 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52431         [BZ #9685]
52432         * include/unistd.h (__have_pipe2): Change define into an extern int.
52433         (__have_dup3): Likewise.
52434         * socket/have_sock_cloexec.c: Include fcntl.h.
52435         (__have_pipe2): New variable.
52436         (__have_dup3): Likewise.
52438 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52440         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52442 2012-08-17  Marek Polacek  <polacek@redhat.com>
52444         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52445         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52447 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52449         * configure.in: Add AC_SUBST for sysheaders.
52450         * configure: Regenerated.
52451         * config.make.in (sysheaders): New substituted variable.
52453         * sysdeps/unix/mkfifo.c: Moved ...
52454         * sysdeps/posix/mkfifo.c: ... here.
52455         * sysdeps/unix/mkfifoat.c: Moved ...
52456         * sysdeps/posix/mkfifoat.c: ... here.
52458         * sysdeps/unix/utime.c: Moved ...
52459         * sysdeps/posix/utime.c: ... here.
52461         * sysdeps/unix/time.c: Moved ...
52462         * sysdeps/posix/time.c: ... here.
52463         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52464         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52466         * sysdeps/unix/nice.c: Moved ...
52467         * sysdeps/posix/nice.c: ... here.
52469         * sysdeps/unix/alarm.c: Moved ...
52470         * sysdeps/posix/alarm.c: ... here.
52472         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52474 2012-08-17  Jeff Law <law@redhat.com>
52476         * intl/Makefile (codeset_mo): New variable.
52477         ($(codeset_mo)): New target.
52478         (tst-codeset.out): Depend on that.  Remove explicit rule.
52479         (tst-gettext3.out, tst-gettext5.out): Likewise.
52480         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52481         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52482         * intl/tst-codeset.sh: Remove.
52483         * intl/tst-gettext3.sh: Likewise.
52484         * intl/tst-gettext5.sh: Likewise.
52486 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52488         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52489         * sysdeps/unix/syscalls.list: ... here.
52491         * sysdeps/posix/getaddrinfo.c
52492         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52493         (gaiconf_init, gaiconf_reload): Use them.
52494         [!_STATBUF_ST_NSEC]
52495         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52496         Define using time_t rather than struct timespec.
52498         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52499         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52500         Macros removed.
52501         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52502         [!NO_THREADS].
52503         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
52504         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
52505         Likewise.
52507         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
52508         __libc_cleanup_push argument.
52510         * bits/param.h: New file.
52511         * misc/sys/param.h: New file.
52512         * include/sys/param.h: New file.
52513         * misc/Makefile (headers): Add bits/param.h.
52514         * sysdeps/generic/sys/param.h: File removed.
52515         * sysdeps/unix/sysv/linux/bits/param.h: New file.
52516         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
52517         * sysdeps/mach/hurd/bits/param.h: New file.
52518         * sysdeps/mach/hurd/sys/param.h: File removed.
52520         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
52521         last change.
52523         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
52524         [_IO_MTSAFE_IO].
52525         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
52526         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
52527         New macros.
52529         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
52530         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
52531         rather than -D_IO_MTSAFE_IO conditionally.
52532         * stdio-common/Makefile (CPPFLAGS): Likewise.
52533         * wcsmbs/Makefile (CPPFLAGS): Likewise.
52534         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
52535         Use $(libio-mtsafe).
52536         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
52537         of -D_IO_MTSAFE_IO.
52538         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
52539         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
52540         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
52541         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
52542         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
52543         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
52544         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
52545         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
52546         (CFLAGS-fread_u_chk.c): Likewise.
52547         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
52548         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
52549         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
52550         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
52551         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
52552         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
52553         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
52554         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
52555         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
52557         * libio/Makefile: Test [$(libc-reentrant) = yes]
52558         instead of [$(filter %REENTRANT, $(defines)) nonempty].
52560         * Makeconfig
52561         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
52562         * sysdeps/pthread/configure: File removed.
52563         * sysdeps/pthread/Makeconfig: New file.
52564         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
52565         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
52567 2012-08-16  Gary Benson  <gbenson@redhat.com>
52569         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
52570         unmapping the first object in a namespace.
52572 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52574         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
52575         (__internal_setnetgrent): ... this.  Add internal_function to
52576         definition.  Add libc_hidden_def.
52577         (setnetgrent): Update caller.
52578         (internal_endnetgrent): Renamed to ...
52579         (__internal_endnetgrent): ... this.  Add internal_function to
52580         definition.  Add libc_hidden_def.
52581         (endnetgrent): Update caller.
52582         (internal_getnetgrent_r): Renamed to ...
52583         (__internal_getnetgrent_r): ... this.  Add internal_function to
52584         definition.  Add libc_hidden_def.
52585         (__getnetgrent_r): Update caller.
52586         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
52588 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52590         * stdlib/longlong.h: Update from GCC.
52592 2012-08-16  Roland McGrath  <roland@hack.frob.com>
52594         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
52595         on _QL, which is set by umul_ppmm but never used.
52596         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
52597         variables, which are set by GMP macros but never used.
52598         * stdio-common/_itowa.c (_itowa): Likewise.
52599         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
52600         * stdlib/mod_1.c (mpn_mod_1): Likewise.
52602 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
52604         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
52605         struct La_sh_regs is not constant.
52606         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
52607         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
52608         and struct La_sparc64_regs are not constant.
52610 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
52612         * sysdeps/unix/sysv/linux/kernel-features.h
52613         (__ASSUME_POSIX_TIMERS): Remove.
52614         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52615         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52616         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
52617         Make code unconditional.
52618         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52619         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
52620         Make code unconditional.
52621         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52622         * sysdeps/unix/sysv/linux/clock_nanosleep.c
52623         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
52624         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52625         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
52626         Make code unconditional.
52627         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
52628         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
52629         (__libc_missing_posix_timers): Remove.
52631 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52633         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
52634         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
52636         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
52638         * elf/dl-sym.c: Include <stdlib.h>.
52640         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
52641         constants, which avoids warnings in 32-bit builds.
52643         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
52644         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
52646         * misc/lseek.c: File moved to ...
52647         * io/lseek.c: ... here.
52649         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
52651         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
52652         shifting LEN more than 31 bits at once.
52654 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52656         [BZ #14195]
52657         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
52658         segmentation fault for a case of two empty input strings.
52659         * string/test-strncasecmp.c (check1): Renamed to...
52660         (bz12205): ...this.
52661         (bz14195): Add new testcase for two empty input strings and N > 0.
52662         (test_main): Call new testcase, adapt for renamed function.
52664 2012-08-15  Andreas Jaeger  <aj@suse.de>
52666         [BZ #14090]
52667         * crypt/md5test2.c: New test, based on test supplied by Serge
52668         Belyshev <belyshev@depni.sinp.msu.ru>.
52669         * crypt/Makefile (xtests): Add md5test-giant..
52670         * crypt/Makefile ($(objpfx)md5test-giant): Add.
52672 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
52674         [BZ #14090]
52675         * crypt/md5.c (md5_process_block): Don't assume the buffer
52676         length is less than 2**32.
52677         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
52678         length is less than 2**64.
52680 2012-08-15  Roland McGrath  <roland@hack.frob.com>
52682         * string/str-two-way.h: Include <sys/param.h>.
52683         (MAX): Macro removed.
52685         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
52686         Move #define and #undef of memmove to just before and after
52687         including <string.h>.
52689         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
52690         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
52691         and after including <string.h>.  Move declarations of
52692         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
52693         to before #include "string/memmove.c".
52695         * include/dirent.h: Declare __getdirentries.
52697         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
52698         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
52700 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
52702         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
52703         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
52704         * sysdeps/i386/configure: Regenerated.
52705         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
52706         STABS_CURRENT_FILE, and STABS_FUN.
52707         (END): Remove call to STABS_FUN_END.
52708         (STABS_CURRENT_FILE1): Delete.
52709         (STABS_CURRENT_FILE): Likewise.
52710         (STABS_FUN): Likewise.
52711         (STABS_FUN_END): Likewise.
52712         (STABS_FUN2): Likewise.
52713         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
52714         * sysdeps/x86_64/configure: Regenerated.
52716 2012-08-14  Roland McGrath  <roland@hack.frob.com>
52718         * elf/dl-open.c: Include <atomic.h>.
52719         * elf/dl-lookup.c: Likewise.
52721 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
52723         * sysdeps/unix/sysv/linux/kernel-features.h
52724         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
52725         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
52726         unconditionally.
52727         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
52728         unconditionally.
52729         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
52730         condition on __ASSUME_CLONE_THREAD_FLAGS.
52732 2012-08-14  Andreas Jaeger  <aj@suse.de>
52734         * sysdeps/i386/fpu/libm-test-ulps: Update.
52736 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
52738         * include/atomic.h (atomic_exchange_and_add): Split into ...
52739         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
52740         New atomic macros.
52742 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
52744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52746 2012-08-13  Jeff Law <law@redhat.com>
52748         * manual/stdio.texi (snprintf): Clarify handling of the trailing
52749         null byte in the output string.
52751 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
52753         * sysdeps/unix/sysv/linux/kernel-features.h
52754         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
52755         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
52756         (__ASSUME_ARG_MAX_STACK_BASED): Define.
52757         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52758         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
52759         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
52760         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
52762 2012-08-09  Jeff Law <law@redhat.com>
52764         [BZ #13939]
52765         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
52766         When avoid_arena is set, don't retry in the that arena.  Pick the
52767         next one, whatever it might be.
52768         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
52769         (arena_lock): Pass in new parameter to arena_get2.
52770         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
52771         arena_get2.
52772         (__libc_malloc): Unify retrying after main arena failure with
52773         __libc_memalign version.
52774         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
52776 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
52778         [BZ #14166]
52779         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
52780         to __redirect_strstr.
52781         (__strstr_sse42): Use typeof __redirect_strstr.
52782         (__strstr_ia32): Likewise.
52783         (__libc_strstr): New prototype.
52784         (strstr): Renamed to ...
52785         (__libc_strstr): This.
52786         (strstr): New strong alias of __libc_strstr.
52787         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
52788         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
52789         __redirect_time.
52790         Include <time.h>.
52791         (__libc_time): New prototype.
52792         (time_ifunc): Replace time with __libc_time.
52793         (time): New strong alias and hidden definition of __libc_time.
52794         (__GI_time): Remove strong alias.
52795         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
52796         Include <stddef.h>.
52797         (memmove): Redefined to __redirect_memmove.
52798         (__memmove_sse2): Use typeof __redirect_memmove.
52799         (__memmove_ssse3): Likewise.
52800         (__memmove_ssse3_back): Likewise.
52801         (__libc_memmove): New prototype.
52802         (memmove): Renamed to ...
52803         (__libc_memmove): This.
52804         (memmove): New strong alias of __libc_memmove.
52806 2012-08-08  Mark Salter  <msalter@redhat.com>
52808         * elf/elf.h
52809         (R_MN10300_TLS_GD): Define.
52810         (R_MN10300_TLS_LD): Likewise.
52811         (R_MN10300_TLS_LDO): Likewise.
52812         (R_MN10300_TLS_GOTIE): Likewise.
52813         (R_MN10300_TLS_IE): Likewise.
52814         (R_MN10300_TLS_LE): Likewise.
52815         (R_MN10300_TLS_DTPMOD): Likewise.
52816         (R_MN10300_TLS_DTPOFF): Likewise.
52817         (R_MN10300_TLS_TPOFF): Likewise.
52818         (R_MN10300_SYM_DIFF): Likewise.
52819         (R_MN10300_ALIGN): Likewise.
52820         (R_MN10300_NUM): Update.
52822 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
52824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
52825         Remove.
52827 2012-08-08  Roland McGrath  <roland@hack.frob.com>
52829         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
52831         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
52832         sysdeps/unix -> sysdeps/posix move.
52833         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
52835 2012-08-07      Allan McRae     <allan@archlinux.org>
52837         [BZ #14303]
52838         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
52839         (SUNOS_CPP): Likewise.
52840         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
52841         not found.
52842         (open_input): Call CPP using execvp.
52844 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52846         * sysdeps/unix/sysv/linux/kernel-features.h
52847         (__ASSUME_PROT_GROWSUPDOWN): Remove.
52848         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52849         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52850         (__ASSUME_WAITID_SYSCALL): Likewise.
52851         * sysdeps/unix/sysv/linux/dl-execstack.c
52852         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
52853         code unconditional.
52854         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
52855         conditional code.
52856         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
52857         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
52858         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
52859         code.
52860         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
52861         unconditional.
52862         [__ASSUME_WAITID_SYSCALL]: Likewise.
52863         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
52865 2012-08-07  Roland McGrath  <roland@hack.frob.com>
52867         * sysdeps/unix/closedir.c: Renamed to ...
52868         * sysdeps/posix/closedir.c: ... here.
52869         * sysdeps/unix/dirfd.c: Renamed to ...
52870         * sysdeps/posix/dirfd.c: ... here.
52871         * sysdeps/unix/dirstream.h: Renamed to ...
52872         * sysdeps/posix/dirstream.h: ... here.
52873         * sysdeps/unix/fdopendir.c: Renamed to ...
52874         * sysdeps/posix/fdopendir.c: ... here.
52875         * sysdeps/unix/opendir.c: Renamed to ...
52876         * sysdeps/posix/opendir.c: ... here.
52877         * sysdeps/unix/readdir.c: Renamed to ...
52878         * sysdeps/posix/readdir.c: ... here.
52879         * sysdeps/unix/readdir_r.c: Renamed to ...
52880         * sysdeps/posix/readdir_r.c: ... here.
52881         * sysdeps/unix/rewinddir.c: Renamed to ...
52882         * sysdeps/posix/rewinddir.c: ... here.
52883         * sysdeps/unix/seekdir.c: Renamed to ...
52884         * sysdeps/posix/seekdir.c: ... here.
52885         * sysdeps/unix/telldir.c: Renamed to ...
52886         * sysdeps/posix/telldir.c: ... here.
52887         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
52888         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
52889         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
52890         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
52892         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
52893         * bits/fcntl.h: ... here.
52895         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
52896         not 0.
52897         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
52898         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
52899         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
52900         (struct flock): Move l_start, l_len to the beginning.
52901         Use __pid_t for l_pid.
52902         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
52903         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
52904         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
52905         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
52906         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
52907         [__USE_LARGEFILE64] (struct flock64): New type.
52908         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
52910         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
52911         * bits/dirent.h: ... here.
52913         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
52914         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
52916 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
52918         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52919         Change from 2.6.0 to 2.6.16.
52920         * sysdeps/unix/sysv/linux/configure: Regenerated.
52921         * sysdeps/unix/sysv/linux/kernel-features.h
52922         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
52923         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
52924         version.
52925         (__ASSUME_UTIMES): Likewise.
52926         (__ASSUME_CLONE_STOPPED): Remove.
52927         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
52928         architectures, not kernel version.
52929         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
52930         (__ASSUME_NO_CLONE_DETACHED): Likewise.
52931         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
52932         (__ASSUME_WAITID_SYSCALL): Likewise.
52933         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
52934         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
52935         * README: State 2.6.16 as minimum Linux kernel version.  Do not
52936         refer to older versions.
52938 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52940         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52941         Define alphasort64 as an alias.
52942         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52943         Define versionsort64 as an alias.
52944         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52945         Define scandir64 as an alias.
52946         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52947         Define scandirat64 as an alias.
52948         * dirent/alphasort64.c (alphasort64):
52949         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52950         * dirent/versionsort64.c: Likewise.
52951         * dirent/scandir64.c: Likewise.
52952         * dirent/scandirat64.c: Likewise.
52953         * sysdeps/wordsize-64/alphasort.c: File removed.
52954         * sysdeps/wordsize-64/alphasort64.c: File removed.
52955         * sysdeps/wordsize-64/scandir.c: File removed.
52956         * sysdeps/wordsize-64/scandir64.c: File removed.
52957         * sysdeps/wordsize-64/scandirat.c: File removed.
52958         * sysdeps/wordsize-64/scandirat64.c: File removed.
52959         * sysdeps/wordsize-64/versionsort.c: File removed.
52960         * sysdeps/wordsize-64/versionsort64.c: File removed.
52961         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52962         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52963         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52964         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52965         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52966         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52967         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52968         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52970         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52972         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52973         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52974         [defined __arch64__ || defined __sparcv9]
52975         (__INO_T_MATCHES_INO64_T): New macro.
52976         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52977         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52978         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52979         * sysdeps/unix/sysv/linux/bits/dirent.h
52980         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52981         (_DIRENT_MATCHES_DIRENT64): New macro.
52983         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52984         Define lockf64 as an alias.
52985         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52986         Define fseeko64 as an alias.
52987         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52988         Define ftello64 as an alias.
52989         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52990         Define _IO_fgetpos64 and fgetpos64 as aliases.
52991         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52992         Define _IO_fsetpos64 and fsetpos64 as aliases.
52993         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52994         Conditionalize body on this.
52995         * libio/fseeko64.c: Likewise.
52996         * libio/ftello64.c: Likewise.
52997         * libio/iofgetpos64.c: Likewise.
52998         * libio/iofsetpos64.c: Likewise.
52999         * sysdeps/wordsize-64/lockf.c: File removed.
53000         * sysdeps/wordsize-64/lockf64.c: File removed.
53001         * sysdeps/wordsize-64/fseeko.c: File removed.
53002         * sysdeps/wordsize-64/fseeko64.c: File removed.
53003         * sysdeps/wordsize-64/ftello.c: File removed.
53004         * sysdeps/wordsize-64/ftello64.c: File removed.
53005         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53006         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53007         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53008         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53010         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53011         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53012         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53013         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53014         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53015         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53016         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53017         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53018         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53020         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53021         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53022         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53023         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53024         [defined __arch64__ || defined __sparcv9]
53025         (__OFF_T_MATCHES_OFF64_T): New macro.
53026         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53027         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53028         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53029         (__OFF_T_MATCHES_OFF64_T): New macro.
53031 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53033         * stdlib/secure-getenv.c (__secure_getenv): Replace
53034         GLIBC_2_16 with GLIBC_2_17.
53036 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53039         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53041 2012-08-03  David S. Miller  <davem@davemloft.net>
53043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53045 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53048         Remove.
53049         (__ASSUME_CORRECT_SI_PID): Likewise.
53050         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53051         (__ASSUME_TMPFS_NAME): Likewise.
53052         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53053         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53054         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53055         (HAVE_AUX_SECURE): Make definition unconditional.
53056         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53057         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53059 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53061         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53062         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53063         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53064         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53065         __eloop_threshold instead of SYMLOOP_MAX.
53067         * sysdeps/generic/eloop-threshold.h: New file.
53068         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53069         of MAXSYMLINKS.
53070         * elf/chroot_canon.c (chroot_canon): Likewise.
53072 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53074         [BZ #13717]
53075         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53076         Change to 2.6.0 everywhere.
53077         * sysdeps/unix/sysv/linux/configure: Regenerated.
53078         * sysdeps/unix/sysv/linux/kernel-features.h
53079         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53080         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53081         kernel versions.
53082         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53083         (__ASSUME_FUTEX_REQUEUE): Remove.
53084         (__ASSUME_STATFS64): Define unconditionally.
53085         (__ASSUME_AT_SECURE): Likewise.
53086         (__ASSUME_CORRECT_SI_PID): Likewise.
53087         (__ASSUME_TGKILL): Define without depending on kernel version for
53088         i386.
53089         (__ASSUME_UTIMES): Likewise.
53090         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53091         kernel version.
53092         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53093         (__ASSUME_TMPFS_NAME): Likewise.
53094         * README: Update reference to Linux kernel versions.
53096 2012-08-02  Marek Polacek  <polacek@redhat.com>
53098         [BZ# 14150]
53099         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53100         libc_cv_asm_type_prefix with %.
53101         * configure: Regenerated.
53102         * include/libc-symbols.h: Remove comment about
53103         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53104         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53105         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53106         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53107         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53108         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53109         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53110         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53111         * elf/tst-unique2mod1.c: Likewise.
53112         * elf/tst-unique1mod2.c: Likewise.
53113         * elf/tst-unique1mod1.c: Likewise.
53114         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53115         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53116         Replace ASM_TYPE_DIRECTIVE with .type.
53117         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53118         * sysdeps/i386/sysdep.h: Likewise.
53119         * sysdeps/x86_64/sysdep.h: Likewise.
53120         * sysdeps/sh/sysdep.h: Likewise.
53121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53122         Do not define ASM_TYPE_DIRECTIVE.
53123         * sysdeps/powerpc/sysdep.h: Likewise.
53124         * sysdeps/powerpc/powerpc32/sysdep.h:
53125         Replace ASM_TYPE_DIRECTIVE with .type.
53126         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53127         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53128         * sysdeps/i386/fpu/e_powf.S: Likewise.
53129         * sysdeps/i386/fpu/e_expl.S: Likewise.
53130         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53131         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53132         * sysdeps/i386/fpu/e_pow.S: Likewise.
53133         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53134         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53135         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53136         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53137         * sysdeps/i386/fpu/e_log2.S: Likewise.
53138         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53139         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53140         * sysdeps/i386/fpu/e_powl.S: Likewise.
53141         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53142         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53143         * sysdeps/i386/fpu/e_logl.S: Likewise.
53144         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53145         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53146         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53147         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53148         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53149         * sysdeps/i386/fpu/e_log.S: Likewise.
53150         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53151         * sysdeps/i386/fpu/e_logf.S: Likewise.
53152         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53153         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53154         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53155         * sysdeps/i386/fpu/e_log10.S: Likewise.
53156         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53158         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53159         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53160         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53161         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53162         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53163         * sysdeps/i386/i686/strtok.S: Likewise.
53164         * sysdeps/i386/i386-mcount.S: Likewise.
53165         * sysdeps/i386/strtok.S: Likewise.
53166         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53167         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53168         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53169         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53170         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53171         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53172         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53173         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53174         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53175         * sysdeps/x86_64/_mcount.S: Likewise.
53176         * sysdeps/x86_64/strtok.S: Likewise.
53177         * sysdeps/sh/_mcount.S: Likewise.
53179 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53181         * libio/iofopen.c: Include <fcntl.h>.
53182         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53183         (_IO_fopen64, fopen64): Define as aliases.
53184         * libio/iofopen64.c: Include <fcntl.h>.
53185         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53186         Conditionalize body on this.
53187         * sysdeps/wordsize-64/iofopen.c: File removed.
53188         * sysdeps/wordsize-64/iofopen64.c: File removed.
53190 2012-08-01  Marek Polacek  <polacek@redhat.com>
53192         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53193         Use dlfcn directly instead of a variable.
53194         (binfmt-subdir): Do not define.
53195         (dlfcn): Likewise.
53197 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53199         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53200         Remove all definitions.
53201         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53202         <kernel-features.h>.
53203         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53204         (miss_F_GETOWN_EX): Remove all definitions.
53205         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53206         macro definition.
53207         [!__ASSUME_FCNTL64]: Remove conditional code.
53208         [__ASSUME_FCNTL64]: Make code unconditional.
53209         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53210         <kernel-features.h>.
53211         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53212         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53213         (lockf64) [__NR_fcntl64]: Make code unconditional.
53214         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53216         * sysdeps/unix/sysv/linux/kernel-features.h
53217         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53218         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53219         Make code unconditional.
53220         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53221         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53223         [__NR_vfork]: Make code unconditional.
53224         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53225         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53227         [__NR_vfork]: Make code unconditional.
53228         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53229         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53231 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53233         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53234         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53236         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53237         Define mkstemp64 as an alias.
53238         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53239         Define mkstemps64 as an alias.
53240         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53241         Define mkostemp64 as an alias.
53242         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53243         Define mkostemps64 as an alias.
53244         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53245         Conditionalize body on this.
53246         * misc/mkostemp64.c: Likewise.
53247         * misc/mkostemps64.c: Likewise.
53248         * misc/mkstemps64.c: Likewise.
53249         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53250         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53251         * sysdeps/wordsize-64/mkostemp.c: File removed.
53252         * sysdeps/wordsize-64/mkstemp.c: File removed.
53253         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53255         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53256         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53258         [BZ #14138]
53259         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53260         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53261         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53262         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53264         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53265         compat_symbol macros from <shlib-compat.h> rather than the underlying
53266         default_symbol_version and symbol_version macros, so that DEFAULT
53267         lines in shlib-versions are respected.
53268         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53270 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53272         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53273         Declare with warn_unused_result.
53274         (setgid, setregid, setegid, setresgid): Likewise.
53275         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53276         Likewise.
53277         * WUR-REPORT: Remove set*id functions.
53279 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53281         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53283 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53285         [BZ #10191]
53286         * include/sys/socket.h (__libc_accept, __libc_accept4):
53287         Add attribute_hidden.
53288         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53290         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53291         use of PTR_MANGLE.
53292         * inet/getnetgrent_r.c (setup): Likewise.
53294         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53296 2012-07-31  David S. Miller  <davem@davemloft.net>
53298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53300 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53302         [BZ #13629]
53303         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53304         value between 1.0 and 2.0 and smaller part has absolute value less
53305         than 1.0.
53306         * math/s_clog10.c (__clog10): Likewise.
53307         * math/s_clog10f.c (__clog10f): Likewise.
53308         * math/s_clog10l.c (__clog10l): Likewise.
53309         * math/s_clogf.c (__clogf): Likewise.
53310         * math/s_clogl.c (__clogl): Likewise.
53311         * math/libm-test.inc (clog_test): Add more tests.
53312         (clog10_test): Likewise.
53313         * sysdeps/i386/fpu/libm-test-ulps: Update.
53314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53316 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53318         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53319         Exit with zero in case no suitable GID is found, and write a
53320         message to standard error.
53322 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53324         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53325         rather than to 1.
53326         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53327         (MAXPATHLEN): Removed.
53328         (NOGROUP, NODEV): New macros.
53329         (setbit, clrbit, isset, isclr): New macros.
53330         (howmany, roundup, powerof2): New macros.
53331         (DEV_BSIZE): New macro.
53333         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53334         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53336         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53337         definition on [!__NO_LONG_DOUBLE_MATH].
53339         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53340         PTR_MANGLE and PTR_DEMANGLE.
53342         * socket/accept4.c (accept4): Rename to __libc_accept4.
53343         Define accept4 as a weak alias.
53345         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53346         on [_DIRENT_HAVE_D_TYPE].
53347         * io/ftw.c (ftw_dir): Likewise.
53349         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53351         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53353         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53354         Use the BSD numbers rather than the arbitrary ones we had.
53355         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53356         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53357         (SIGXCPU, SIGXFSZ): New macros.
53358         (_NSIG): Now 32.
53360         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53361         initializer on [_LIBC_REENTRANT].
53363         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53364         definitions inside [_POSIX_MAPPED_FILES].
53366         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53368         * dirent/opendir.c: Include <fcntl.h>.
53370         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53371         (__libc_getspecific): Likewise.
53372         (__libc_key_create): Likewise.
53374         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53375         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53376         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53377         (tmpfile64): Define as alias.
53378         * sysdeps/wordsize-64/tmpfile.c: File removed.
53379         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53380         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53381         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53383         * stdio-common/vfscanf.c: Include <stdbool.h>.
53384         * nss/makedb.c: Likewise.
53385         * stdio-common/_i18n_number.h: Likewise.
53386         * argp/argp-help.c: Likewise.
53387         * posix/wordexp.c: Likewise.
53388         * sysdeps/posix/spawni.c: Likewise.
53389         * nss/nss_files/files-initgroups.c: Likewise.
53390         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53391         * nss/nss_files/files-initgroups.c: Likewise.
53392         * nss/nss_db/db-netgrp.c: Likewise.
53393         * nss/nss_db/db-initgroups.c: Likewise.
53394         * io/fchmodat.c: Include <sys/stat.h>.
53396         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53397         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53399         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53400         [HAVE_MMAP].
53402         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53403         Add multiple inclusion protection.
53405 2012-07-27  David S. Miller  <davem@davemloft.net>
53407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53409 2012-07-27  Gary Benson  <gbenson@redhat.com>
53411         [BZ #14298]
53412         * elf/rtld.c: Include <stap-probe.h>.
53413         (dl_main): Added static probes "init_start" and "init_complete".
53414         * elf/dl-load.c: Include <stap-probe.h>.
53415         (lose): Take new parameter "nsid".
53416         Added static probe "map_failed".
53417         (_dl_map_object_from_fd): Pass namespace id to lose.
53418         Added static probe "map_start".
53419         (open_verify): Pass namespace id to lose.
53420         * elf/dl-open.c: Include <stap-probe.h>.
53421         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53422         and "reloc_complete".
53423         * elf/dl-close.c: Include <stap-probe.h>.
53424         (_dl_close_worker): Added static probes "unmap_start" and
53425         "unmap_complete".
53426         * elf/rtld-debugger-interface.txt: New file documenting the above.
53428 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53430         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53431         rather than a string variable.
53432         * sunrpc/rpc_main.c (h_output): Likewise.
53433         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53435 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53437         * inet/check_native.c: New file.
53439 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53441         [BZ #13629]
53442         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53443         if larger part has absolute value 1.0.
53444         * math/s_clog10.c (__clog10): Likewise.
53445         * math/s_clog10f.c (__clog10f): Likewise.
53446         * math/s_clog10l.c (__clog10l): Likewise.
53447         * math/s_clogf.c (__clogf): Likewise.
53448         * math/s_clogl.c (__clogl): Likewise.
53449         * math/libm-test.inc (clog_test): Add more tests.
53450         (clog10_test): Likewise.
53451         * sysdeps/i386/fpu/libm-test-ulps: Update.
53452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53454         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53455         (pltexit): Likewise.
53456         (La_regs): Likewise.
53457         (La_retval): Likewise.
53458         (int_retval): Likewise.
53459         Update #error for removed macros to refer only to definitions in
53460         tst-audit.h.
53461         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53462         macro.
53463         (pltexit): Likewise.
53464         (La_regs): Likewise.
53465         (La_retval): Likewise.
53466         (int_retval): Likewise.
53467         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53468         macro.
53469         (pltexit): Likewise.
53470         (La_regs): Likewise.
53471         (La_retval): Likewise.
53472         (int_retval): Likewise.
53473         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53474         macro.
53475         (pltexit): Likewise.
53476         (La_regs): Likewise.
53477         (La_retval): Likewise.
53478         (int_retval): Likewise.
53479         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53480         macro.
53481         (pltexit): Likewise.
53482         (La_regs): Likewise.
53483         (La_retval): Likewise.
53484         (int_retval): Likewise.
53485         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53486         macro.
53487         (pltexit): Likewise.
53488         (La_regs): Likewise.
53489         (La_retval): Likewise.
53490         (int_retval): Likewise.
53491         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53492         macro.
53493         (pltexit): Likewise.
53494         (La_regs): Likewise.
53495         (La_retval): Likewise.
53496         (int_retval): Likewise.
53497         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53498         macro definitions in tst-audit.h.
53499         * sysdeps/i386/tst-audit.h: New file.
53500         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53501         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53502         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
53503         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
53504         * sysdeps/sh/tst-audit.h: Likewise.
53505         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
53506         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
53507         * sysdeps/x86_64/tst-audit.h: Likewise.
53509 2012-07-26  Andreas Jaeger  <aj@suse.de>
53511         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
53512         ptrace.
53514         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
53515         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
53516         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
53517         PTRACE_O_MASK.
53518         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
53519         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
53520         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
53522         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
53523         value.
53525         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
53526         _sigsys.
53527         (si_call_addr, si_syscall, si_arch): Define new macro.
53528         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
53529         _sigsys.
53530         (si_call_addr, si_syscall, si_arch): Define new marcro.
53531         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
53532         _sigsys.
53533         (si_call_addr, si_syscall, si_arch): Define new macro.
53534         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
53535         _sigsys.
53536         (si_call_addr, si_syscall, si_arch): Define new macro.
53538 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53540         [BZ #13717]
53541         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53542         Change to 2.4.21 where previously 2.4.1.
53543         * sysdeps/unix/sysv/linux/configure: Regenerated.
53544         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
53545         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
53546         Linux kernel version.
53547         (__ASSUME_STD_AUXV): Remove.
53548         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
53549         kernel version.
53550         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
53551         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
53552         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
53553         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
53554         (__ASSUME_NETLINK_SUPPORT): Likewise.
53555         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
53556         (__no_netlink_support): Remove conditional definition.
53557         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
53558         Remove.
53559         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53560         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
53561         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
53562         (if_nameindex_ioctl): Remove.
53563         (if_nameindex_netlink): Do not handle __no_netlink_support.
53564         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53565         code.
53566         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
53567         Remove conditional code.
53568         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
53569         code.
53570         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
53571         unconditional.
53572         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
53573         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
53574         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
53575         Remove.
53576         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
53577         [!__ASSUME_STD_AUXV]: Remove conditional code.
53578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
53579         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
53580         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
53581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
53582         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
53583         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53584         code.
53585         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53587         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
53588         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53589         conditional code.
53590         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
53591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53592         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
53593         code.
53594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53595         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
53596         conditional code.
53597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
53598         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53599         code unconditional.
53600         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53601         conditional code.
53602         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53603         unconditional.
53604         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53605         conditional code.
53606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53607         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53608         unconditional.
53609         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53610         conditional code.
53611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
53612         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53613         code unconditional.
53614         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53615         conditional code.
53616         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53617         unconditional.
53618         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53619         conditional code.
53620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
53621         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
53622         code unconditional.
53623         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53624         conditional code.
53625         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
53626         unconditional.
53627         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
53628         conditional code.
53630 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
53632         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
53633         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
53634         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
53635         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
53636         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
53637         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
53638         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
53639         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
53640         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
53641         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
53642         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
53643         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
53644         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
53645         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
53646         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
53647         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
53648         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
53649         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
53650         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
53651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
53652         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
53653         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
53654         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
53656 2012-07-25  Florian Weimer  <fweimer@redhat.com>
53658         * Versions.def: Add GLIBC_2.17.
53659         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
53660         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
53661         Introduce __libc_secure_getenv.
53662         * stdlib/Versions (2.17): Add secure_getenv
53663         (GLIBC_PRIVATE): Add __libc_secure_getenv.
53664         * stdlib/secure-getenv.c: Rename __secure_getenv to
53665         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
53666         symbol __secure_getenv for GLIBC_2.0.
53667         * stdlib/tst-secure-getenv.c: New.
53668         * stdlib/Makefile (tests): Add testcase.
53669         * manual/startup.texi (Environment Access): Document
53670         secure_getenv.
53671         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
53672         __libc_secure_getenv.
53673         * inet/ruserpass.c (ruserpass): Likewise.
53674         * malloc/mtrace.c (mtrace): Likewise.
53675         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
53676         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
53677         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
53678         * sysdeps/posix/tempname.c: Likewise.  Evaluate
53679         HAVE_SECURE_GETENV.
53680         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
53681         __secure_getenv to __libc_secure_getenv.
53682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
53683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53684         Likewise.
53685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53686         Likewise.
53687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
53688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
53689         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
53691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
53692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
53695 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
53697         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
53698         (struct La_i86_retval): Likewise.
53699         (struct La_x86_64_regs): Likewise.
53700         (struct La_x86_64_retval): Likewise.
53701         (struct La_x32_regs): Likewise.
53702         (struct La_x32_retval): Likewise.
53703         (struct La_ppc32_regs): Likewise.
53704         (struct La_ppc32_retval): Likewise.
53705         (struct La_ppc64_regs): Likewise.
53706         (struct La_ppc64_retval): Likewise.
53707         (struct La_sh_regs): Likewise.
53708         (struct La_sh_retval): Likewise.
53709         (struct La_s390_32_regs): Likewise.
53710         (struct La_s390_32_retval): Likewise.
53711         (struct La_s390_64_regs): Likewise.
53712         (struct La_s390_64_retval): Likewise.
53713         (struct La_sparc32_regs): Likewise.
53714         (struct La_sparc32_retval): Likewise.
53715         (struct La_sparc64_regs): Likewise.
53716         (struct La_sparc64_retval): Likewise.
53717         (struct audit_ifaces): Remove architecture-specific pltenter and
53718         pltexit members.
53719         * sysdeps/i386/ldsodefs.h: New file.
53720         * sysdeps/powerpc/ldsodefs.h: Likewise.
53721         * sysdeps/s390/ldsodefs.h: Likewise.
53722         * sysdeps/sh/ldsodefs.h: Likewise.
53723         * sysdeps/sparc/ldsodefs.h: Likewise.
53724         * sysdeps/x86_64/ldsodefs.h: Likewise.
53726 2012-07-25  Marek Polacek  <polacek@redhat.com>
53728         [BZ #6808]
53729         * math/libm-test.inc (yn_test): Add another test.
53730         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
53731         to ERANGE when the result is +-Inf.
53732         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53733         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
53734         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
53735         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
53737 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
53739         * conform/data/time.h-data (NULL): Use macro-constant.  Require
53740         equal to 0.
53741         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
53742         clock_t.
53743         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
53745 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
53747         * configure.in <sysdeps resolving>: Correct printing
53748         Implies_before.
53749         * configure: Regenerate.
53751 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
53753         * math/w_ilogb.c: Include <limits.h>.
53754         * math/w_ilogbl.c: Likewise.
53756 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53758         * manual/lang.texi (__va_copy): Document primarily as ISO C99
53759         va_copy.  Document allowing for unavailable va_copy only as
53760         pre-C99 compatibility.
53761         * manual/string.texi (Copying and Concatenation): Use va_copy
53762         instead of __va_copy in concat example.
53764 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
53766         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
53767         (__sendto): Use create_address_port.  Initialize APORT and deallocate
53768         it if not null.
53770         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
53771         with O_NOLINK passed to __file_name_lookup.
53773         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
53774         with O_NOLINK passed to __file_name_lookup.
53776         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
53777         negative N or less than NGIDS.
53779         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
53780         type to string_t.  Set ERANGE as errno and return it if NAME is not big
53781         enough.  Use memcpy instead of strncpy.
53783 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
53785         * elf/Makefile (check-data): Remove.
53786         (localplt.data): New vpath directive.
53787         ($(objpfx)check-localplt.out): Use localplt.data from vpath
53788         instead of $(check-data).
53789         * scripts/data/localplt-generic.data: Move to ...
53790         * sysdeps/generic/localplt.data: ... here.
53791         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
53792         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
53793         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
53794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
53795         ... here.
53796         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
53797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
53798         ... here.
53799         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
53800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
53801         ... here.
53802         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
53803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
53804         ... here.
53805         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
53806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
53807         ... here.
53808         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
53809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
53810         ... here.
53812 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53814         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
53815         PPC32 and PPC64 files.
53816         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
53817         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
53819 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53821         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
53822         __makecontext_ret to ...
53823         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
53824         ... here and call exit if uc_link is NULL.  New file.
53825         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
53826         __makecontext_ret.S.
53827         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
53828         __makecontext_ret to ...
53829         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
53830         ... here and call exit if uc_link is NULL.  New file.
53831         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
53832         __makecontext_ret.S.
53834 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53836         * elf/elf.h (R_390_IRELATIVE): New definition.
53837         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
53838         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
53839         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
53840         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
53841         (elf_machine_lazy_rel): Likewise.
53842         * sysdeps/s390/dl-irel.h: New file.
53843         * sysdeps/s390/s390-64/memcpy.S: New asm code.
53844         * sysdeps/s390/s390-64/memset.S: New asm code.
53845         * sysdeps/s390/s390-64/memcmp.S: New asm code.
53846         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
53847         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
53848         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
53849         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
53850         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
53851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
53852         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
53853         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
53854         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
53855         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
53856         * sysdeps/s390/s390-32/memcpy.S: New asm code.
53857         * sysdeps/s390/s390-32/memset.S: New asm code.
53858         * sysdeps/s390/s390-32/memcmp.S: New asm code.
53860 2012-07-17  Marek Polacek  <polacek@redhat.com>
53862         [BZ #14349]
53863         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
53864         * sysdeps/s390/s390-64/configure.in: Likewise.
53865         * sysdeps/sparc/configure.in: Likewise.
53866         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
53867         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
53868         * sysdeps/i386/configure.in: Likewise.
53869         * sysdeps/x86_64/configure.in: Likewise.
53870         * sysdeps/sh/configure.in: Likewise.
53871         * sysdeps/s390/s390-32/configure: Regenerated.
53872         * sysdeps/s390/s390-64/configure: Likewise.
53873         * sysdeps/x86_64/configure: Likewise.
53874         * sysdeps/sh/configure: Likewise.
53875         * sysdeps/powerpc/powerpc64/configure: Likewise.
53876         * sysdeps/powerpc/powerpc32/configure: Likewise.
53877         * sysdeps/sparc/configure: Likwise.
53878         * sysdeps/i386/configure: Likewise.
53880         * elf/dl-open.c: Comment fixes.
53882 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
53884         * Makefile [CXX] (check-data): Remove.
53885         [CXX] (c++-types.data): New vpath directive.
53886         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
53887         vpath.  Do not allow for C++ type data being missing.
53888         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
53889         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
53890         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
53891         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
53892         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
53893         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
53894         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
53895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
53896         ... here.
53897         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
53898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
53899         ... here.
53900         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
53901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
53902         ... here.
53903         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
53904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
53905         ... here.
53906         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
53907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
53908         ... here.
53909         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
53910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
53911         ... here.
53912         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
53913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
53914         ... here.
53915         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
53916         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
53918         * elf/tls-macros.h (TLS_LE): Move architecture-specific
53919         definitions to architecture-specific files.
53920         (TLS_IE): Likewise.
53921         (TLS_LD): Likewise.
53922         (TLS_GD): Likewise.
53923         * sysdeps/i386/tls-macros.h: New file.
53924         * sysdeps/powerpc/tls-macros.h: Likewise.
53925         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
53926         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
53927         * sysdeps/sh/tls-macros.h: Likewise.
53928         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
53929         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
53930         * sysdeps/x86_64/tls-macros.h: Likewise.
53932 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53934         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
53935         zero value for regular exit case.
53937         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53938         (__start_context): Preserve zero value for regular exit case.
53940 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53941             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53943         * manual/setjmp.texi (setcontext): Clarify normal process
53944         termination when uc_link is the null pointer.
53945         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53946         exit call.
53948 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53950         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53951         preprocessor.  Test for each exception mask separately.
53953 2012-07-16  Andreas Jaeger  <aj@suse.de>
53955         * po/ru.po: Update from translation team.
53957 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53959         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53960         equal to 0.
53961         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53962         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53963         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53964         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53965         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53967 2012-07-13  Andreas Jaeger  <aj@suse.de>
53969         * po/fr.po: Update from translation team.
53971 2012-07-12  Marek Polacek  <polacek@redhat.com>
53973         [BZ #14173]
53974         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53975         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53976         loop condition.
53978 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53980         [BZ #13717]
53981         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53982         Change to 2.4.1 where previously 2.4.0.
53983         * sysdeps/unix/sysv/linux/configure: Regenerated.
53984         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53985         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53986         version.
53987         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53988         (__ASSUME_AT_CLKTCK): Remove.
53989         (__ASSUME_AT_PAGESIZE): Likewise.
53990         (__ASSUME_AT_XID): Likewise.
53991         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53992         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53993         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53994         unconditionally.
53995         (HAVE_AUX_PAGESIZE): Likewise.
53996         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53997         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53998         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54000 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54002         [BZ #14307]
54003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54004         the temporary buffer used to invoke __gethostbyname2_r,
54005         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54006         host_data / struct gaih_addrtuple.
54007         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54008         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54009         header file nss/nsswitch.h.
54010         * nss/nsswitch.h (global scope): Add definition of implementation
54011         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54012         resolv/nss_dns/dns-host.c).
54014 2012-07-11  Andreas Jaeger  <aj@suse.de>
54016         * po/fr.po: Update from translation team.
54018         * po/sv.po: Update from translation team
54019         * po/fr.po: Another update from translation team.
54021 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54023         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54024         for subnormals or multiply small sinh result by itself.
54025         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54028 2012-07-11  David S. Miller  <davem@davemloft.net>
54030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54032 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54034         [BZ #14347]
54035         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54036         (INTERNAL_MARK): Shift it here.
54038 2012-07-10  Marek Polacek  <polacek@redhat.com>
54040         [BZ #14151]
54041         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54042         libc_cv_asm_global_directive with .globl.
54043         * configure: Regenerated.
54044         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54045         with .globl.
54046         * sysdeps/i386/configure: Regenerated.
54047         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54048         with .globl.
54049         * sysdeps/x86_64/configure: Regenerated.
54050         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54051         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54052         * elf/tst-unique2mod2.c: Likewise.
54053         * elf/tst-unique2mod1.c: Likewise.
54054         * elf/tst-unique1mod2.c: Likewise.
54055         * elf/tst-unique1mod1.c: Likewise.
54056         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54057         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54058         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54059         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54060         * sysdeps/mach/sysdep.h: Likewise.
54061         * sysdeps/i386/sysdep.h: Likewise.
54062         * sysdeps/i386/i386-mcount.S: Likewise.
54063         * sysdeps/x86_64/_mcount.S: Likewise.
54064         * sysdeps/x86_64/sysdep.h: Likewise.
54065         * sysdeps/sh/_mcount.S: Likewise.
54066         * sysdeps/sh/sysdep.h: Likewise.
54067         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54068         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54069         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54070         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54071         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54072         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54073         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54074         * locale/localeinfo.h: Likewise.
54075         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54076         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54078 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54080         [BZ #14336]
54081         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54082         system".
54083         * manual/message.texi (The Uniforum approach): Likewise.
54084         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54085         (glibc iconv Implementation): Likewise.
54087 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54089         [BZ #14337]
54090         * math/s_clog.c (__clog): Avoid scaling a value down where that
54091         could result in underflow.
54092         * math/s_clog10.c (__clog10): Likewise.
54093         * math/s_clog10f.c (__clog10f): Likewise.
54094         * math/s_clog10l.c (__clog10l): Likewise.
54095         * math/s_clogf.c (__clogf): Likewise.
54096         * math/s_clogl.c (__clogl): Likewise.
54097         * math/libm-test.inc (clog_test): Add more tests.
54098         (clog10_test): Likewise.
54099         * sysdeps/i386/fpu/libm-test-ulps: Update.
54100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54102 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54104         [BZ #14283]
54105         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54106         by 7 not 8 to examine high bit of fractional part.
54108         [BZ #14042]
54109         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54110         for call to __mcount_internal.
54111         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54112         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54113         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54115 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54117         [BZ #14154]
54118         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54119         approximation for values within 0x1p-13f of an odd multiple of
54120         pi/4.
54121         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54122         exception.  Add more tests.
54123         * sysdeps/i386/fpu/libm-test-ulps: Update.
54125         [BZ #6778]
54126         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54127         inputs and return -1 for them.  Do not check for +Inf in case not
54128         reachable for +Inf.
54129         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54130         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54131         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54132         and return -1 for them.  Do not check for +Inf in case not
54133         reachable for +Inf.
54134         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54135         define.
54136         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54137         and return -1 for them.  Do not check for +Inf in case not
54138         reachable for +Inf.
54139         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54140         spurious underflow.
54141         * sysdeps/i386/fpu/libm-test-ulps: Update.
54142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54144 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54146         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54148 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54150         [BZ #14157]
54151         [BZ #14331]
54152         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54153         could result in spurious underflow.  Scale down values above
54154         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54155         * math/s_csqrtf.c (__csqrtf): Likewise.
54156         * math/s_csqrtl.c (__csqrtl): Likewise.
54157         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54158         spurious underflow.
54159         * sysdeps/i386/fpu/libm-test-ulps: Update.
54160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54162 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54164         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54165         xopen-msg.sed.
54166         * catgets/xopen-msg.awk: New file.
54167         * catgets/xopen-msg.sed: Removed.
54169         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54170         po2text.sed.
54171         * intl/po2test.awk: New file.
54172         * intl/po2test.sed: Removed.
54174 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54176         [BZ #14328]
54177         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54178         or multiply small sinh result by itself.
54179         * math/s_ctanf.c (__ctanf): Likewise.
54180         * math/s_ctanh.c (__ctanh): Likewise.
54181         * math/s_ctanhf.c (__ctanhf): Likewise.
54182         * math/s_ctanhl.c (__ctanhl): Likewise.
54183         * math/s_ctanl.c (__ctanl): Likewise.
54184         * math/libm-test.inc (ctan_test_tonearest): New function.
54185         (ctan_test_towardzero): Likewise.
54186         (ctan_test_downward): Likewise.
54187         (ctan_test_upward): Likewise.
54188         (ctanh_test_tonearest): Likewise.
54189         (ctanh_test_towardzero): Likewise.
54190         (ctanh_test_downward): Likewise.
54191         (ctanh_test_upward): Likewise.
54192         (main): Call these new functions.
54193         * sysdeps/i386/fpu/libm-test-ulps: Update.
54194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54196 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54198         * .gitignore: Delete /ports entry.
54200 2012-07-03  Andreas Jaeger  <aj@suse.de>
54202         * po/bg.po: Update from translation team.
54203         * po/cs.po: Likewise.
54204         * po/de.po: Likewise.
54205         * po/hr.po: Likewise.
54206         * po/nl.pl: Likewise.
54207         * po/pl.po: Likewise.
54208         * po/vi.po: Likewise.
54210 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54212         * Makeconfig [!+link] (+link-before-libc): New variable.
54213         [!+link] (+link-after-libc): Likewise.
54214         [!+link] (+link-tests): Likewise.
54215         [!+link] (+link): Define in terms of $(+link-before-libc) and
54216         $(+link-after-libc).
54217         [!+link-static] (+link-static-before-libc): New variable.
54218         [!+link-static] (+link-static-after-libc): Likewise.
54219         [!+link-static] (+link-static-tests): Likewise.
54220         [!+link-static] (+link-static): Define in terms of
54221         $(+link-static-before-libc) and $(+link-static-after-libc).
54222         [build-shared] (link-libc-before-gnulib): New variable.
54223         [build-shared] (link-libc-tests): Likewise.
54224         [build-shared] (link-libc): Define in terms of
54225         $(link-libc-before-gnulib).
54226         [!build-shared] (link-libc-tests): New variable.
54227         (link-libc-static-tests): New variable.
54228         [!gnulib] (gnulib-arch): New variable.
54229         [!gnulib] (gnulib-tests): Likewise.
54230         [!gnulib] (static-gnulib-arch): Likewise.
54231         [!gnulib] (static-gnulib-tests): Likewise.
54232         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54233         Define with "=" instead of ":=".
54234         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54235         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54236         * Rules (binaries-all-notests): New variable.
54237         (binaries-all-tests): Likewise.
54238         (binaries-static-notests): Likewise.
54239         (binaries-static-tests): Likewise.
54240         (binaries-all): Define using $(binaries-all-notests) and
54241         $(binaries-all-tests).
54242         (binaries-static): Define using $(binaries-static-notests) and
54243         $(binaries-static-tests).
54244         (binaries-shared-tests): New variable.
54245         (binaries-shared-notests): Likewise.
54246         (binaries-shared): Remove variable.
54247         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54248         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54249         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54250         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54251         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54252         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54253         * elf/Makefile (sln-modules): New variable.
54254         (extra-objs): Add $(sln-modules:=.o).
54255         (ldconfig-modules): Add static-stubs.
54256         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54257         * elf/static-stubs.c: New file.
54259         [BZ #14283]
54260         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54261         by 7 not 8 to examine high bit of fractional part.  Use volatile
54262         variables when splitting into final array of floats if
54263         __FLT_EVAL_METHOD__ != 0.
54264         * math/libm-test.inc (cos_test): Add another test.
54265         (sin_test): Likewise.
54266         * sysdeps/i386/fpu/libm-test-ulps: Update.
54268         [BZ #14273]
54269         * math/libm-test.inc (cosh_test): Add more tests.
54271         * version.h (RELEASE): Set to "development".
54272         (VERSION): Set to "2.16.90".
54274 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54276         * NEWS: Update copyright. Remove last-updated date.
54277         Mention math library bug fixes and timezone data changes.
54278         * README: Mention GNU/Hurd, x32, and HPPA support status.
54280 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54282         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54284 2012-06-27  Andreas Jaeger  <aj@suse.de>
54286         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54288 2012-06-25  Andreas Jaeger  <aj@suse.de>
54290         * sysdeps/s390/fpu/libm-test-ulps: Update.
54292 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54293             Thomas Schwinge  <thomas@codesourcery.com>
54295         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54296         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54298         fanotify_mark.
54300 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54302         * sysdeps/mach/start.c: Remove file.
54303         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54304         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54305         * sysdeps/sh/init-first.c: Likewise.
54307         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54308         registers for frame unwinding purposes, add CFI directives.
54309         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54310         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54311         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54312         Likewise.
54314         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54315         __fortify_fail returning.
54316         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54318         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54319         sysdeps/sh/____longjmp_chk.S.
54320         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54321         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54322         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54323         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54325         * sysdeps/sh/abort-instr.h: New file.
54326         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54327         process in case exit returns.
54329         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54330         initialize the GOT register before use.
54332         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54333         calculation of ARGC > 4.
54335         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54336         meaningful names to some local labels.
54338 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54339             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54341         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54342         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54343         (__arch_compare_and_exchange_val_16_acq): Likewise.
54344         (__arch_compare_and_exchange_val_32_acq): Likewise.
54345         (atomic_exchange_and_add): Fix gUSA sequence.
54346         (atomic_add): Likewise.
54347         (atomic_add_negative): Likewise.
54348         (atomic_add_zero): Likewise.
54349         (atomic_bit_test_set): Likewise.
54351 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54353         [BZ #13579]
54354         * include/link.h (struct link_map): Add l_free_initfini.
54355         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54356         l_initfini.
54357         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54358         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54359         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54360         set.
54362 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54364         * configure.in: Use AC_LANG_SOURCE.
54365         * configure: Regenerate.
54367 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54369         * configure.in (libc_cv_localstatedir): New substituted variable.
54370         * configure: Regenerated.
54371         * config.make.in (localstatedir): New variable, substituted from
54372         libc_cv_localstatedir.
54373         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54374         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54375         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54376         * sysdeps/gnu/configure: Regenerated.
54378 2012-06-21  Jeff Law  <law@redhat.com>
54380         [BZ #14277]
54381         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54382         free.  Simplify list management for _LIBC case.
54384 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54386         [BZ #14273]
54387         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54388         Clear sign bit of 64-bit integer value before comparing against
54389         overflow value.
54391         * sysdeps/mach/configure: Regenerated.
54393 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54395         [BZ #14278]
54396         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54398 2012-06-21  Jeff Law  <law@redhat.com>
54400         [BZ #13882]
54401         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54402         uint16_t for elements in the "seen" array to avoid char overflows.
54403         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54404         * elf/dl-open.c (dl_open_worker): Likewise.
54406 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54408         * scripts/list-sources.sh: Scan PORTS for translations.
54409         * po/libc.pot: Regenerated.
54411 2012-06-21  Andreas Jaeger  <aj@suse.de>
54413         [BZ #12194]
54414         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54415         warning.
54416         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54417         * bits/byteswap-16.h (__bswap_16): Likewise.
54418         * bits/byteswap.h (__bswap_constant_16): Likewise.
54420 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54422         [BZ #14117]
54423         * sysdeps/i386/fpu_control.h: Removed.
54424         * sysdeps/x86_64/fpu_control.h: Moved to ...
54425         * sysdeps/x86/fpu_control.h: Here.
54427         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54428         (_FPU_SETCW): Likewise.
54430 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54432         [BZ #14117]
54433         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54434         * sysdeps/x86/fpu/bits/mathinline.h: This.
54435         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54437         [BZ #14050]
54438         [BZ #14117]
54439         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54440         functions if __x86_64__ is defined.
54442 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54444         * string/endian.h: Add !__ASSEMBLER__ condition for including
54445         conversion interfaces.
54447 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54449         [BZ #14241]
54450         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54451         of ABS(x) in calculating zero to negative powers other than odd
54452         integers.
54453         * math/libm-test.inc (pow_test): Add more tests.
54455 2012-06-15  Andreas Jaeger  <aj@suse.de>
54457         * manual/contrib.texi (Contributors): Update entry of Liubov
54458         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54459         Machado Filho.
54461 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54463         * string/string.h: Add __wur to GNU version of strerror_r.
54465 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54467         [BZ #14229]
54468         * string/Makefile (tests): Add tst-strtok_r.
54469         * string/tst-strtok_r.c: New file.
54470         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54471         RAX_LP/RDX_LP on SAVE_PTR.
54473 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54475         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54477 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54479         * libm_test.inc (csqrt_test): Allow more spurious underflow
54480         exceptions.
54481         (j0_test): Likewise.
54482         (j1_test): Likewise.
54483         (y0_test): Likewise.
54484         (y1_test): Likewise.
54486 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54488         * po/Makefile (libc.pot): Use UTF-8 charset.
54490 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54492         [BZ #14210]
54493         Suppress sign-conversion warning from FD_SET.
54494         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54495         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54496         not unsigned long int.
54497         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54499 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54501         [BZ #14050]
54502         [BZ #14117]
54503         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
54504         __extern_always_inline instead of __extern_inline.
54505         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
54506         (__signbit): Likewise.
54507         (__signbitl): Support C++ namespace.
54508         (lrintf): New inline function.
54509         (lrint): Likewise.
54510         (llrintf): Likewise.
54511         (llrint): Likewise.
54512         (fmaxf): Likewise.
54513         (fmax): Likewise.
54514         (fminf): Likewise.
54515         (fmin): Likewise.
54516         (rint): Likewise.
54517         (rintf): Likewise.
54518         (ceil): Likewise.
54519         (ceilf): Likewise.
54520         (floor): Likewise.
54521         (floorf): Likewise.
54522         (nearbyint): Likewise.
54523         (nearbyintf): Likewise.
54525 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
54527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
54528         non-default versions.
54530 2012-06-11  Roland McGrath  <roland@hack.frob.com>
54532         [BZ #14218]
54533         * manual/argp.texi (Argp): Reword argp_parse description slightly.
54535 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
54537         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
54538         (FE_UPWARD, FE_DOWNWARD): Don't define.
54539         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
54540         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54542         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
54543         reading it.
54544         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54545         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54547 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54549         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54550         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
54551         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
54552         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
54554 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
54556         [BZ #14117]
54557         * sysdeps/i386/fpu/bits/fenv.h: Removed.
54558         * sysdeps/i386/fpu/Implies: New file.
54559         * sysdeps/x86_64/fpu/Implies: Likewise.
54560         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
54561         * sysdeps/x86/fpu/bits/fenv.h: This.
54563         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
54564         __SSE_MATH__.
54566 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54568         [BZ #14134]
54569         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
54570         character 0xffff that matches the last element of the
54571         conversion table.
54573 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54575         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
54576         fmodl commit.
54578 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
54581         values higher than 25.6283.
54583 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
54586         subnormal exponent extraction and add some __builtin_expect.
54587         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
54588         Fix for subnormal mantissa calculation.
54590 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
54592         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
54593         cpu2 is -1 and errno is not ENOSYS.
54595 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
54597         [BZ #14117]
54598         * sysdeps/i386/i486/bits/string.h: Renamed to ...
54599         * sysdeps/x86/bits/string.h: This.
54600         * sysdeps/x86_64/bits/string.h: Removed.
54602         * sysdeps/i386/i486/bits/string.h: Define inline functions only
54603         if not compiling for x86-64, but compiling for >= i486.
54605         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
54606         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
54608         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
54609         New macro from Linux kernel 3.4.0.
54610         (FP_XSTATE_MAGIC2): Likewise.
54611         (FP_XSTATE_MAGIC2_SIZE): Likewise.
54612         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
54613         (struct _fpx_sw_bytes): New struct.
54614         (struct _xsave_hdr): Likewise.
54615         (struct _ymmh_state): Likewise.
54616         (struct _xstate): Likewise.
54618         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
54619         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
54620         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
54621         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
54622         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
54623         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
54625         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
54626         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
54627         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
54628         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
54629         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
54630         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
54632 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54634         [BZ #13743]
54635         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
54636         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
54637         (sysdep_headers): Include sys/platform/ppc.h.
54638         * sysdeps/powerpc/test-gettimebase.c: Test for
54639         __ppc_get_timebase() to catch future ISA opcode/insn changes.
54640         * manual/Makefile (appendices): Include platform.texi.
54641         * manual/contrib.texi (Contributors): Update @node pointers.
54642         * manual/maint.texi (Maintenance): Likewise.
54643         (Platform): New node.
54644         * manual/platform.texi: New file.  Document the new features.
54646 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54647             Jakub Jelinek  <jakub@redhat.com>
54649         [BZ #14188]
54650         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
54651         where __builtin_expect is unavailable.
54653 2012-06-03  David S. Miller  <davem@davemloft.net>
54655         * stdlib/longlong.h: Updated from GCC.
54657 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
54659         [BZ #14042]
54660         * sysdeps/powerpc/powerpc32/mcount.c: New file.
54661         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
54662         __mcount_internal.
54663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
54664         (GLIBC_2.16): Likewise.
54666 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54668         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
54670 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
54673         (default-abi): New variable.
54674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
54675         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
54676         variable.
54677         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
54678         Likewise.
54679         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
54680         Likewise.
54681         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
54682         Likewise.
54684         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
54685         definition.  Document in comment.
54687 2012-06-01  David S. Miller  <davem@davemloft.net>
54689         * stdlib/longlong.h: Updated from GCC.
54691 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54693         [BZ #14117]
54694         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
54695         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
54696         sys/debugreg.h sys/io.h here.
54697         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
54698         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
54699         sys/io.h.
54700         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
54701         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
54702         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
54703         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
54704         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
54705         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
54707         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
54708         Define only if __x86_64__ is defined.
54710 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
54712         [BZ #14048]
54713         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
54714         Use int64_t for variable i.
54715         * math/libm-test.inc (fmod_test): Add more tests.
54717         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
54718         z computation is not scheduled after fetestexcept.
54719         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
54720         Use math_force_eval instead of asm to ensure calculation scheduled
54721         before exception test.
54722         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
54723         Ensure a1 + u.d computation is not scheduled after fetestexcept.
54725 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
54727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
54728         computation is not scheduled after fetestexcept.
54730 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
54732         [BZ #14117]
54733         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
54734         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
54736 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54738         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
54739         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54741 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54743         [BZ #14117]
54744         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
54745         <bits/wordsize.h>.
54746         (__WCHAR_MIN): Support __WORDSIZE == 64.
54747         (__WCHAR_MAX): Likewise.
54749         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
54750         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
54752         [BZ #14183]
54753         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
54754         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
54756         [BZ #14117]
54757         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
54758         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
54760         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
54761         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
54763         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
54764         Defined to 1 if __x86_64__ isn't defined.
54765         (_STAT_VER_LINUX_OLD): New.
54766         (st_atime): Remove duplicate.
54767         (st_mtime): Likewise.
54768         (st_ctime): Likewise.
54770 2012-05-31  David S. Miller  <davem@davemloft.net>
54772         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
54773         entries.
54775 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
54777         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
54778         gen-libm-test.pl.
54780         [BZ #14132]
54781         * elf/dl-reloc.c: Include <_itoa.h>.
54782         (_dl_reloc_bad_type): Remove use of INTUSE.
54783         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
54784         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
54785         * stdio-common/psiginfo.c (psiginfo): Likewise.
54786         * stdio-common/psignal.c (psignal): Likewise.
54787         * string/strsignal.c (strsignal): Likewise.
54788         * include/signal.h (_sys_siglist): Declare hidden proto.
54789         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
54790         INTVARDEF with libc_hidden_data_def.
54791         * stdio-common/itoa-udigits.c: Likewise.
54792         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
54793         (_itoa_lower_digits_internal): Remove declaration.
54794         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
54795         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
54796         (_sys_sigabbrev_internal): Remove aliases.
54797         (_sys_siglist): Define hidden alias.
54799 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
54801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54802         bits/sysctl.h.
54804 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
54806         [BZ #14117]
54807         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
54808         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
54810         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
54811         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
54812         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
54813         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
54814         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
54815         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
54817         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
54818         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
54819         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
54821         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
54822         with __addr.
54823         (insw): Likewise.
54824         (insl): Likewise.
54825         (outsb): Likewise.
54826         (outsw): Likewise.
54827         (outsl): Likewise.
54829         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
54830         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
54831         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
54833         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
54834         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
54835         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
54836         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
54837         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
54838         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
54840         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
54841         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
54843         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
54844         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
54846         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
54847         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
54848         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
54850         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
54851         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54852         to ...
54853         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
54855         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
54856         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
54857         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
54859         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
54860         for x86-64.
54861         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
54863 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
54865         * math/math.h (M_El): Use two more decimal places.
54866         (M_LOG2El): Likewise.
54867         (M_LOG10El): Likewise.
54868         (M_LN2l): Likewise.
54869         (M_LN10l): Likewise.
54870         (M_PIl): Likewise.
54871         (M_PI_2l): Likewise.
54872         (M_PI_4l): Likewise.
54873         (M_1_PIl): Likewise.
54874         (M_2_PIl): Likewise.
54875         (M_2_SQRTPIl): Likewise.
54876         (M_SQRT2l): Likewise.
54877         (M_SQRT1_2l): Likewise.
54879 2012-05-31  David S. Miller  <davem@davemloft.net>
54881         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
54882         values between float registers.
54883         * sysdeps/sparc/sparc64/memset.S: Likewise.
54884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54886 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
54888         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
54889         -D_FORTIFY_SOURCE=1.
54890         (CPPFLAGS-tst-longjmp_chk.c): Define.
54891         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
54892         (CPPFLAGS-tst-longjmp_chk2.c): Define.
54893         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
54894         CFLAGS-tst-wchar-h.c.
54896 2012-05-31  Marek Polacek  <polacek@redhat.com>
54898         [BZ #14132]
54899         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
54900         __endmntent_internal): Remove declaration.
54901         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
54902         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
54903         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
54905 2012-05-30  David S. Miller  <davem@davemloft.net>
54907         * sysdeps/sparc/sparc32/soft-fp/q_util.c
54908         (___Q_simulate_exceptions): Use real FP ops rather than writing
54909         into the %fsr.
54910         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
54911         Likewise.
54913 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54915         [BZ #14117]
54916         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
54917         * sysdeps/x86/bits/xtitypes.h: This.
54919         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
54920         * sysdeps/x86/bits/wordsize.h: This.
54922         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
54923         * sysdeps/x86/bits/huge_vall.h: This.
54925         * sysdeps/i386/bits/select.h: Removed.
54926         * sysdeps/x86_64/bits/select.h: Renamed to ...
54927         * sysdeps/x86/bits/select.h: This.
54929         * sysdeps/i386/bits/setjmp.h: Removed.
54930         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
54931         * sysdeps/x86/bits/setjmp.h: This.
54933         * sysdeps/i386/bits/mathdef.h: Removed.
54934         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
54935         * sysdeps/x86/bits/mathdef.h: This.
54937 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54939         [BZ #14132]
54940         * include/sys/socket.h (__connect_internal)
54941         (__libc_sa_len_internal): Remove declaration.
54942         (__connect, __libc_sa_len): Declare hidden_proto.
54943         (SA_LEN): Remove use of INTUSE.
54944         * socket/connect.c: Add libc_hidden_def.
54945         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54946         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54947         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54948         alias.
54949         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54950         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54951         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54952         of adding _internal alias.
54954 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54956         [BZ #14117]
54957         * sysdeps/i386/bits/link.h: Removed.
54958         * sysdeps/i386/bits/linkmap.h: Likewise.
54959         * sysdeps/x86_64/bits/link.h: Renamed to ...
54960         * sysdeps/x86/bits/link.h: This.
54961         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54962         * sysdeps/x86/bits/linkmap.h: This.
54964         * sysdeps/i386/bits/endian.h: Removed.
54965         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54966         * sysdeps/x86/bits/endian.h: This.
54968         * sysdeps/i386/bits/byteswap.h: Removed.
54969         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54970         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54971         * sysdeps/x86/bits/byteswap.h: This.
54972         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54973         * sysdeps/x86/bits/byteswap-16.h: This.
54974         * sysdeps/i386/Implies: Add x86.
54975         * sysdeps/x86_64/Implies: Likewise.
54977 2012-05-30  David S. Miller  <davem@davemloft.net>
54979         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54980         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54981         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54982         (FP_TRAPPING_EXCEPTIONS): Define.
54983         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54984         (FP_TRAPPING_EXCEPTIONS): Define.
54985         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54986         subnormals only when inexact has been signalled or underflow
54987         exceptions are enabled.
54988         (_FP_PACK_CANONICAL): Likewise.
54990 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54992         [BZ #14183]
54993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54994         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54996 2012-05-30  Richard Henderson  <rth@twiddle.net>
54998         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54999         with #ifndef NOT_IN_libc.
55001         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55002         marked to avoid plt entry.
55004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55006         [BZ #14112]
55007         * Makeconfig (default-abi): New macro.
55008         (abi-includes): Likewise.
55009         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55010         $(abi-$(default-abi)-lib-soname) for soname if defined.
55011         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55012         abi-variants.
55013         * Makefile (installed-stubs): Likewise.
55014         * include/stubs-biarch.h: Removed.
55015         * scripts/lib-names.awk: Only handle one library at a time.
55016         * scripts/soversions.awk: Remove WORDSIZE support.
55017         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55018         entries.
55019         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55020         Removed.
55021         (syscall-list-default-condition): Likewise.
55022         (syscall-list-default-condition): Likewise.
55023         (syscall-list-includes): Likewise.
55024         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55025         syscall-list-* with abi-*.  Handle undefined abi-variants.
55026         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55027         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55028         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55029         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55030         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55031         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55032         Removed.
55033         (syscall-list-32-options): Likewise.
55034         (syscall-list-32-condition): Likewise.
55035         (syscall-list-64-options): Likewise.
55036         (syscall-list-64-condition): Likewise.
55037         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55038         macro.
55039         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55040         Renamed to ...
55041         (abi-*): This.
55042         (abi-64-ld-soname): New macro.
55043         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55044         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55045         Renamed to ...
55046         (abi-*): This.
55047         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55048         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55050 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55052         * sysdeps/unix/sysv/linux/kernel-features.h
55053         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55054         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55055         include <kernel-features.h>.
55056         [!__NR_ftruncate64]: Remove conditional code.
55057         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55058         [__NR_ftruncate64]: Make code unconditional.
55059         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55060         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55061         include <kernel-features.h>.
55062         [!__NR_ftruncate64]: Remove conditional code.
55063         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55064         [__NR_ftruncate64]: Make code unconditional.
55065         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55067         include <kernel-features.h>.
55068         [!__NR_ftruncate64]: Remove conditional code.
55069         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55070         [__NR_ftruncate64]: Make code unconditional.
55071         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55073         include <kernel-features.h>.
55074         [!__NR_ftruncate64]: Remove conditional code.
55075         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55076         [__NR_ftruncate64]: Make code unconditional.
55077         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55079         * configure.in (libc_cv_fpie): Weaken to a compile test using
55080         LIBC_TRY_CC_OPTION.
55081         * configure: Regenerated.
55083 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55089         Refreshed.
55090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55096         Refreshed.
55098 2012-05-27  David S. Miller  <davem@davemloft.net>
55100         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55101         (___Q_zero): New.
55102         (__Q_simulate_exceptions): Return void.  Change to simulate
55103         exceptions by writing into the %fsr.
55104         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55105         (__Qp_handle_exceptions): Likewise.
55106         (numbers): Delete.
55107         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55108         __Qp_handle_exceptions.
55109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55110         __Qp_handle_exceptions.
55111         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55112         as unused and give dummy FP_RND_NEAREST initializer.
55113         (FP_INHIBIT_RESULTS): Define.
55114         (___Q_simulate_exceptions): Update declaration.
55115         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55116         formatting.
55117         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55118         as unused and give dummy FP_RND_NEAREST initializer.
55119         (__Qp_handle_exceptions): Update declaration.
55120         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55121         formatting.
55123 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55125         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55126         the temporary FPU control word.
55127         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55128         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55130         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55131         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55132         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55133         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55134         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55135         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55136         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55137         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55139 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55141         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55142         fields.
55144 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55146         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55147         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55148         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55149         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55150         Likewise.
55151         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55152         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55153         Likewise.
55155 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55157         * po/h.po: Update from translation team.
55159 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55161         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55163         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55164         handling of denormals.
55165         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55166         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55167         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55168         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55169         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55170         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55171         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55172         Likewise.
55174 2012-05-26  Marek Polacek  <polacek@redhat.com>
55176         [BZ #14152]
55177         * math/libm-test.inc (fma_test): Don't always expect underflow
55178         exception.
55180 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55182         [BZ #12416]
55183         * elf/tst-execstack.c: Include stackinfo.h.
55184         (do_test): Adjust test case to ensure that pthread_getattr_np
55185         behaviour remains the same after marking stack executable.
55187 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55189         * sysdeps/unix/sysv/linux/kernel-features.h
55190         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55191         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55192         kernel-features.h.
55193         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55194         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55195         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55196         kernel-features.h.
55197         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55198         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55200 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55202         * configure.in: Define the default includes to being none.
55203         * configure: Regenerated.
55205 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55207         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55208         * sysdeps/x86_64/setjmp.S: Likewise.
55209         * sysdeps/i386/bsd-setjmp.S: Likewise.
55210         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55211         * sysdeps/i386/setjmp.S: Likewise.
55212         * sysdeps/i386/__longjmp.S: Likewise.
55213         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55214         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55216         * include/stap-probe.h: New file.
55217         * configure.in: Handle --enable-systemtap.
55218         * configure: Regenerated.
55219         * config.h.in (USE_STAP_PROBE): New #undef.
55220         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55221         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55222         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55224 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55226         [BZ #13717]
55227         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55228         to 2.4.0 where earlier.
55229         * sysdeps/unix/sysv/linux/configure: Regenerated.
55230         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55231         <kernel-features.h>.
55232         [__ASSUME_32BITUIDS]: Make code unconditional.
55233         [!__ASSUME_32BITUIDS]: Remove conditional code.
55234         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55235         <kernel-features.h>.
55236         [__ASSUME_32BITUIDS]: Make code unconditional.
55237         [!__ASSUME_32BITUIDS]: Remove conditional code.
55238         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55239         [__ASSUME_32BITUIDS]: Make code unconditional.
55240         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55241         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55242         <kernel-features.h>.
55243         [__ASSUME_32BITUIDS]: Make code unconditional.
55244         [!__ASSUME_32BITUIDS]: Remove conditional code.
55245         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55246         <kernel-features.h>.
55247         [__ASSUME_32BITUIDS]: Make code unconditional.
55248         [!__ASSUME_32BITUIDS]: Remove conditional code.
55249         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55250         <kernel-features.h>.
55251         [__ASSUME_32BITUIDS]: Make code unconditional.
55252         [!__ASSUME_32BITUIDS]: Remove conditional code.
55253         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55254         <kernel-features.h>.
55255         [__ASSUME_32BITUIDS]: Make code unconditional.
55256         [!__ASSUME_32BITUIDS]: Remove conditional code.
55257         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55258         <kernel-features.h>.
55259         [__ASSUME_32BITUIDS]: Make code unconditional.
55260         [!__ASSUME_32BITUIDS]: Remove conditional code.
55261         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55262         <kernel-features.h>.
55263         [__ASSUME_32BITUIDS]: Make code unconditional.
55264         [!__ASSUME_32BITUIDS]: Remove conditional code.
55265         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55266         <kernel-features.h>.
55267         [__ASSUME_32BITUIDS]: Make code unconditional.
55268         [!__ASSUME_32BITUIDS]: Remove conditional code.
55269         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55270         <kernel-features.h>.
55271         [__ASSUME_32BITUIDS]: Make code unconditional.
55272         [!__ASSUME_32BITUIDS]: Remove conditional code.
55273         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55274         <kernel-features.h>.
55275         [__ASSUME_32BITUIDS]: Make code unconditional.
55276         [!__ASSUME_32BITUIDS]: Remove conditional code.
55277         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55278         <kernel-features.h>.
55279         [__ASSUME_32BITUIDS]: Make code unconditional.
55280         [!__ASSUME_32BITUIDS]: Remove conditional code.
55281         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55282         <kernel-features.h>.
55283         [__NR_setresgid] (__setresgid): Do not declare.
55284         [__ASSUME_32BITUIDS]: Make code unconditional.
55285         [!__ASSUME_32BITUIDS]: Remove conditional code.
55286         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55287         <kernel-features.h>.
55288         [__NR_setresuid] (__setresuid): Do not declare.
55289         [__ASSUME_32BITUIDS]: Make code unconditional.
55290         [!__ASSUME_32BITUIDS]: Remove conditional code.
55291         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55292         <kernel-features.h>.
55293         [__ASSUME_32BITUIDS]: Make code unconditional.
55294         [!__ASSUME_32BITUIDS]: Remove conditional code.
55295         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55296         <kernel-features.h>.
55297         [__ASSUME_32BITUIDS]: Make code unconditional.
55298         [!__ASSUME_32BITUIDS]: Remove conditional code.
55299         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55300         <kernel-features.h>.
55301         [__ASSUME_32BITUIDS]: Make code unconditional.
55302         [!__ASSUME_32BITUIDS]: Remove conditional code.
55303         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55304         <kernel-features.h>.
55305         [__ASSUME_32BITUIDS]: Make code unconditional.
55306         [!__ASSUME_32BITUIDS]: Remove conditional code.
55307         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55308         <kernel-features.h>.
55309         [__ASSUME_32BITUIDS]: Make code unconditional.
55310         [!__ASSUME_32BITUIDS]: Remove conditional code.
55311         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55312         <kernel-features.h>.
55313         [__ASSUME_32BITUIDS]: Make code unconditional.
55314         [!__ASSUME_32BITUIDS]: Remove conditional code.
55315         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55316         <kernel-features.h>.
55317         [__ASSUME_32BITUIDS]: Make code unconditional.
55318         [!__ASSUME_32BITUIDS]: Remove conditional code.
55319         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55320         <kernel-features.h>.
55321         [__ASSUME_32BITUIDS]: Make code unconditional.
55322         [!__ASSUME_32BITUIDS]: Remove conditional code.
55323         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55324         <kernel-features.h>.
55325         [__ASSUME_32BITUIDS]: Make code unconditional.
55326         [!__ASSUME_32BITUIDS]: Remove conditional code.
55327         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55328         <kernel-features.h>.
55329         [__ASSUME_32BITUIDS]: Make code unconditional.
55330         [!__ASSUME_32BITUIDS]: Remove conditional code.
55331         * sysdeps/unix/sysv/linux/kernel-features.h
55332         (__ASSUME_SETRESUID_SYSCALL): Remove.
55333         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55334         (__ASSUME_32BITUIDS): Likewise.
55335         (__ASSUME_LDT_WORKS): Likewise.
55336         (__ASSUME_O_DIRECTORY): Likewise.
55337         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55338         architecture but not kernel version.
55339         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55340         (__ASSUME_MMAP2_SYSCALL): Likewise.
55341         (__ASSUME_STAT64_SYSCALL): Likewise.
55342         (__ASSUME_IPC64): Likewise.
55343         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55344         <kernel-features.h>.
55345         [__ASSUME_32BITUIDS]: Make code unconditional.
55346         [!__ASSUME_32BITUIDS]: Remove conditional code.
55347         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55348         <kernel-features.h>.
55349         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55350         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55351         132096]: Remove conditional code.
55352         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55353         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55354         <kernel-features.h>.
55355         [__ASSUME_32BITUIDS]: Make code unconditional.
55356         [!__ASSUME_32BITUIDS]: Remove conditional code.
55357         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55358         <kernel-features.h>.
55359         [__ASSUME_32BITUIDS]: Make code unconditional.
55360         [!__ASSUME_32BITUIDS]: Remove conditional code.
55361         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55362         <kernel-features.h>.
55363         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55364         unconditional.
55365         (__setresgid): Do not declare.
55366         [__ASSUME_32BITUIDS]: Make code unconditional.
55367         [!__ASSUME_32BITUIDS]: Remove conditional code.
55368         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55369         <kernel-features.h>.
55370         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55371         unconditional.
55372         (__setresuid): Do not declare.
55373         [__ASSUME_32BITUIDS]: Make code unconditional.
55374         [!__ASSUME_32BITUIDS]: Remove conditional code.
55375         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55376         <kernel-features.h>.
55377         [__ASSUME_32BITUIDS]: Make code unconditional.
55378         [!__ASSUME_32BITUIDS]: Remove conditional code.
55379         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55380         <kernel-features.h>.
55381         [__ASSUME_32BITUIDS]: Make code unconditional.
55382         [!__ASSUME_32BITUIDS]: Remove conditional code.
55384 2012-05-25  Richard Henderson  <rth@twiddle.net>
55386         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55387         dl_hwcap to ifunc resolver.
55388         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55389         elf_ifunc_invoke.
55390         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55391         dl_hwcap to ifunc resolver.
55392         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55396         [BZ #14153]
55397         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55398         for |x| <= 2**-26, not 2**-57.
55399         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55400         exception.
55402 2012-05-24  Jeff Law  <law@redhat.com>
55404         * stdio-common/Makefile (tests): Add bug25.
55405         * stdio-common/bug25.c: New test.
55407 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55409         [BZ #13576]
55410         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55411         multiple of MALLOC_ALIGNMENT in size.
55412         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55414 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55416         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55417         Require >= 256.
55418         (FILENAME_MAX): Use macro-int-constant.
55419         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55420         (_IOFBF): Use macro-int-constant.
55421         (_IOLBF): Likewise.
55422         (_IONBF): Likewise.
55423         (SEEK_CUR): Likewise.
55424         (SEEK_END): Likewise.
55425         (SEEK_SET): Likewise.
55426         (TMP_MAX): Likewise.
55427         (EOF): Use macro-int-constant.  Require < 0.
55428         (NULL): Use macro-constant.  Require == 0.
55429         (stdin): Require type to be FILE *.
55430         (stdout): Likewise.
55431         (stderr): Likewise.
55432         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55433         macro-int-constant.
55434         (EXIT_SUCCESS): Likewise.
55435         (NULL): Use macro-constant.  Require == 0.
55436         (RAND_MAX): Use macro-int-constant.
55437         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55438         [C99-based standards] (strtof): Require function.
55439         [C99-based standards] (strtold): Likewise.
55440         [C99-based standards] (strtoll): Likewise.
55441         [C99-based standards] (strtoull): Likewise.
55442         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55443         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55444         [ISO || ISO99 || ISO11] (math.h): Likewise.
55445         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55446         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55447         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55449 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55451         [BZ #14132]
55452         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55453         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55454         * intl/dgettext.c (DCGETTEXT): Likewise.
55455         * intl/gettext.c (DCGETTEXT): Likewise.
55456         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55457         * posix/regex_internal.h (gettext): Likewise.
55458         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55459         Remove declaration.
55460         * include/argz.h (__argz_count_internal)
55461         (__argz_stringify_internal): Remove declaration.
55462         (__argz_count, __argz_stringify): Declare hidden proto.
55463         * intl/dcgettext.c: Remove use of INTDEF.
55464         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55465         * string/argz-stringify.c: Likewise.
55466         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55467         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55468         Declare hidden proto.
55469         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55470         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55471         Declare hidden proto.
55472         * include/stdio.h (__asprintf_internal): Don't declare.
55473         (__asprintf): Don't define as macro.  Declare hidden proto.
55474         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55475         (__fsetlocking): Declare hidden proto.
55476         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55477         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55478         hidden proto.
55479         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55480         (_IO_setlinebuf): Remove use of INTUSE.
55481         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55482         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55483         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55484         Remove declaration.
55485         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55486         (_IO_do_flush): Remove use of INTUSE.
55487         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55488         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55489         (_IO_adjust_column, _IO_least_wmarker)
55490         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55491         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55492         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55493         (_IO_default_doallocate, _IO_wdefault_doallocate)
55494         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55495         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55496         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55497         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55498         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55499         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55500         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55501         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55502         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
55503         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
55504         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
55505         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
55506         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
55507         proto.
55508         (_IO_flush_all_internal, _IO_adjust_column_internal)
55509         (_IO_default_uflow_internal, _IO_default_finish_internal)
55510         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
55511         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
55512         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
55513         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
55514         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
55515         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
55516         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
55517         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
55518         (_IO_file_close_internal, _IO_file_close_it_internal)
55519         (_IO_file_underflow_internal, _IO_file_overflow_internal)
55520         (_IO_file_init_internal, _IO_file_attach_internal)
55521         (_IO_file_fopen_internal, _IO_file_read_internal)
55522         (_IO_file_sync_internal, _IO_file_seek_internal)
55523         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
55524         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
55525         (_IO_str_underflow_internal, _IO_str_overflow_internal)
55526         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
55527         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
55528         (_IO_list_all_internal, _IO_link_in_internal)
55529         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
55530         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
55531         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
55532         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
55533         (_IO_do_write_internal, _IO_padn_internal)
55534         (_IO_getline_info_internal, _IO_getline_internal)
55535         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
55536         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
55537         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
55538         (_IO_vfscanf_internal, _IO_vfprintf_internal)
55539         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
55540         (_IO_init_internal, _IO_un_link_internal): Don't declare.
55541         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
55542         with libc_hidden_ver, remove use of INTUSE.
55543         * libio/genops.c: Likewise.
55544         * libio/freopen.c: Likewise.
55545         * libio/freopen64.c: Likewise.
55546         * libio/iofclose.c: Likewise.
55547         * libio/iofdopen.c: Likewise.
55548         * libio/iofflush.c: Likewise.
55549         * libio/iofflush_u.c: Likewise.
55550         * libio/iofgets.c: Likewise.
55551         * libio/iofgets_u.c: Likewise.
55552         * libio/iofopen.c: Likewise.
55553         * libio/iofopncook.c: Likewise.
55554         * libio/iofread.c: Likewise.
55555         * libio/iofread_u.c: Likewise.
55556         * libio/ioftell.c: Likewise.
55557         * libio/iofwrite.c: Likewise.
55558         * libio/iogetline.c: Likewise.
55559         * libio/iogets.c: Likewise.
55560         * libio/iogetwline.c: Likewise.
55561         * libio/iopadn.c: Likewise.
55562         * libio/iopopen.c: Likewise.
55563         * libio/ioseekoff.c: Likewise.
55564         * libio/ioseekpos.c: Likewise.
55565         * libio/iosetbuffer.c: Likewise.
55566         * libio/iosetvbuf.c: Likewise.
55567         * libio/ioungetc.c: Likewise.
55568         * libio/ioungetwc.c: Likewise.
55569         * libio/iovdprintf.c: Likewise.
55570         * libio/iovsprintf.c: Likewise.
55571         * libio/iovsscanf.c: Likewise.
55572         * libio/memstream.c: Likewise.
55573         * libio/obprintf.c: Likewise.
55574         * libio/oldfileops.c: Likewise.
55575         * libio/oldiofclose.c: Likewise.
55576         * libio/oldiofdopen.c: Likewise.
55577         * libio/oldiofopen.c: Likewise.
55578         * libio/oldiopopen.c: Likewise.
55579         * libio/oldstdfiles.c: Likewise.
55580         * libio/putc.c: Likewise.
55581         * libio/setbuf.c: Likewise.
55582         * libio/setlinebuf.c: Likewise.
55583         * libio/stdfiles.c: Likewise.
55584         * libio/strops.c: Likewise.
55585         * libio/vasprintf.c: Likewise.
55586         * libio/vscanf.c: Likewise.
55587         * libio/vsnprintf.c: Likewise.
55588         * libio/vswprintf.c: Likewise.
55589         * libio/wfiledoalloc.c: Likewise.
55590         * libio/wfileops.c: Likewise.
55591         * libio/wgenops.c: Likewise.
55592         * libio/wmemstream.c: Likewise.
55593         * libio/wstrops.c: Likewise.
55594         * libio/__fpurge.c: Likewise.
55595         * libio/__fsetlocking.c: Likewise.
55596         * assert/assert.c: Likewise.
55597         * debug/fgets_chk.c: Likewise.
55598         * debug/fgets_u_chk.c: Likewise.
55599         * debug/fread_chk.c: Likewise.
55600         * debug/fread_u_chk.c: Likewise.
55601         * debug/gets_chk.c: Likewise.
55602         * debug/obprintf_chk.c: Likewise.
55603         * debug/vasprintf_chk.c: Likewise.
55604         * debug/vdprintf_chk.c: Likewise.
55605         * debug/vsnprintf_chk.c: Likewise.
55606         * debug/vsprintf_chk.c: Likewise.
55607         * malloc/mtrace.c: Likewise.
55608         * misc/error.c: Likewise.
55609         * misc/syslog.c: Likewise.
55610         * stdio-common/asprintf.c: Likewise.
55611         * stdio-common/fxprintf.c: Likewise.
55612         * stdio-common/getw.c: Likewise.
55613         * stdio-common/isoc99_fscanf.c: Likewise.
55614         * stdio-common/isoc99_scanf.c: Likewise.
55615         * stdio-common/isoc99_vfscanf.c: Likewise.
55616         * stdio-common/isoc99_vscanf.c: Likewise.
55617         * stdio-common/isoc99_vsscanf.c: Likewise.
55618         * stdio-common/printf-prs.c: Likewise.
55619         * stdio-common/printf_fp.c: Likewise.
55620         * stdio-common/printf_fphex.c: Likewise.
55621         * stdio-common/printf_size.c: Likewise.
55622         * stdio-common/putw.c: Likewise.
55623         * stdio-common/scanf.c: Likewise.
55624         * stdio-common/sprintf.c: Likewise.
55625         * stdio-common/tmpfile.c: Likewise.
55626         * stdio-common/vfprintf.c: Likewise.
55627         * stdio-common/vfscanf.c: Likewise.
55628         * stdlib/strfmon_l.c: Likewise.
55629         * sunrpc/openchild.c: Likewise.
55630         * sunrpc/xdr_stdio.c: Likewise.
55631         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
55632         * sysdeps/mach/hurd/tmpfile.c: Likewise.
55634 2012-05-24  Roland McGrath  <roland@hack.frob.com>
55636         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55638         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
55639         in the third column, to generate for the shared library an IFUNC
55640         that uses _dl_vdso_vsym.
55641         * Makerules (COMPILE.c, compile-stdin.c): New variables.
55642         * Makeconfig (object-suffixes-noshared): New variable.
55644         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
55645         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
55646         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
55647         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
55649         [BZ #14132]
55650         * include/sys/time.h (__gettimeofday): Remove macro.
55651         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
55652         * time/gettimeofday.c (__gettimeofday): Remove #undef.
55653         Remove INTDEF.
55654         (__gettimeofday): Add libc_hidden_def.
55655         (gettimeofday): Add libc_hidden_weak.
55656         * sysdeps/mach/gettimeofday.c: Likewise.
55657         * sysdeps/posix/gettimeofday.c: Likewise.
55658         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
55659         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
55660         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
55661         (__gettimeofday_internal): Remove strong_alias.
55662         (__gettimeofday): Add libc_hidden_def.
55663         (gettimeofday): Add libc_hidden_weak.
55664         * sysdeps/unix/syscalls.list (gettimeofday):
55665         Remove __gettimeofday_internal alias.
55667 2012-05-24  Daniel Jacobowitz  <drow@false.org>
55668             H.J. Lu  <hongjiu.lu@intel.com>
55670         [BZ #12495]
55671         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
55672         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
55673         (largebin_index_32_big): New.
55674         (largebin_index): Use it for 16-byte alignment.
55675         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
55676         correction with front_misalign.
55678 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55680         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
55681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
55682         Likewise.
55683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
55684         Likewise.
55685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55686         Likewise.
55687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
55688         Likewise.
55689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
55690         Likewise.
55691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
55692         Likewise.
55693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
55694         Likewise.
55695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
55696         Likewise.
55697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
55698         Likewise.
55699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
55700         Likewise.
55701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
55702         Likewise.
55703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
55704         Likewise.
55706         * scripts/data/c++-types-x32-linux-gnu.data: New file.
55707         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
55709 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55711         [BZ #10846]
55712         [BZ #14036]
55713         * math/libm-test.inc (exp_test): Add test from bug 14036.
55714         (pow_test): Add test from bug 10846.
55716         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
55717         and other flags.
55718         (special_function): Do not include flags in test name.
55719         (parse_args): Likewise.
55720         * sysdeps/i386/fpu/libm-test-ulps: Update.
55721         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55722         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55723         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55726         * math/gen-libm-test.pl (%beautify): Add entries for underflow
55727         exceptions.
55728         * math/libm-test.inc ("Philosophy"): Update comment about
55729         exception testing.
55730         (UNDERFLOW_EXCEPTION): New macro.
55731         (UNDERFLOW_EXCEPTION_OK): Likewise.
55732         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
55733         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
55734         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
55735         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
55736         (INVALID_EXCEPTION_OK): Update value.
55737         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55738         (OVERFLOW_EXCEPTION_OK): Likewise.
55739         (IGNORE_ZERO_INF_SIGN): Likewise.
55740         (test_exceptions): Handle underflow exceptions.
55741         (acos_test): Update for underflow exception expectations.
55742         (cexp_test): Likewise.
55743         (clog_test): Likewise.
55744         (clog10_test): Likewise.
55745         (csqrt_test): Likewise.
55746         (ctan_test): Likewise.
55747         (ctanh_test): Likewise.
55748         (exp_test): Likewise.
55749         (exp10_test): Likewise.
55750         (exp2_test): Likewise.
55751         (expm1_test): Likewise.
55752         (fma_test): Likewise.
55753         (j0_test): Likewise.
55754         (jn_test): Likewise.
55755         (nexttoward_test): Likewise.
55756         (pow_test): Likewise.
55757         (scalbn_test): Likewise.
55758         (scalbln_test): Likewise.
55759         (tan_test): Likewise.
55760         (y1_test): Likewise.
55761         * sysdeps/i386/fpu/libm-test-ulps: Update.
55762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55764 2012-05-23  David S. Miller  <davem@davemloft.net>
55766         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55767         (__libc_sigaction): Remove unused local variables.
55769 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55771         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
55773 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
55775         mktime: avoid signed integer overflow
55776         * time/mktime.c (__mktime_internal): Do not mishandle the case
55777         where diff == INT_MIN.
55779         mktime: simplify computation of average
55780         * time/mktime.c (ranged_convert): Use new time_t_avg function
55781         instead of rolling our own (probably-slower) code.
55783         mktime: do not assume signed right shift propagates sign bit
55784         * time/mktime.c (isdst_differ): New static function.
55785         (__mktime_internal): No need to normalize tm_isdst now.
55786         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
55787         tm_isdst values.
55789         mktime: merge another wrapv change from gnulib
55790         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
55791         from some compilers.
55793         mktime: remove incorrect attempt at unusual arithmetics
55794         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
55795         The code didn't really work on such machines anyway.
55796         (TYPE_MINIMUM): Assume two's complement.
55797         (twos_complement_arithmetic): Verify that long_int and time_t
55798         are two's complement (or unsigned, in the latter case).
55800         mktime: check signed shifts on long_int and time_t, too
55801         * time/mktime.c (SHR): Check that shifts work as desired
55802         on the types long_int and time_t too, as SHR is used on
55803         such types.
55805         mktime: do not assume 'long' is wide enough
55806         * time/mktime.c (verify): Move decl up.
55807         (long_int): New type.
55808         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
55809         to remove assumption in the code that 'long' is wide enough to
55810         store year values.  This assumption is not true on x32 and on
55811         some non-glibc platforms.
55813         mktime: merge wrapv change from gnulib
55814         * time/mktime.c (WRAPV): New macro.
55815         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
55816         (guess_time_tm, __mktime_internal): Do not assume that signed
55817         integer overflow wraps around; modern compilers generate code
55818         where this assumption is no longer valid.
55820 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55822         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55823         Replace "jmp L(pseudo_end)" with "ret".
55824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
55825         Likewise.
55827 2012-05-23  Andreas Jaeger  <aj@suse.de>
55829         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
55830         * sysdeps/unix/sysv/linux/poll.c: Remove file.
55832 2012-05-23  Andreas Jaeger  <aj@suse.de>
55833             Maximilian Attems  <max@stro.at>
55835         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
55836         New macros.
55838 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
55840         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
55841         code so that pseudo_end is just ret and the stack pointer is
55842         correct also for static library in error case.
55844 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
55846         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
55847         move to syscalls.list.
55848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
55849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
55850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
55851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
55853         * manual/install.texi (Running make install): Do not mention Linux
55854         kernel version for which pt_chown is not needed.
55855         (Linux): Do not mention problems with nscd with 2.0 kernels.
55856         * INSTALL: Regenerated.
55858 2012-05-23  Andreas Jaeger  <aj@suse.de>
55860         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
55861         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
55862         macro.
55863         * sysdeps/unix/sysv/linux/s390/bits/mman.h
55864         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55865         * sysdeps/unix/sysv/linux/sh/bits/mman.h
55866         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55867         * sysdeps/unix/sysv/linux/i386/bits/mman.h
55868         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55869         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
55870         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55871         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
55872         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
55873         * sysdeps/unix/sysv/linux/bits/in.h
55874         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
55876 2012-05-22  Roland McGrath  <roland@hack.frob.com>
55878         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
55879         (PREPARE_VERSION): Just use assert instead, it will be elided
55880         under [NDEBUG] anyway.
55882 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55884         * sysdeps/unix/sysv/linux/Makefile: Include
55885         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
55886         (sysdep_routines): Remove sysctl.
55887         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
55888         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
55889         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
55890         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
55891         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
55893 2012-05-22  Andreas Jaeger  <aj@suse.de>
55895         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
55896         that pseudo_end is just ret and the stack pointer is correct also
55897         for static library in error case.
55899 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
55901         [BZ #14122]
55902         * nss/nsswitch.c (defconfig_entries): New variable.
55903         (__nss_database_lookup): Don't leak defconfig entries.
55904         (nss_parse_service_list): Don't leak on error paths.
55905         (free_database_entries): New function.
55906         (free_defconfig): New function.
55907         (free_mem): Move common code to free_database_entries.
55909 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55911         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
55912         Add arch_prctl.
55913         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
55915         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
55916         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
55917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
55918         New macro.
55919         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
55920         (INTERNAL_SYSCALL_TYPES): Likewise.
55921         (LOAD_ARGS_TYPES_[1-6]): Likewise.
55922         (LOAD_REGS_TYPES_[1-6]): Likewise.
55923         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
55924         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
55926 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55928         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
55929         copysignl for GLIBC_2_0.
55930         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
55931         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
55932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
55933         logbl for GLIBC_2_0.
55934         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
55935         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55937 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55940         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55942         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55943         Use "neg %eax".
55945         * time/mktime.c: Update copyright years.
55947 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55949         mktime: merge comment-quoting-style change from gnulib
55950         * time/mktime.c: Quote 'like this' in comments.
55951         The GNU coding standards suggest that we no longer quote `like this',
55952         as "`" and "'" are typically rendered asymmetrically nowadays.
55953         The typical gnulib style is to quote 'like this' when quoting
55954         code, and "like this" when quoting English.
55956         * time/mktime.c (compile-command): Add "-I.".
55958         mktime: merge mktime-internal.h change from gnulib
55959         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55961         mktime: merge time_r change from gnulib
55962         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55964         mktime: merge DEBUG change from gnulib
55965         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55966         case system <time.h> has a #define.
55968         mktime: merge <sys/types.h> change from gnulib
55969         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55970         since <time.t> is now guaranteed to define time_t.
55972         mktime: merge HAVE_CONFIG_H change from gnulib
55973         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55975 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55978         Use "neg %eax".
55980         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55981         __rlim_t cast.
55982         (struct rusage): Use anonymous union to pad each field to
55983         __syscall_slong_t.
55985 2012-05-21  David S. Miller  <davem@davemloft.net>
55987         * Makefules (o-iterator): Remove .s cases.
55988         (compile-command.s): Delete.
55989         (COMPILE.s): Delete.
55990         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55992 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55994         * configure.in (libc_cv_predef_stack_protector): Only consider
55995         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55996         * configure: Regenerated.
55998 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56000         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56001         New macro.  Use R*LP on int and pointer.
56002         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56003         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56004         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56005         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56007         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56008         [__WORDSIZE_TIME64_COMPAT32] instead of
56009         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56010         (struct utmp): Likewise.
56011         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56012         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56013         Renamed to ...
56014         (__WORDSIZE_TIME64_COMPAT32): This.
56015         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56016         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56017         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56018         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56019         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56020         (__WORDSIZE_TIME64_COMPAT32): New macro.
56022 2012-05-21  Andreas Jaeger  <aj@suse.de>
56024         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56025         only if [SHARED]. Add prototype for __wcschr_ia32.
56027 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56029         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56030         of %rbp unmolested in the jmp_buf while mangling the low bits.
56031         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56032         unmolested high bits of %rbp while demangling the low bits.
56033         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56035 2012-05-21  Andreas Jaeger  <aj@suse.de>
56037         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56038         * sunrpc/svc_simple.c: Use it for registerrpc.
56039         * sunrpc/xcrypt.c: Use it for passwd2des.
56041         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56043 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56045         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56046         Don't define if [__SYSCALL_WORDSIZE != 32].
56047         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56048         New macro.
56050 2012-05-21  Bruno Haible  <bruno@clisp.org>
56051             Andreas Jaeger  <aj@suse.de>
56053         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56054         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56055         inptr and inend for must_buffer_ch.
56056         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56057         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56058         * stdio-common/Makefile (tests): Remove bug15.
56059         (bug15-ENV): Remove macro.
56060         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56061         anymore.
56063 2012-05-19  Andreas Jaeger  <aj@suse.de>
56064             Roland McGrath  <roland@hack.frob.com>
56066         * manual/contrib.texi: Completely rewritten. It contains now an
56067         alphabetical list of contributors and their contributions.
56069 2012-05-21  Richard Henderson  <rth@twiddle.net>
56071         * misc/getauxval.c (__getauxval): Use unsigned long int.
56072         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56073         (getauxval): Use unsigned long int.
56075 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56077         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56079 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56081         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56082         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56083         __alignof__ (long double).
56085 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56089 2012-05-20  Richard Henderson  <rth@twiddle.net>
56091         * misc/getauxval.c: New file.
56092         * misc/sys/auxv.h: New file.
56093         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56094         (routines): Add getauxval.
56095         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56097         * elf/dl-sysdep.c (_dl_auxv): Remove.
56098         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56099         * elf/dl-support.c (_dl_auxv): New variable.
56100         (_dl_aux_init): Initialize it.
56101         * manual/startup.texi (Auxiliary Vector): New node.
56102         * sysdeps/generic/bits/hwcap.h: New file.
56103         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56104         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56105         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56106         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56107         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56108         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56110         Update.
56111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56114         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56116         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56117         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56120 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56124 2012-05-19  David S. Miller  <davem@davemloft.net>
56126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56128 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56130         [BZ #14123]
56131         * math/s_ccosh.c: Include <float.h>
56132         (__ccosh): Avoid internal overflow calculating sinh and cosh
56133         values before multiplying by sin and cos values.
56134         * math/s_ccoshf.c: Likewise.
56135         * math/s_ccoshl.c: Likewise.
56136         * math/s_csin.c: Likewise.
56137         * math/s_csinf.c: Likewise.
56138         * math/s_csinl.c: Likewise.
56139         * math/s_csinh.c: Likewise.
56140         * math/s_csinhf.c: Likewise.
56141         * math/s_csinhl.c: Likewise.
56142         * math/libm-test.inc (ccos_test): Add more tests.
56143         (ccosh_test): Likewise.
56144         (csin_test): Likewise.
56145         (csinh_test): Likewise.
56146         * sysdeps/i386/fpu/libm-test-ulps: Update.
56147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56149 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56151         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56152         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56154         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56156 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56158         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56159         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56160         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56161         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56162         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56163         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56164         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56165         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56166         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56167         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56168         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56169         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56170         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56171         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56172         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56173         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56174         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56175         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56176         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56177         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56178         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56179         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56180         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56181         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56182         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56183         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56184         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56185         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56186         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56187         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56188         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56190 2012-05-18  Andreas Jaeger  <aj@suse.de>
56192         * csu/.gitignore: Delete.
56194 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56196         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56197         (timex): Use __syscall_slong_t.
56199 2012-05-18  Andreas Jaeger  <aj@suse.de>
56200             Carlos O'Donell  <carlos_odonell@mentor.com>
56202         * manual/install.texi (Configuring and compiling): Update
56203         description about files modified in the source directory.
56204         * INSTALL: Regenerated.
56206 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56208         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56209         value.  Use "or" to set return value to -1.
56210         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56211         negate return value.
56213 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56215         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56216         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56217         failure if the compiler has Graphite support disabled.
56218         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56219         Likewise.
56220         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56221         (CFLAGS-memmove.c): Likewise.
56222         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56223         Likewise.
56225 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56227         * sysdeps/x86_64/x32/_itoa.h: New file.
56229         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56230         getdents system call only if kernel and user dirents have the
56231         same d_ino and d_off.
56233         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56234         LLONG_MAX != LONG_MAX.
56235         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56236         (_fitoa_word): Likewise.
56238         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56239         years.
56240         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56241         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56242         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56244         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56245         include <bits/wordsize.h>.  Check __x86_64__ instead of
56246         __WORDSIZE.
56247         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56248         if __x86_64__ is defined.  Use anonymous union on fpstate.
56250         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56251         anonymous union.
56253 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56255         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56256         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56257         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56258         Refer to _rtld_local_ro instead of _rtld_global_ro.
56259         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56260         Likewise.
56261         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56262         Likewise.
56263         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56264         Likewise.
56265         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56266         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56267         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56269         [BZ #10882]
56270         * sysdeps/powerpc/powerpc32/dl-machine.c
56271         (__elf_machine_runtime_setup) [PROF]: Don't reference
56272         _dl_prof_resolve.
56274 2012-05-18  Andreas Jaeger  <aj@suse.de>
56276         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56277         function only available for GCCs before 3.4 since GCC 3.4
56278         introduced a builtin.
56279         (lrint): Likewise.
56280         (llrintf): Likewise.
56281         (llrint): Likewise.
56282         (fmaxf): Likewise.
56283         (fmax): Likewise.
56284         (fminf): Likewise.
56285         (fmin): Likewise.
56286         (rint): Likewise.
56287         (rintf): Likewise.
56288         (nearbyint): Likewise.
56289         (nearbyintf): Likewise.
56290         (ceil): Likewise.
56291         (ceilf): Likewise.
56292         (floor): Likewise.
56293         (floorf): Likewise.
56295 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56297         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56298         on both fields and cast pointer to __syscall_ulong_t.
56300         * bits/types.h (__fsword_t): New type.
56301         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56302         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56303         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56304         (__FSWORD_T_TYPE): Likewise.
56305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56306         (__FSWORD_T_TYPE): Likewise.
56307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56308         (__FSWORD_T_TYPE): Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56310         (__FSWORD_T_TYPE): Likewise.
56311         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56312         __SWORD_TYPE with __fsword_t.
56313         (statfs64): Likewise.
56315 2012-05-17  David S. Miller  <davem@davemloft.net>
56317         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56319 2012-05-17  Andreas Jaeger  <aj@suse.de>
56321         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56322         warning.
56324 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56326         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56328 2012-05-17  Andreas Jaeger  <aj@suse.de>
56330         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56331         when it is used.
56333 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56335         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56337 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56339         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56340         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56342 2012-05-17  Andreas Jaeger  <aj@suse.de>
56343             Carlos O'Donell  <carlos_odonell@mentor.com>
56345         [BZ #14059]
56346         * sysdeps/x86_64/multiarch/init-arch.h
56347         (bit_YMM_Usable): Rename to...
56348         (bit_AVX_Usable): ... this.
56349         (bit_FMA4_Usable): New macro.
56350         (bit_XMM_state): New macro.
56351         (bit_YMM_state): New macro.
56352         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56353         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56354         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56355         (CPUID_OSXSAVE): New macro.
56356         (CPUID_AVX): New macro.
56357         (CPUID_FMA4): New macro.
56358         (index_YMM_Usable): Rename to...
56359         (index_AVX_Usable): ... this.
56360         (HAS_AVX): Use HAS_ARCH_FEATURE.
56361         (HAS_FMA4): Likewise.
56362         (HAS_YMM_USABLE): Remove.
56363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56364         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56365         are present.
56366         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56367         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56368         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56369         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56370         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56372 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56374         * math/libm-test.c: Support platforms without multiple rounding modes.
56375         * math/bug-nextafter.c: Support platforms without FP exceptions.
56376         * math/bug-nexttoward.c: Likewise.
56377         * math/test-fenv.c: Likewise.
56378         * math/test-misc.c: Likewise.
56379         * stdlib/bug-getcontext.c: Likewise.
56381 2012-05-17  Andreas Jaeger  <aj@suse.de>
56383         * manual/examples/search.c (critter_cmp): Change signature to
56384         avoid warnings.
56385         * manual/string.texi (Collation Functions): Likewise.
56387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56389         * bits/types.h: Fold copyright years.
56390         * bits/typesizes.h: Likewise.
56391         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56392         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56393         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56394         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56395         * time/time.h: Likewise.
56397 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56399         [BZ #208]
56400         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56401         in instead of returning them.  Return void.
56402         (__libc_mallinfo): Accumulate over all arenas.
56403         (__malloc_stats): Adjust for change in int_mallinfo interface.
56405 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56407         [BZ #10375]
56408         * configure.in (NM): Add AC_CHECK_TOOL for it.
56409         (libc_extra_cflags): New substituted variable.
56410         Check for -fstack-protector being used implicitly.
56411         * configure: Regenerated.
56412         * config.make.in (config-extra-cflags): New variable,
56413         gets @libc_extra_cflags@.
56414         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56416         [BZ #10375]
56417         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56418         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56419         * configure: Regenerated.
56420         * config.make.in (CPPUNDEFS): New substituted variable.
56421         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56422         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56423         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56425 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56427         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56428         (mq_attr): Use __syscall_slong_t.
56430 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56432         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56433         Check __x86_64__ instead of __WORDSIZE.
56434         (_STAT_VER_LINUX): Likewise.
56435         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56436         __syscall_ulong_t and __syscall_slong_t.
56437         (stat64): Likewise.
56439 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56441         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56445         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56449         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56450         __syscall_ulong_t.
56452         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56453         include <bits/wordsize.h>.  Check __x86_64__ instead of
56454         __WORDSIZE.
56455         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56456         defined.
56457         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56460         include <bits/wordsize.h>.  Check __x86_64__ instead of
56461         __WORDSIZE.
56462         (user_regs_struct): Use "__extension__ unsigned long long"
56463         instead of "unsigned long" if __x86_64__ is defined.
56464         (user): Likewise.  Pad after pointer field if __ILP32__ is
56465         defined.
56467 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56469         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56470         versions 5 to 9.
56471         * configure: Regenerated.
56472         * manual/install.texi (texinfo): Increase version requirement to
56473         4.5 or later.
56474         * INSTALL: Regenerated.
56476         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56478 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56480         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56482         * sysdeps/x86_64/x32/ffs.c: New file.
56484         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56485         __syscall_ulong_t.
56486         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56487         defined.  Use __syscall_ulong_t.
56488         (shminfo): Use __syscall_ulong_t.
56489         (shm_info): Likewise.
56491         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56492         __syscall_ulong_t.
56494         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56495         <bits/wordsize.h>.
56496         (msgqnum_t): Use __syscall_ulong_t.
56497         (msglen_t): Likewise.
56498         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56499         __syscall_ulong_t.
56501         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56502         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56504         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
56506         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
56507         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
56509         * sysvipc/sys/msg.h (msgbuf): Replace long int with
56510         __syscall_slong_t.
56512         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
56513         include <bits/wordsize.h>.  Check __x86_64__ instead of
56514         __WORDSIZE.
56516         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
56517         "unsigned long long int" if __x86_64__ is defined.
56518         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
56520         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
56521         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56522         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
56524         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
56525         <stdint.h>.
56526         (GET_PC): Cast to uintptr_t first.
56527         (GET_FRAME): Likewise.
56528         (GET_STACK): Likewise.
56530         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
56531         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
56532         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
56533         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
56534         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
56535         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
56536         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
56537         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
56538         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
56539         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
56540         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
56541         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
56542         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
56543         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
56544         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
56545         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
56546         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
56547         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
56548         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
56549         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
56550         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
56551         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
56552         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
56553         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
56554         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
56555         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
56556         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
56557         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
56558         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
56560 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
56562         * Makerules (+depfiles): Also collect depfiles from .oS in
56563         $(extra-objs).
56564         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
56565         .oS, $(libnldbl-routines)).
56567         * Makerules (native-compile-mkdep-flags): Define.
56568         * sunrpc/Makefile (extra-objs): Add $(addprefix
56569         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
56570         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
56571         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
56572         calling $(make-target-directory).
56574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56576         * bits/types.h (__snseconds_t): Removed.
56577         * time/time.h (struct timespec): Replace __snseconds_t with
56578         __syscall_slong_t.
56579         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
56580         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
56581         Likewise.
56582         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56583         (__SNSECONDS_T_TYPE): Likewise.
56584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56585         (__SNSECONDS_T_TYPE): Likewise.
56586         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56587         (__SNSECONDS_T_TYPE): Likewise.
56589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56591         * sysdeps/mach/hurd/bits/typesizes.h
56592         (__SYSCALL_SLONG_TYPE): New macro.
56593         (__SYSCALL_ULONG_TYPE): Likewise.
56595 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56597         * bits/types.h (__syscall_slong_t): New type.
56598         (__syscall_ulong_t): Likewise.
56600         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
56601         (__SYSCALL_ULONG_TYPE): Likewise.
56602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56603         (__SYSCALL_SLONG_TYPE): Likewise.
56604         (__SYSCALL_ULONG_TYPE): Likewise.
56605         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56606         (__SYSCALL_SLONG_TYPE): Likewise.
56607         (__SYSCALL_ULONG_TYPE): Likewise.
56608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56609         (__SYSCALL_SLONG_TYPE): Likewise.
56610         (__SYSCALL_ULONG_TYPE): Likewise.
56612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56614         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
56615         Add sigaltstack-offsets.sym.
56616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
56617         <sigaltstack-offsets.h>.
56618         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
56619         longjmp_msg pointer.
56620         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
56621         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
56622         signal stack.
56623         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
56625 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56627         * elf/stackguard-macros.h: Remove file.
56628         * sysdeps/generic/stackguard-macros.h: New file.
56629         * sysdeps/i386/stackguard-macros.h: Likewise.
56630         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56631         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56632         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56633         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56634         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56635         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56636         * sysdeps/x86_64/stackguard-macros.h: Likewise.
56637         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
56638         <elf/stackguard-macros.h>.
56640         [BZ #14109]
56641         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
56642         __aligned__ in attribute.
56643         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
56644         (gregset_t): Likewise.
56646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56648         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
56649         * sysdeps/x86_64/64/Implies-after: Here.  New file.
56650         * sysdeps/x86_64/x32/Implies-after: New file.
56652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56654         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
56655         and access return value for _dl_profile_fixup.  Use R10_LP to
56656         load frame size.
56658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56660         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
56662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56664         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
56665         * sysdeps/x86_64/x32/sysdep.h: New file.
56667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56669         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
56670         * sysdeps/x86_64/setjmp.S: Likewise.
56672 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56674         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
56675         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
56676         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
56677         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
56678         remove unused global constant.
56680 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
56682         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
56683         include of <not-cancel.h>.
56685 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56687         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
56689 2012-05-15  Jeff Law  <law@redhat.com>
56690             Andreas Jaeger  <aj@suse.de>
56692         [BZ #13594]
56693         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
56694         out from...
56695         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
56696         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
56697         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
56698         code changing __hst_map_handle.map.
56700 2012-05-15  Roland McGrath  <roland@hack.frob.com>
56702         * configure.in (sysnames): Look for Implies-before and Implies-after
56703         files.
56704         * configure: Regenerated.
56706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56708         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
56709         8-byte data alignment with LP_SIZE alignment.
56711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56713         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
56714         into R10_LP.
56716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56718         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
56720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56722         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
56723         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
56724         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
56725         Likewise.
56726         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56730         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
56731         (stackinfo_sub_sp): Likewise.
56733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56735         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
56736         RAX_LP.
56738 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56740         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
56741         into R*_LP.
56743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
56746         sizes into R*_LP.
56748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56750         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
56752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56754         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
56755         into R11_LP and load __x86_64_shared_cache_size_half into
56756         R8_LP.
56758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
56760         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
56761         R8_LP.
56763 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56766         logb for POWER7.
56767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
56768         logbf for POWER7.
56769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
56770         logbl for POWER7.
56771         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
56772         powerpc32/power7/fpu/s_logb.c via #include.
56773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
56774         powerpc32/power7/fpu/s_logbf.c via #include.
56775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
56776         powerpc32/power7/fpu/s_logbl.c via #include.
56778 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
56780         * README.libm: Remove file.
56782 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56784         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
56785         count for x32.  Use R*_LP and omit operand-size suffix.
56787 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56789         * shlib-versions: Move x86_64-.*-linux.* entries to ...
56790         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
56791         * sysdeps/x86_64/x32/shlib-versions: New file.
56793 2012-05-14  Roland McGrath  <roland@hack.frob.com>
56795         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
56796         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
56797         Use _dl_fatal_printf instead.
56799 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56801         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
56802         set if not set by the user.  Do not allow for being unset.
56803         * sysdeps/unix/sysv/linux/configure: Regenerated.
56805 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56807         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
56808         the `q' suffix from lea and replace .quad with ASM_ADDR.
56810 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
56813         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
56814         instead of $17.
56815         (PTR_DEMANGLE): Likewise.
56817 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56819         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
56820         (LP_OP): Likewise.
56821         (ASM_ADDR): Likewise.
56822         (RAX_LP): Likewise.
56823         (RBP_LP): Likewise.
56824         (RBX_LP): Likewise.
56825         (RCX_LP): Likewise.
56826         (RDI_LP): Likewise.
56827         (RSI_LP): Likewise.
56828         (RSP_LP): Likewise.
56829         (R8_LP): Likewise.
56830         (R9_LP): Likewise.
56831         (R10_LP): Likewise.
56832         (R10_LP): Likewise.
56833         (R11_LP): Likewise.
56834         (R12_LP): Likewise.
56835         (R13_LP): Likewise.
56836         (R14_LP): Likewise.
56837         (R15_LP): Likewise.
56839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56841         * sysdeps/x86_64/x32/dl-machine.h: New file.
56843 2012-05-14  Andreas Jaeger  <aj@suse.de>
56845         * manual/Makefile (subdir): Remove export of subdir.
56846         (all): Remove target.
56847         (.PHONY): Remove all from list.
56848         (mkinstalldirs): Remove.
56849         (.PHONY): Remove installdirs from list.
56850         ($(inst_infodir)/libc.info): Use make-target-directory.
56851         (installdirs): Remove.
56852         (subdir_%): Remove.
56853         (glibc-targets): Remove.
56854         (lib): Remove.
56855         (stubs): Remove.
56856         ($(objpfx)stubs ../po/manual.pot): Remove.
56857         ($(objpfx)stamp%): Remove.
56858         (make-target-directory): Remove.
56859         (subdir_install): Remove.
56860         (routines): Remove.
56861         (aux): Remove.
56862         (sources): Remove.
56863         (objects): Remove.
56864         (headers): Remove.
56866         [BZ #13750]
56867         * manual/.gitignore: Remove, it's not needed anymore.
56868         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
56869         all files in it.
56870         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
56871         directory.
56872         (texis): Renamed to $(objpfx)texis.
56873         (texis-path): New, contains path to generated files.
56874         (chapters.%): Use texis-path for complete path, add extra argument
56875         libc-texinfo.sh.
56876         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
56877         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
56878         (summary,texi, stamp-summary): Use complete path of
56879         files. Generate files in build dir.
56880         (dir-add.texi): Build in build dir.
56881         (libm-err.texi,stamp-libm-err): Likewise.
56882         (version.texi, stamp-version): Likewise.
56883         (.%c.texi): Likewise.
56884         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
56885         (mostlyclean): Remove target.
56886         (realclean): Remove target.
56887         (generated): Add new variable with contents from mostlyclean and
56888         realclean, remove entries duplicated in common-mostlyclean, add
56889         stamp-libm-err and stamp-version.
56890         (generated-dirs): Add libc directory.
56891         ($(inst_infodir)/libc.info): Install files from build dir.
56893         * manual/install.texi (Configuring and compiling): Adjust since
56894         the info files are not part of the tar ball anymore.
56896 2012-05-14  Andreas Jaeger  <aj@suse.de>
56898         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
56899         variable.
56901 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
56903         [BZ #13717]
56904         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56905         to 2.2.0 where earlier.
56906         * sysdeps/unix/sysv/linux/configure: Regenerated.
56907         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
56908         Remove conditional code.
56909         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
56910         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
56911         Remove conditional code.
56912         [!__NR_lchown]: Likewise.
56913         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56914         [__NR_lchown]: Likewise.
56915         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
56916         comment referencing __ASSUME_LCHOWN_SYSCALL.
56917         * sysdeps/unix/sysv/linux/i386/sigaction.c
56918         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56919         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56920         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
56921         Remove conditional code.
56922         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
56923         (__protocol_available): Remove #if 0 code.
56924         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
56925         conditional code.
56926         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
56927         * sysdeps/unix/sysv/linux/kernel-features.h
56928         (__ASSUME_GETCWD_SYSCALL): Don't define.
56929         (__ASSUME_REALTIME_SIGNALS): Likewise.
56930         (__ASSUME_PREAD_SYSCALL): Likewise.
56931         (__ASSUME_PWRITE_SYSCALL): Likewise.
56932         (__ASSUME_POLL_SYSCALL): Likewise.
56933         (__ASSUME_LCHOWN_SYSCALL): Likewise.
56934         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
56935         non-SPARC.
56936         (__ASSUME_SIOCGIFNAME): Don't define.
56937         (__ASSUME_MSG_NOSIGNAL): Likewise.
56938         (__ASSUME_SENDFILE): Define unconditionally.
56939         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56940         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56941         conditional code.
56942         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56943         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56944         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56945         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56946         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56947         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56948         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56950         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56953         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56956         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56959         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56962         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56965         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56966         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56968         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56969         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56971         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56972         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56973         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56974         Remove conditional code.
56975         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56976         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56977         Remove conditional code.
56978         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56979         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56980         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56981         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56982         Remove conditional code.
56983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56984         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56985         Remove conditional code.
56986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56987         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56988         Remove conditional code.
56989         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56990         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56991         Remove conditional code.
56992         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56993         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56994         Remove conditional code.
56995         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56996         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56997         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56998         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56999         * sysdeps/unix/sysv/linux/sigaction.c
57000         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57001         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57002         * sysdeps/unix/sysv/linux/sigpending.c
57003         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57004         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57005         * sysdeps/unix/sysv/linux/sigprocmask.c
57006         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57007         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57008         * sysdeps/unix/sysv/linux/sigsuspend.c
57009         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57010         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57011         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57012         (__libc_missing_rt_sigs): Remove.
57013         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57014         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57015         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57016         Remove conditional code.
57017         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57018         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57019         return 1.
57020         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57021         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57022         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57023         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57025 2012-05-14  Andreas Jaeger  <aj@suse.de>
57027         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57028         it's not used in glibc.
57029         (__coshm1): Likewise.
57030         (__acosh1p): Likewise.
57031         (__sgn): Likewise.
57033         * manual/string.texi (Copying and Concatenation): Add missing
57034         variable in concat example.
57035         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57037 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57039         [BZ #14103]
57040         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57041         __builtin_clzl with __builtin_clzll.
57043 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57045         [BZ #14104]
57046         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57047         libc_freeres_ptr.
57049 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57051         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57052         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57053         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57054         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57056 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57058         * NEWS: Update ia64 info.
57060 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57062         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57063         used as bcopy.
57065 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57067         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57068         * sysdeps/unix/syscalls.list (dup3): Likewise.
57069         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57070         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57072 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57074         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57075         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57077 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57079         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57080         thread pointer.
57081         (TLS_IE): Use mov/add instead of movq/addq to load thread
57082         pointer.
57083         (TLS_GD_PREFIX): New.
57084         (TLS_GD): Use it.
57086 2012-05-11  David S. Miller  <davem@davemloft.net>
57088         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57089         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57090         (_FPU_SETCW): Likewise.
57092 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57094         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57095         is 32-byte aligned.
57097 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57099         [BZ #11837]
57100         * iconvdata/gb18030.c: Update tables.
57101         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57102         characters specially.
57103         (BODY for TO_LOOP): Add encoding of missing ranges.
57105 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57107         [BZ #13673]
57108         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57109         * sysdeps/mach/hurd/dup3.c: Likewise.
57110         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57111         * sysdeps/powerpc/memmove.c:: Likewise.
57113 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57115         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57116         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57118 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57120         * elf/elf.h (R_X86_64_RELATIVE64): New.
57121         (R_X86_64_NUM): Updated.
57122         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57123         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57124         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57125         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57126         tst-quad1pie tst-quad2pie
57127         (modules-names): Add tst-quadmod1 tst-quadmod2.
57128         ($(objpfx)tst-quad1): New dependency.
57129         ($(objpfx)tst-quad2): Likewise.
57130         ($(objpfx)tst-quad1pie): Likewise.
57131         ($(objpfx)tst-quad2pie): Likewise.
57132         * sysdeps/x86_64/tst-quad1.c: New file.
57133         * sysdeps/x86_64/tst-quad1pie.c: New file.
57134         * sysdeps/x86_64/tst-quad2.c: Likewise.
57135         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57136         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57137         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57138         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57139         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57141 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57143         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57144         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57145         * streams/stropts.h (t_scalar_t): Define type.
57147         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57148         (_PATH_PRESERVE): Set to "/var/lib".
57149         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57151         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57152         instead of int.
57154         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57155         if __dir_mkfile succeeded.
57157         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57158         checking for _hurd_dtablesize.  Unlock it right after having
57159         finished _hurd_dtable allocation.
57161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57163         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57164         * sysdeps/mach/hurd/configure: Regenerated.
57165         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57166         special-casing to...
57167         * sysdeps/gnu/configure.in: ... this new file.
57168         * sysdeps/unix/sysv/linux/configure: Regenerated.
57169         * sysdeps/gnu/configure: New generated file.
57171         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57172         for Linux: use nsec instead of usec, as well as:
57173         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57174         members of type struct timespec.
57175         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57176         New macros.
57177         (struct stat64): Likewise.
57178         (_STATBUF_ST_NSEC): New macro.
57179         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57181         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57182         __strtoul_internal rather than strtoul.
57184 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57186         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57187         and reject them.
57189 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57191         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57192         which preserves existing values.
57193         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57195 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57197         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57198         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57199         greater than FD_SETSIZE.
57201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57203         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57204         allocated, call __vm_protect to finish enabling the existing space, and
57205         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57206         allocate the remainder.
57208 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57210         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57211         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57213 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57215         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57216         sysdeps/mach/hurd/readlink.c.
57218         * posix/tst-sysconf.c (posix_options): Only use
57219         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57220         _POSIX_SYNCHRONIZED_IO when they are defined
57221         * sysdeps/mach/hurd/bits/posix_opt.h:
57222         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57223         (_XOPEN_REALTIME): Undefine macro.
57224         (_XOPEN_REALTIME_THREADS): Undefine macro.
57225         (_XOPEN_SHM): Undefine macro.
57226         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57227         macro to -1.
57228         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57229         macro to -1.
57230         (_POSIX_ASYNC_IO): Undefine macro.
57231         (_POSIX_PRIORITIZED_IO): Undefine macro.
57232         (_POSIX_SPIN_LOCKS): Define macro to -1.
57234         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57235         SA_NODEFER, SA_RESETHAND.
57236         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57237         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57238         F_DUPFD_CLOEXEC.
57240 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57242         * elf/Makefile (pldd-modules): Define unconditionally.
57244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57246         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57248 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57250         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57251         Return ENOENT when name is empty.
57252         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57254 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57256         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57258         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57262         Fix mlock in all cases except non-readable pages.
57263         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57264         instead of VM_PROT_ALL as parameter to __vm_wire function.
57266         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57267         (__mkdir): When path is `/', just fail with EEXIST.
57268         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57272         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57273         <sys/uio.h> (for writev).
57274         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57275         and <sys/param.h> (for MIN).
57277 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57279         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57280         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57281         if interrupted.
57283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57285         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57286         Depend on against $(link-rpcuserlibs).
57288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57290         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57291         (__libc_stack_end): Do not use attribute_relro.
57292         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57293         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57294         to libthread-provided value.
57295         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57296         attribute_relro.
57298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57300         [BZ #3748]
57301         * bits/libc-lock.h (__libc_once_get): New macro.
57302         * sysdeps/mach/bits/libc-lock.h: Likewise.
57303         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57304         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57305         instead of using implementation details.
57307         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57308         * libio/freopen.c: Likewise.
57309         * libio/freopen64.c: Likewise.
57310         * misc/syslog.c: Likewise.
57311         * nscd/connections.c: Likewise.
57312         * nscd/netgroupcache.c: Likewise.
57313         * sysdeps/posix/getcwd.c: Likewise.
57315 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57317         * math/w_ilogbf.c: Add #include <limits.h>.
57319 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57321         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57322         path instead of returning without unlocking.
57324         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57325         immediate-write ioctls.
57326         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57330         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57331         __builtin_frame_address instead of making assumptions about the
57332         location of the return address relative to DATA.  Force early load of
57333         the return address.
57334         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57335         __builtin_frame_address.
57337         dup3 for GNU Hurd.
57338         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57339         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57340         implement dup3 and do some further code clean-ups.
57341         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57342         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57346         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57348         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57349         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57350         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57351         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57352         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57353         d->port.lock.
57355         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57356         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57357         when handler == SIG_ERR, not when handler != SIG_ERR.
57359 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57361         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57362         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57363         definitions.
57365         accept4 for GNU Hurd.
57366         * include/sys/socket.h (__libc_accept4): New prototype.
57367         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57368         to implement __libc_accept4.
57369         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57370         __libc_accept4.
57371         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57373         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57374         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57375         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57376         signal-defines.sym.
57378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57380         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57382 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57384         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57385         assertion on O_CLOEXEC flag.
57386         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57387         * hurd/intern-fd.c: Likewise.
57388         * hurd/port2fd.c: Likewise.
57390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57392         [BZ #3906]
57393         * bits/in.h (IPV6_PKTINFO): Define new macro.
57394         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57396 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57398         [BZ #13954]
57399         [BZ #13955]
57400         [BZ #13956]
57401         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57402         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57403         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57404         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57405         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57406         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57407         * math/libm-test.inc (logb_test) : Additional logb tests.
57409 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57410             Andreas Jaeger  <aj@suse.de>
57412         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57413         * configure: Regenerated.
57414         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57415         * config.make.in (link-obsolete-rpc): New substituted variable.
57416         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57417         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57418         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57419         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57420         so that libc.a contains the symbols.
57421         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57422         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57423         * sunrpc/auth_none.c: Likewise.
57424         * sunrpc/auth_unix.c: Likewise.
57425         * sunrpc/authdes_prot.c: Likewise.
57426         * sunrpc/authuxprot.c: Likewise.
57427         * sunrpc/clnt_gen.c: Likewise.
57428         * sunrpc/clnt_perr.c: Likewise.
57429         * sunrpc/clnt_raw.c: Likewise.
57430         * sunrpc/clnt_simp.c: Likewise.
57431         * sunrpc/clnt_tcp.c: Likewise.
57432         * sunrpc/clnt_udp.c: Likewise.
57433         * sunrpc/clnt_unix.c: Likewise.
57434         * sunrpc/des_crypt.c: Likewise.
57435         * sunrpc/des_soft.c: Likewise.
57436         * sunrpc/get_myaddr.c: Likewise.
57437         * sunrpc/key_call.c: Likewise.
57438         * sunrpc/key_prot.c: Likewise.
57439         * sunrpc/netname.c: Likewise.
57440         * sunrpc/pm_getmaps.c: Likewise.
57441         * sunrpc/pm_getport.c: Likewise.
57442         * sunrpc/pmap_clnt.c: Likewise.
57443         * sunrpc/pmap_prot.c: Likewise.
57444         * sunrpc/pmap_prot2.c: Likewise.
57445         * sunrpc/pmap_rmt.c: Likewise.
57446         * sunrpc/publickey.c: Likewise.
57447         * sunrpc/rpc_cmsg.c: Likewise.
57448         * sunrpc/rpc_common.c: Likewise.
57449         * sunrpc/rpc_dtable.c: Likewise.
57450         * sunrpc/rpc_prot.c: Likewise.
57451         * sunrpc/rpc_thread.c: Likewise.
57452         * sunrpc/rtime.c: Likewise.
57453         * sunrpc/svc.c: Likewise.
57454         * sunrpc/svc_auth.c: Likewise.
57455         * sunrpc/svc_raw.c: Likewise.
57456         * sunrpc/svc_run.c: Likewise.
57457         * sunrpc/svc_tcp.c: Likewise.
57458         * sunrpc/svc_udp.c: Likewise.
57459         * sunrpc/svc_unix.c: Likewise.
57460         * sunrpc/svcauth_des.c: Likewise.
57461         * sunrpc/xcrypt.c: Likewise.
57462         * sunrpc/xdr.c: Likewise.
57463         * sunrpc/xdr_array.c: Likewise.
57464         * sunrpc/xdr_float.c: Likewise.
57465         * sunrpc/xdr_intXX_t.c: Likewise.
57466         * sunrpc/xdr_mem.c: Likewise.
57467         * sunrpc/xdr_rec.c: Likewise.
57468         * sunrpc/xdr_ref.c: Likewise.
57469         * sunrpc/xdr_sizeof.c: Likewise.
57470         * sunrpc/xdr_stdio.c: Likewise.
57472 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57474         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57475         change.  Update copyright years.
57477 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57479         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57481 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57482             Joseph Myers  <joseph@codesourcery.com>
57483             Paul Pluzhnikov  <ppluzhnikov@google.com>
57485         [BZ #14012]
57486         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57487         requiring rpcgen.
57488         [cross-compiling] (extra-libs): Likewise.
57489         [cross-compiling] (extra-libs-others): Likewise.
57490         [cross-compiling] (librpcsvc-routines): Likewise.
57491         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57492         [cross-compiling] (omit-deps): Likewise.
57493         (sunrpc-CPPFLAGS): New variable.
57494         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57495         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57496         (cross-rpcgen-objs): New variable.
57497         (extra-objs): Append $(cross-rpcgen-objs).
57498         ($(cross-rpcgen-objs)): New rule.
57499         ($(objpfx)cross-rpcgen): Likewise.
57500         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57501         comment.
57502         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
57503         ($(objpfx)x%.stmp): Likewise.
57504         * sunrpc/proto.h [IS_IN_build] (_): Define.
57505         [IS_IN_build] (_libc_intl_domainname): Likewise.
57507 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57509         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
57510         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
57511         and R_X86_64_TPOFF64.
57513 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57515         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
57516         sysdeps/unix/sysv/syscalls.list.
57517         (stime): Likewise.
57518         (utime): Likewise.
57519         * sysdeps/unix/sysv/syscalls.list: Remove file.
57521 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
57523         [BZ #3440]
57524         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
57525         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
57526         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
57527         (__LC_IDENTIFICATION): Make these macros useful in #if
57528         expressions, as required by C99.
57530 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
57532         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
57533         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
57534         after this.
57536 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
57538         * stdlib/longlong.h: Updated from GCC.
57540 2012-05-09  Andreas Jaeger  <aj@suse.de>
57542         * nscd/nscd.c (run_modes): Make named enum, reorder so that
57543         default is first entry.
57544         (run_mode): Set type.
57545         (main): Remove informal message about syslog.
57546         (options): Fix typo.
57548         [BZ #14053]
57549         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
57550         to asm.
57551         (lrint): Likewise.
57552         (llrintf): Likewise.
57553         (llrint): Likewise.
57554         (rint): Likewise.
57555         (rintf): Likewise.
57556         (nearbyint): Likewise.
57557         (nearbyintf): Likewise.
57559 2012-05-09  Andreas Jaeger  <aj@suse.de>
57560             Pedro Alves  <palves@redhat.com>
57562         * nscd/nscd.c (run_mode): Use enum.
57563         (main): Cleanup coding style issue.
57565 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
57566             Andreas Jaeger  <aj@suse.de>
57568         * nscd/nscd.c (go_background): Replaced with...
57569         (run_mode): ... this.
57570         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
57571         (options): Add -F --foreground.
57572         (main): Implement it.
57573         (parse_opt): Parse it.
57575 2012-05-09  Andreas Jaeger  <aj@suse.de>
57577         [BZ #14083]
57578         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
57579         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
57580         -Wconversion warning.
57581         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
57582         Likewise.
57584 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
57586         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
57587         == 0.
57588         (LC_ALL): Use macro-int-constant.
57589         (LC_COLLATE): Likewise.
57590         (LC_CTYPE): Likewise.
57591         (LC_MESSAGES): Likewise.
57592         (LC_MONETARY): Likewise.
57593         (LC_NUMERIC): Likewise.
57594         (LC_TIME): Likewise.
57595         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
57596         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57597         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57598         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
57599         Specify type.
57600         [C99-based standards] (float_t): Expect type.
57601         [C99-based standards] (double_t): Expect type.
57602         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
57603         type.
57604         [C99-based standards] (HUGE_VALL): Likewise.
57605         [C99-based standards] (INFINITY): Likewise.
57606         [C99-based standards] (NAN): Likewise.
57607         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
57608         [C99-based standards] (FP_NAN): Likewise.
57609         [C99-based standards] (FP_NORMAL): Likewise.
57610         [C99-based standards] (FP_SUBNORMAL): Likewise.
57611         [C99-based standards] (FP_ZERO): Likewise.
57612         [C99-based standards] (FP_FAST_FMA): Use
57613         optional-macro-int-constant.  Specify type.  Require == 1.
57614         [C99-based standards] (FP_FAST_FMAF): Likewise.
57615         [C99-based standards] (FP_FAST_FMAL): Likewise.
57616         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
57617         [C99-based standards] (FP_ILOGBNAN): Likewise.
57618         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
57619         Specify type.
57620         [C99-based standards] (MATH_ERREXCEPT): Likewise.
57621         [C99-based standards] (math_errhandling): Specify type.
57622         [ISO99 || ISO11] (signgam): Do not allow.
57623         [non-C99-based standards] (copysignf): Do not allow.
57624         [non-C99-based standards] (exp2f): Likewise.
57625         [non-C99-based standards] (log2f): Likewise.
57626         [non-C99-based standards] (modff): Allow.
57627         [non-C99-based standards] (erff): Do not allow.
57628         [non-C99-based standards] (erfcf): Likewise.
57629         [non-C99-based standards] (gammaf): Likewise.
57630         [non-C99-based standards] (hypotf): Likewise.
57631         [non-C99-based standards] (j0f): Likewise.
57632         [non-C99-based standards] (j1f): Likewise.
57633         [non-C99-based standards] (jnf): Likewise.
57634         [non-C99-based standards] (lgammaf): Likewise.
57635         [non-C99-based standards] (tgammaf): Likewise.
57636         [non-C99-based standards] (y0f): Likewise.
57637         [non-C99-based standards] (y1f): Likewise.
57638         [non-C99-based standards] (ynf): Likewise.
57639         [non-C99-based standards] (isnanf): Likewise.
57640         [non-C99-based standards] (acoshf): Likewise.
57641         [non-C99-based standards] (asinhf): Likewise.
57642         [non-C99-based standards] (atanhf): Likewise.
57643         [non-C99-based standards] (cbrtf): Likewise.
57644         [non-C99-based standards] (expm1f): Likewise.
57645         [non-C99-based standards] (ilogbf): Likewise.
57646         [non-C99-based standards] (log1pf): Likewise.
57647         [non-C99-based standards] (logbf): Likewise.
57648         [non-C99-based standards] (nextafterf): Likewise.
57649         [non-C99-based standards] (remainderf): Likewise.
57650         [non-C99-based standards] (rintf): Likewise.
57651         [non-C99-based standards] (scalbf): Likewise.
57652         [non-C99-based standards] (copysignl): Likewise.
57653         [non-C99-based standards] (exp2l): Likewise.
57654         [non-C99-based standards] (log2l): Likewise.
57655         [non-C99-based standards] (modfl): Allow.
57656         [non-C99-based standards] (erfl): Do not allow.
57657         [non-C99-based standards] (erfcl): Likewise.
57658         [non-C99-based standards] (gammal): Likewise.
57659         [non-C99-based standards] (hypotl): Likewise.
57660         [non-C99-based standards] (j0l): Likewise.
57661         [non-C99-based standards] (j1l): Likewise.
57662         [non-C99-based standards] (jnl): Likewise.
57663         [non-C99-based standards] (lgammal): Likewise.
57664         [non-C99-based standards] (tgammal): Likewise.
57665         [non-C99-based standards] (y0l): Likewise.
57666         [non-C99-based standards] (y1l): Likewise.
57667         [non-C99-based standards] (ynl): Likewise.
57668         [non-C99-based standards] (isnanl): Likewise.
57669         [non-C99-based standards] (acoshl): Likewise.
57670         [non-C99-based standards] (asinhl): Likewise.
57671         [non-C99-based standards] (atanhl): Likewise.
57672         [non-C99-based standards] (cbrtl): Likewise.
57673         [non-C99-based standards] (expm1l): Likewise.
57674         [non-C99-based standards] (ilogbl): Likewise.
57675         [non-C99-based standards] (log1pl): Likewise.
57676         [non-C99-based standards] (logbl): Likewise.
57677         [non-C99-based standards] (nextafterl): Likewise.
57678         [non-C99-based standards] (remainderl): Likewise.
57679         [non-C99-based standards] (rintl): Likewise.
57680         [non-C99-based standards] (scalbl): Likewise.
57681         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57682         [non-C99-based standards] (FP_*): Do not allow.
57683         [C99-based standards] (FP_*): Change to
57684         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
57685         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57686         allow.
57687         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
57688         (SIG_ERR): Likewise.
57689         [X/Open-based standards] (SIG_HOLD): Likewise.
57690         (SIG_IGN): Likewise.
57691         (SIGABRT): Use macro-int-constant.  Specify type.  Require
57692         positive value.
57693         (SIGFPE): Likewise.
57694         (SIGILL): Likewise.
57695         (SIGINT): Likewise.
57696         (SIGSEGV): Likewise.
57697         (SIGTER): Likewise.
57698         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
57699         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
57700         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
57701         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
57702         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
57703         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
57704         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
57705         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
57706         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
57707         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
57708         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
57709         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
57710         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
57711         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
57712         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
57713         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
57714         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
57715         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
57716         [X/Open-based standards] (SIGTRAP): Likewise.
57717         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
57718         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
57719         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
57720         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
57721         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57722         allow.
57724 2012-05-08  Ian Wienand  <ianw@vmware.com>
57726         [BZ #14080]
57727         * time/tzset.c (__tzset_parse_tz): Update default rules for
57728         daylight time changes in the Energy Policy Act of 2005.
57730 2012-05-09  Andreas Jaeger  <aj@suse.de>
57732         [BZ #13983]
57733         * elf/ldconfig.c (parse_conf): Change string to make clear that
57734         ldconfig only issued a warning if ld.so.conf does not exist.
57736 2012-05-08  David S. Miller  <davem@davemloft.net>
57738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
57739         movxtod instead of popping the value on the stack.
57741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57743 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
57745         * config.h.in: Add HAVE_ARM_PCS_VFP.
57747 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
57749         [BZ #13979]
57750         * include/features.h: Warn if user requests __FORTIFY_SOURCE
57751         checking but the checks are disabled for any reason.
57753 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
57755         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
57756         and ELF64_R_TYPE with ELFW(R_TYPE).
57758 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
57760         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
57761         (ulimit): Likewise.
57763         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
57764         (settimeofday): Likewise.
57766 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
57768         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
57769         a struct th_u2 inside the union, and move tu_block/tu_code into
57770         a new th_u3 union of tu_block/tu_code inside of that.  Move
57771         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
57772         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
57773         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
57774         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
57775         (th_stuff): Change to th_u1.tu_stuff.
57776         (th_data): Define.
57777         (th_msg): Change to th_u1.th_u2.tu_data.
57779 2012-05-07  David S. Miller  <davem@davemloft.net>
57781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57783         [BZ #14074]
57784         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
57785         (SETUP_PIC_REG): Use it.
57786         (SETUP_PIC_REG_LEAF): Use it.
57788 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
57790         [BZ #13885]
57791         [BZ #13923]
57792         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57793         USE_AS_EXPM1L.
57794         (EXPL_FINITE): Likewise.
57795         (FLDLOG): Likewise.
57796         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57797         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57798         e_expl.S.
57799         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57800         USE_AS_EXPM1L.
57801         (EXPL_FINITE): Likewise.
57802         (FLDLOG): Likewise.
57803         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
57804         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
57805         e_expl.S.
57806         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
57807         test of -max_value argument for long double.
57808         * sysdeps/i386/fpu/libm-test-ulps: Update.
57809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57811 2012-05-06  David S. Miller  <davem@davemloft.net>
57813         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
57814         quad soft-float symbols whose references which are compiler
57815         generated.
57816         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57818 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
57820         [BZ #13884]
57821         [BZ #13914]
57822         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57823         USE_AS_EXP10L.
57824         (EXPL_FINITE): Likewise.
57825         (FLDLOG): Likewise.
57826         (c0): Likewise.
57827         (c1): Likewise.
57828         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57829         Adjust comments for base varying.
57830         (__expl_finite): Change alias to EXPL_FINITE.
57831         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
57832         e_expl.S.
57833         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
57834         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
57835         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57836         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
57837         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
57838         USE_AS_EXP10L.
57839         (EXPL_FINITE): Likewise.
57840         (FLDLOG): Likewise.
57841         (c0): Likewise.
57842         (c1): Likewise.
57843         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
57844         Adjust comments for base varying.
57845         (__expl_finite): Change alias to EXPL_FINITE.
57846         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
57847         tests for bugs.
57848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57850         [BZ #14064]
57851         * math/libm-test.inc (check_float_internal): Correct ulp
57852         calculation for subnormal expected results.
57854 2012-05-06  Andreas Jaeger  <aj@suse.de>
57856         * Makeconfig (+math-flags): New, set to -frounding-math.
57857         (+cflags): Add +math-flags so that all of glibc gets compiled with
57858         it.
57860         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
57862 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
57864         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
57865         Disable one test.
57867         [BZ #13787]
57868         [BZ #13922]
57869         [BZ #14036]
57870         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
57871         (__ieee754_expl): Allow for and saturate large arguments.
57872         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
57873         (u_threshold): Likewise.
57874         (__exp): Call __ieee754_exp before checking for overflow and
57875         underflow.
57876         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
57877         (u_threshold): Likewise.
57878         (__expf): Call __ieee754_expf before checking for overflow and
57879         underflow.
57880         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
57881         (u_threshold): Likewise.
57882         (__expl): Call __ieee754_expl before checking for overflow and
57883         underflow.
57884         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
57885         (__ieee754_expl): Allow for and saturate large arguments.
57886         * math/libm-test.inc (exp_test): Add another test.  Do not allow
57887         missing overflow exception on overflow.
57888         (expm1_test): Do not allow missing overflow exception on overflow.
57890         * sysdeps/i386/fpu/e_expl.c: Move to ...
57891         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
57892         rather than using inline asm.
57893         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
57894         * sysdeps/x86_64/fpu/e_expl.S: Copy from
57895         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
57897         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
57898         (nice): Likewise.
57899         (poll): Likewise.
57900         (signal): Likewise.
57901         (time): Likewise.
57902         (times): Likewise.
57904 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57906         * sysdeps/unix/syscalls.list (adjtime): Add entry from
57907         sysdeps/unix/common/syscalls.list.
57908         (fchmod): Likewise.
57909         (fchown): Likewise.
57910         (ftruncate): Likewise.
57911         (getrusage): Likewise.
57912         (gettimeofday): Likewise.
57913         (setpgid): Likewise.
57914         (setregid): Likewise.
57915         (setreuid): Likewise.
57916         (sigaction): Likewise.
57917         (truncate): Likewise.
57918         (vhangup): Likewise.
57919         * sysdeps/unix/common/syscalls.list: Remove file.
57920         * sysdeps/unix/bsd/Implies: Don't include unix/common.
57921         * sysdeps/unix/sysv/linux/Implies: Likewise.
57923 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
57925         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
57926         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
57927         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
57928         Moved to ...
57929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
57930         Here.
57931         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
57932         to ...
57933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
57934         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
57935         to ...
57936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57937         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57938         to ...
57939         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57940         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57941         to ...
57942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57943         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57944         to ...
57945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57946         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57947         to ...
57948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57949         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57950         to ...
57951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57952         Here.
57953         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57954         to ...
57955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57956         Here.
57957         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57958         to ...
57959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57960         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57961         Moved to ...
57962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57963         Here.
57964         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57965         to ...
57966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57968 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57970         * sysdeps/unix/common/bits/dirent.h: Remove file.
57971         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57973         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57974         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57975         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57976         * sysdeps/unix/bsd/isatty.c: Likewise.
57977         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57978         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57979         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57981 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57983         [BZ #13563]
57984         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57985         long double comparison inaccuracies.
57986         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57989 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57991         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57992         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57994 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57996         [BZ #14049]
57997         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57998         nonzero digits before rounding a hex value.
57999         * stdlib/tst-strtod.c (tests): Add another test.
58001 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58003         * sysdeps/s390/fpu/libm-test-ulps: Update.
58005 2012-05-03  Andreas Jaeger  <aj@suse.de>
58007         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58008         does not get optimized out.
58009         (malloc_opt_barrier): New.
58011 2012-05-03  Andreas Jaeger  <aj@suse.de>
58012             Roland McGrath  <roland@hack.frob.com>
58014         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58015         intermediate file deletion.
58016         (generated): Add .symlist files.
58018 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58020         [BZ #13775]
58021         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58022         Redirect under this condition.
58023         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58024         [__USE_GNU] (__dprintf_chk): Not under this condition.
58025         [__USE_GNU] (__vdprintf_chk): Likewise.
58026         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58027         under this condition.
58028         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58029         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58030         [__USE_XOPEN2K8] (vdprintf): Likewise.
58031         [__USE_GNU] (__dprintf_chk): Not under this condition.
58032         [__USE_GNU] (__vdprintf_chk): Likewise.
58033         [__USE_GNU] (dprintf): Likewise.
58034         [__USE_GNU] (vdprintf): Likewise.
58036 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58038         * elf/Makefile (common-generated): Set this instead of generated for
58039         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58040         $(all-built-dso)-derived lists.
58042 2012-05-03  Andreas Jaeger  <aj@suse.de>
58044         * sysdeps/i386/fpu/libm-test-ulps: Update.
58046         * FAQ: Removed.
58047         * FAQ.in: Likewise.
58048         * scripts/gen-FAQ.pl: Likewise.
58049         * manual/install.texi (Installation): Point to online location of
58050         FAQ.
58051         * Makefile (files-for-dist): Remove FAQ.
58052         (FAQ): Remove.
58054 2012-05-02  Allan McRae  <allan@archlinux.org>
58056         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58057         (LDFLAGS-reldepmod5.so): Likewise.
58058         (LDFLAGS-reldep6mod1.so): Likewise.
58059         (LDFLAGS-reldep6mod4.so): Likewise.
58060         (LDFLAGS-reldep8mod3.so): Likewise.
58061         (LDFLAGS-unload4mod1.so): Likewise.
58062         (LDFLAGS-unload4mod2.so): Likewise.
58063         (LDFLAGS-tst-initorder): Likewise.
58064         (LDFLAGS-tst-initordera2.so): Likewise.
58065         (LDFLAGS-tst-initordera3.so): Likewise.
58066         (LDFLAGS-tst-initordera4.so): Likewise.
58067         (LDFLAGS-tst-initorderb2.so): Likewise.
58068         (LDFLAGS-noload): Likewise.
58069         (LDFLAGS-next): Likewise.
58070         (LDFLAGS-order2mod1.so): Likewise.
58071         (LDFLAGS-order2mod2.so): Likewise.
58072         (LDFLAGS-tst-initorder2): Likewise.
58073         (LDFLAGS-tst-initorder2a.so): Likewise.
58074         (LDFLAGS-tst-initorder2b.so): Likewise.
58075         (LDFLAGS-tst-initorder2c.so): Likewise.
58076         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58078 2012-05-02  David S. Miller  <davem@davemloft.net>
58080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58082 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58084         [BZ #14055]
58085         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58087 2012-05-02  Andreas Jaeger  <aj@suse.de>
58089         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58090         since we manipulate rounding mode.
58091         (CPPFLAGS-test-idouble.c): Likewise.
58092         (CPPFLAGS-test-ifloat.c): Likewise.
58093         (CFLAGS-test-ldouble.c): Likewise.
58094         (CFLAGS-test-double.c): Likewise.
58095         (CFLAGS-test-float.c): Likewise.
58096         (CFLAGS-test-misc.c): Likewise.
58097         (CFLAGS-test-test-fenv.c): Likewise.
58099 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58101         [BZ #2550]
58102         [BZ #2570]
58103         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58104         comparisons to determine direction to adjust input.
58106 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58108         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58109         output to the target.
58111         * scripts/localplt.awk: New file.
58112         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58113         (check-localplt-CFLAGS): Variable removed.
58114         ($(all-built-dso:=.jmprel)): New static pattern rule.
58115         (generated): Add those targets.
58116         (localplt-built-dso): New variable.
58117         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58119         * elf/check-localplt.c: File removed.
58121         * scripts/check-execstack.awk: New file.
58122         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58123         (check-execstack-CFLAGS): Variable removed.
58124         ($(objpfx)check-execstack.h): Target removed.
58125         ($(objpfx)execstack-default): New target.
58126         (generated): Add that instead of check-execstack.h.
58127         ($(all-built-dso:=.phdr)): New static pattern rule.
58128         (generated): Add those targets.
58129         * elf/check-execstack.c: File removed.
58131         * scripts/check-textrel.awk: New file.
58132         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58133         (check-textrel-CFLAGS): Variable removed.
58134         (all-built-dso): Use := to define.o
58135         ($(all-built-dso:=.dyn)): New static pattern rule.
58136         (generated): Add those targets.
58137         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58138         * config.make.in (READELF): New substituted variable.
58139         * elf/check-textrel.c: File removed.
58141 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58143         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58144         allow.
58145         * conform/data/ctype.h-data [C99-based standards] (isblank):
58146         Expect function.
58147         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58148         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58149         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58150         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58151         Specify type.  Require positive value.
58152         (EILSEQ): Likewise.
58153         (ERANGE): Likewise.
58154         [ISO || POSIX] (EILSEQ): Do not expect.
58155         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58156         Specify type.  Require positive value.
58157         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58158         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58159         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58160         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58161         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58162         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58163         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58164         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58165         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58166         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58167         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58168         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58169         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58170         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58171         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58172         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58173         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58174         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58175         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58176         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58177         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58178         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58179         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58180         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58181         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58182         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58183         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58184         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58185         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58186         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58187         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58188         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58189         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58190         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58191         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58192         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58193         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58194         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58195         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58196         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58197         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58198         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58199         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58200         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58201         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58202         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58203         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58204         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58205         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58206         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58207         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58208         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58209         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58210         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58211         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58212         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58213         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58214         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58215         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58216         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58217         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58218         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58219         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58220         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58221         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58222         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58223         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58224         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58225         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58226         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58227         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58228         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58229         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58230         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58231         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58232         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58233         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58234         Require >= 2.
58235         (FLT_ROUNDS): Expect as macro, not constant.
58236         (FLT_MANT_DIG): Use macro-int-constant.
58237         (DBL_MANT_DIG): Likewise.
58238         (LDBL_MANT_DIG): Likewise.
58239         (FLT_DIG): Likewise.
58240         (DBL_DIG): Likewise.
58241         (LDBL_DIG): Likewise.
58242         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58243         (DBL_MIN_EXP): Likewise.
58244         (LDBL_MIN_EXP): Likewise.
58245         (FLT_MAX_EXP): Use macro-int-constant.
58246         (DBL_MAX_EXP): Likewise.
58247         (LDBL_MAX_EXP): Likewise.
58248         (FLT_MAX_10_EXP): Likewise.
58249         (DBL_MAX_10_EXP): Likewise.
58250         (LDBL_MAX_10_EXP): Likewise.
58251         (FLT_MAX): Use macro-constant.
58252         (DBL_MAX): Likewise.
58253         (LDBL_MAX): Likewise.
58254         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58255         (DBL_EPSILON): Likewise.
58256         (LDBL_EPSILON): Likewise.
58257         (FLT_MIN): Likewise.
58258         (DBL_MIN): Likewise.
58259         (LDBL_MIN): Likewise.
58260         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58261         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58262         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58263         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58264         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58265         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58266         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58267         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58268         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58269         [ISO11] (FLT_TRUE_MIN): Likewise.
58270         [ISO11] (LDBL_TRUE_MIN): Likewise.
58271         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58272         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58273         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58274         (SCHAR_MAX): Likewise.
58275         (UCHAR_MAX): Likewise.
58276         (CHAR_MIN): Likewise.
58277         (CHAR_MAX): Likewise.
58278         (MB_LEN_MAX): Use macro-int-constant.
58279         (SHRT_MIN): Use macro-int-constant.  Specify type.
58280         (SHRT_MAX): Likewise.
58281         (USHRT_MAX): Likewise.
58282         (INT_MAX): Likewise.
58283         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58284         bound negative.
58285         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58286         bound with "U".
58287         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58288         bound with "L".
58289         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58290         bound negative.  Suffix upper bound with "L".
58291         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58292         bound with "UL".
58293         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58294         Specify type.
58295         [C99-based standards] (LLONG_MAX): Likewise.
58296         [C99-based standards] (ULLONG_MAX): Likewise.
58297         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58298         == 0.
58299         [ISO11] (max_align_t): Require type.
58300         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58302         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58303         from $CFLAGS, without defining away __attribute__ calls.
58304         (checknamespace): Use $CFLAGS_namespace.
58306         * conform/conformtest.pl (@keywords): Only include C99 keywords
58307         for standards based on C99 or C11.
58309         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58310         Disable tests.
58311         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58312         UNIX98]: Likewise.
58314         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58315         usability of symbols in #if.
58317         * conform/conformtest.pl: If macro or constant types start
58318         "promoted:", expect the symbol to be of the following type
58319         promoted by the integer promotions.
58321         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58322         in one place.  Also handle "macro-constant".
58324         * conform/conformtest.pl: Only accept expected macro values with
58325         "==".  Parse all "macro" lines in one place.
58326         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58328         * conform/conformtest.pl: Handle braced types on "constant" lines
58329         instead of handling "typed-constant".
58330         * conform/data/signal.h-data: Use "constant" instead of
58331         "typed-constant".
58333         * conform/conformtest.pl: Handle "optional-" at start of lines in
58334         one place rather than duplicating several cases.  Handle each
58335         format of "macro" line with initial "optional-".
58337         * conform/conformtest.pl: Only accept expected constant or
58338         optional-constant values with "==".  Parse all "constant" lines in
58339         one place.  Parse all "optional-constant" lines in one place.
58340         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58341         * conform/data/fmtmsg.h-data: Likewise.
58342         * conform/data/netinet/in.h-data: Likewise.
58343         * conform/data/tar.h-data: Likewise.
58344         * conform/data/limits.h-data: Use "==" form on "constant" and
58345         "optional-constant" lines.
58347         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58348         Use -std=c99 for XOPEN2K.
58349         (@knownproblems): Remove.
58350         (newtoken): Don't check %isknown.
58352         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58353         Do not expect macro.
58354         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58355         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58356         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58357         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58358         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58359         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58360         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58361         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58362         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58363         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58364         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58365         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58366         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58367         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58368         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58369         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58370         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58371         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58372         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58373         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58374         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58375         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58376         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58377         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58378         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58379         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58380         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58381         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58382         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58383         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58384         [XPG3] (acosh): Likewise.
58385         [XPG3] (asinh): Likewise.
58386         [XPG3] (atanh): Likewise.
58387         [XPG3] (cbrt): Likewise.
58388         [XPG3] (expm1): Likewise.
58389         [XPG3] (ilogb): Likewise.
58390         [XPG3] (log1p): Likewise.
58391         [XPG3] (logb): Likewise.
58392         [XPG3] (nextafter): Likewise.
58393         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58394         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58395         [XPG3] (remainder): Likewise.
58396         [XPG3] (rint): Likewise.
58397         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58398         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58399         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58400         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58401         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58402         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58403         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58404         [UNIX98 || XOPEN2K] (scalb): Expect.
58405         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58406         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58407         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58408         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58409         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58410         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58411         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58412         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58413         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58414         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58415         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58416         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58417         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58418         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58419         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58420         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58421         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58422         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58423         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58424         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58425         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58426         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58427         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58428         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58429         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58430         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58431         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58432         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58433         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58434         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58435         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58436         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58437         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58438         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58439         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58440         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58441         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58442         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58443         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58444         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58445         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58446         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58447         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58448         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58449         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58450         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58451         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58452         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58453         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58454         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58455         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58456         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58457         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58458         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58459         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58460         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58461         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58462         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58463         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58464         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58465         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58466         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58467         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58468         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58469         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58470         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58471         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58472         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58473         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58474         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58475         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58476         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58477         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58478         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58479         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58480         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58481         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58482         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58483         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58484         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58485         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58486         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58487         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58488         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58489         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58490         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58491         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58492         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58493         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58494         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58495         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58496         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58497         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58498         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58499         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58500         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58501         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58502         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
58503         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
58504         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
58505         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
58506         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
58507         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
58508         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
58509         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
58510         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
58511         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
58512         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
58513         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
58514         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
58515         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
58516         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
58517         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
58518         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
58519         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
58520         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
58521         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
58522         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
58523         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
58524         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
58525         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
58526         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
58527         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
58528         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
58529         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
58530         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
58531         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
58532         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
58533         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
58534         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
58535         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
58536         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
58537         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
58538         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
58539         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
58540         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
58541         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
58543         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
58544         _XOPEN_SOURCE_EXTENDED for XPG4.
58546         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
58548         * Makeconfig (localtime): Remove variable.
58549         (inst_localtime-file): Likewise.
58551 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
58554         Update.
58555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58556         Update.
58557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
58558         Update.
58559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58560         Update.
58561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
58562         Update.
58563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
58564         Update.
58565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58566         Update.
58567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
58568         Update.
58569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58570         Update.
58572 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58574         [BZ #2550]
58575         [BZ #2570]
58576         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
58577         comparisons to determine direction to adjust input.
58578         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
58579         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
58580         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
58581         Likewise.
58582         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
58583         Likewise.
58584         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
58585         Likewise.
58586         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
58587         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
58588         Likewise.
58589         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
58590         Likewise.
58591         * math/libm-test.inc (nexttoward_test): Add more tests.
58593 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
58595         [BZ #14040]
58596         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
58597         in version GLIBC_2.1, not GLIBC_2.0.
58598         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
58599         Likewise.
58601 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
58603         [BZ #13942]
58604         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
58605         (1 - x) * (1 + x).
58606         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58607         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
58608         * math/libm-test.inc (acos_test): Add more tests.
58609         (asin_test): Likewise.
58610         * sysdeps/i386/fpu/libm-test-ulps: Update.
58611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58613         [BZ #14034]
58614         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
58615         of square root.
58616         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
58617         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
58618         * math/libm-test.inc (acos_test_tonearest): New function.
58619         (acos_test_towardzero): Likewise.
58620         (acos_test_downward): Likewise.
58621         (acos_test_upward): Likewise.
58622         (asin_test_tonearest): Likewise.
58623         (asin_test_towardzero): Likewise.
58624         (asin_test_downward): Likewise.
58625         (asin_test_upward): Likewise.
58626         (main): Call the new functions.
58627         * sysdeps/i386/fpu/libm-test-ulps: Update.
58628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58630         [BZ #13884]
58631         [BZ #13924]
58632         * math/e_exp10.c: Include <float.h>.
58633         (__ieee754_exp10): Handle underflow here rather than multiplying
58634         large negative argument by M_LN10.
58635         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
58636         of __ieee754_expf.
58637         * math/e_exp10l.c: Include <float.h>.
58638         (__ieee754_exp10l): Handle underflow here rather than multiplying
58639         large negative argument by M_LN10l.
58640         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
58641         spurious overflow exception on underflow.
58643 2012-04-29  Marek Polacek  <polacek@redhat.com>
58645         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
58646         (__fortify_function): New macro.
58647         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
58648         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
58649         __extern_always_inline.
58650         * libio/bits/stdio2.h: Likewise.
58651         * libio/bits/stdio.h: Likewise.
58652         * string/string.h: Likewise.
58653         * string/bits/string3.h: Likewise.
58654         * include/stdio.h: Likewise.
58655         * stdlib/bits/stdlib.h: Likewise.
58656         * stdlib/stdlib.h: Likewise.
58657         * rt/bits/mqueue2.h: Likewise.
58658         * rt/mqueue.h: Likewise.
58659         * posix/bits/unistd.h: Likewise.
58660         * posix/unistd.h: Likewise.
58661         * io/bits/poll2.h: Likewise.
58662         * io/bits/fcntl2.h: Likewise.
58663         * io/fcntl.h: Likewise.
58664         * io/sys/poll.h: Likewise.
58665         * misc/bits/syslog.h: Likewise.
58666         * misc/bits/syslog-ldbl.h: Likewise.
58667         * misc/sys/syslog.h: Likewise.
58668         * socket/bits/socket2.h: Likewise.
58669         * socket/sys/socket.h: Likewise.
58670         * debug/tst-chk1.c: Likewise.
58671         * wcsmbs/bits/wchar2.h: Likewise.
58672         * wcsmbs/bits/wchar-ldbl.h: Likewise.
58673         * wcsmbs/wchar.h: Likewise.
58675 2012-04-29  Andreas Jaeger  <aj@suse.de>
58677         * Makerules (tests): Remove enable-check-abi protection.
58678         (check-abi-warn): Remove.
58679         (check-abi-%): Remove check-abi-warn usage.
58681         * configure.in: Remove check-abi configure option.
58682         * configure: Regenerated.
58683         * config.make.in (enable-check-abi): Remove.
58685 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
58687         [BZ #14033]
58688         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
58689         double functions to double *_finite functions.
58691         [BZ #13941]
58692         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
58693         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
58694         LDBL_MIN_EXP.
58695         * stdio-common/Makefile (tests): Add tst-sprintf3.
58696         * stdio-common/tst-sprintf3.c: New file.
58698         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
58699         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
58701 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58703         * conform/conformtest.pl: Remove duplicate typed-constant
58704         handling.
58706 2012-04-28  David S. Miller  <davem@davemloft.net>
58708         * Makerules (%.abilist): Add vpath on sysdep_dirs.
58709         (check-abi-%): Remove AWK script prerequisite and explicit
58710         abilist directory.
58711         (check-abi): Rewrite to just diff the symlist with the abilist.
58712         (config-tls, config-abi-config): Delete, no longer used.
58713         (update-abi-%): Remove AWK script and explicit abilist directory.
58714         (update-abi): Rewrite to simply compare and conditionally copy the
58715         symlist and the sysdep abilist file.  Remove update-abi-config
58716         checks.
58717         * abilist/ld.abilist: Remove.
58718         * abilist/libBrokenLocale.abilist: Remove.
58719         * abilist/libanl.abilist: Remove.
58720         * abilist/libcrypt.abilist: Remove.
58721         * abilist/libdl.abilist: Remove.
58722         * abilist/librt.abilist: Remove.
58723         * abilist/libthread_db.abilist: Remove.
58724         * abilist/libutil.abilist: Remove.
58725         * scripts/extract-abilist.awk: Remove.
58726         * scripts/merge-abilist.awk: Remove.
58727         * sysdeps/generic/libcidn.abilist: New file.
58728         * sysdeps/generic/libnss_compat.abilist: New file.
58729         * sysdeps/generic/libnss_db.abilist: New file.
58730         * sysdeps/generic/libnss_dns.abilist: New file.
58731         * sysdeps/generic/libnss_files.abilist: New file.
58732         * sysdeps/generic/libnss_hesiod.abilist: New file.
58733         * sysdeps/generic/libnss_nis.abilist: New file.
58734         * sysdeps/generic/libnss_nisplus.abilist: New file.
58735         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
58736         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
58737         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
58738         file.
58739         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
58740         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
58741         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
58742         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
58743         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
58744         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
58745         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
58746         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
58747         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
58748         file.
58749         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
58750         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
58751         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
58752         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
58753         file.
58754         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
58755         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
58756         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
58757         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
58758         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
58759         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
58760         file.
58761         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
58762         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
58763         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
58764         file.
58765         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
58766         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
58767         New file.
58768         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
58769         New file.
58770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
58771         New file.
58772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
58773         New file.
58774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
58775         New file.
58776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
58777         New file.
58778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
58779         New file.
58780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
58781         New file.
58782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
58783         New file.
58784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
58785         New file.
58786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
58787         New file.
58788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
58789         New file.
58790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
58791         New file.
58792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
58793         file.
58794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
58795         New file.
58796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
58797         New file.
58798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
58799         file.
58800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
58801         New file.
58802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
58803         New file.
58804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
58805         file.
58806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
58807         New file.
58808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58809         New file.
58810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
58811         New file.
58812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
58813         New file.
58814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
58815         New file.
58816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
58817         New file.
58818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
58819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
58820         file.
58821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
58822         New file.
58823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
58824         file.
58825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
58826         file.
58827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
58828         file.
58829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
58830         file.
58831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
58832         file.
58833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58834         New file.
58835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
58836         file.
58837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
58838         file.
58839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
58840         New file.
58841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
58842         file.
58843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
58844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
58845         file.
58846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
58847         New file.
58848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
58849         file.
58850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
58851         file.
58852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
58853         file.
58854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
58855         file.
58856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
58857         file.
58858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58859         New file.
58860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
58861         file.
58862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
58863         file.
58864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
58865         New file.
58866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
58867         file.
58868         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58869         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
58870         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
58871         file.
58872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
58873         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
58874         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
58875         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
58876         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
58877         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
58878         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
58879         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
58880         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
58881         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
58882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
58883         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
58884         file.
58885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
58886         New file.
58887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
58888         file.
58889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
58890         file.
58891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
58892         file.
58893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
58894         file.
58895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
58896         file.
58897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58898         New file.
58899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
58900         New file.
58901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
58902         file.
58903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
58904         New file.
58905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
58906         file.
58907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
58908         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
58909         file.
58910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
58911         New file.
58912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
58913         file.
58914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
58915         file.
58916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
58917         file.
58918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
58919         file.
58920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
58921         file.
58922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58923         New file.
58924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
58925         New file.
58926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
58927         file.
58928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
58929         New file.
58930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
58931         file.
58933 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
58935         * conform/conformtest.pl: Fix typo in handling typed-constant from
58936         allow-header.
58938 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58940         * README: Cut down references to pre-2.6 Linux kernels and
58941         Linuxthreads.  Update lists of configurations in libc and ports
58942         and sort alphabetically.  Say "or newer" with Linux kernel version
58943         requirements.
58945         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58947 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58949         [BZ #887]
58950         * math/libm-test.inc (logb_test_downward): New test to expose
58951         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58952         rounding mode.
58954 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58956         [BZ #14027]
58957         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58958         to be done.
58959         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58960         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58962 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58964         * sysdeps/unix/i386/brk.S: Remove file.
58965         * sysdeps/unix/i386/dl-brk.S: Likewise.
58966         * sysdeps/unix/i386/pipe.S: Likewise.
58967         * sysdeps/unix/i386/sigreturn.S: Likewise.
58968         * sysdeps/unix/i386/syscall.S: Likewise.
58969         * sysdeps/unix/i386/vfork.S: Likewise.
58970         * sysdeps/unix/i386/wait.S: Likewise.
58972         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58973         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58975         * configure.in (arm*-none*): Do not allow without
58976         --enable-hacker-mode.
58977         (netbsd*): Remove case setting base_os.
58978         (386bsd*): Likewise.
58979         (freebsd*): Likewise.
58980         (bsdi*): Likewise.
58981         (osf*): Likewise.
58982         (sunos*): Likewise.
58983         (ultrix*): Likewise.
58984         (newsos*): Likewise.
58985         (dynix*): Likewise.
58986         (*bsd*): Likewise.
58987         (sysv*): Likewise.
58988         (isc*): Likewise.
58989         (esix*): Likewise.
58990         (sco*): Likewise.
58991         (minix*): Likewise.
58992         (irix4*): Likewise.
58993         (irix6*): Likewise.
58994         (solaris[2-9]*): Likewise.
58995         (none): Likewise.
58996         * configure: Regenerated.
58998 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59000         [BZ #11521]
59001         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59002         overflow or cancellation in calculating denominator.
59003         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59004         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59005         down expression to avoid unexpected rounding in newer GCCs.
59006         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59008 2012-04-26  David S. Miller  <davem@davemloft.net>
59010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59011         long-double compat symbols.
59012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59026 2012-04-25  David S. Miller  <davem@davemloft.net>
59028         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59029         HWCAP_* values only after the memory barriers have been defined.
59030         (atomic_full_barrier): Define.
59031         (atomic_read_barrier): Define.
59032         (atomic_write_barrier): Define.
59034 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59036         * shlib-versions: Add libgcc_s version information.
59037         * sysdeps/generic/libgcc_s.h: Remove.
59038         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59039         libgcc_s.h.
59040         * sysdeps/gnu/unwind-resume.c: Likewise.
59041         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59043 2012-04-25  David S. Miller  <davem@davemloft.net>
59045         * sysdeps/unix/sparc/brk.S: Delete.
59046         * sysdeps/unix/sparc/dl-brk.S: Delete.
59047         * sysdeps/unix/sparc/pipe.S: Delete.
59048         * sysdeps/unix/sparc/sysdep.S: Delete.
59049         * sysdeps/unix/sparc/sysdep.h: Delete.
59050         * sysdeps/unix/sparc/vfork.S: Delete.
59051         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59052         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59053         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59054         (ret_ERRVAL, r0, r1, MOVE): Define.
59055         (JUMPTARGET): Remove.
59056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59057         sysdeps/unix/sparc/sysdep.h
59058         (ENTRY, END): Remove.
59059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59061 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59063         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59064         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59065         -DIS_IN_build.
59067         * timezone/README: Update upstream location and email address for
59068         tzcode and tzdata.
59069         * timezone/zdump.c: Update from tzcode 2012b.
59070         * timezone/zic.c: Likewise.
59072         * configure.in (libc_cv_as_needed): Remove test.
59073         * configure: Regenerated.
59074         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59075         conditional definition.
59076         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59077         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59078         * config.make.in (have-as-needed): Remove variable.
59080 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59081             Paul Pluzhnikov  <ppluzhnikov@google.com>
59083         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59084         strings correctly.
59086 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59088         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59089         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59090         * sysdeps/sh/strlen.S: Likewise.
59092 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59094         * sysdeps/unix/fork.S: Remove file.
59095         * sysdeps/unix/i386/fork.S: Likewise.
59096         * sysdeps/unix/sparc/fork.S: Likewise.
59098         * sysdeps/unix/system.c: Remove file.
59099         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59101         * sysdeps/unix/getegid.S: Remove file.
59102         * sysdeps/unix/geteuid.S: Likewise.
59104 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59106         * scripts/check-localplt.awk: New file.
59107         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59108         of diff.
59109         * scripts/data/localplt-generic.data: Add a comment.
59111         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59112         NODE when __dir_mkfile failed.
59113         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59114         Reported by Ludovic Courtès <ludo@gnu.org>.
59116 2012-04-24  Andreas Jaeger  <aj@suse.de>
59118         * Makerules (common-clean): Also remove gen-as-const-headers
59119         files.
59121 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59123         * Makerules (native-compile): Do not change working directory for
59124         build.  Use $(OUTPUT_OPTION) in command.
59125         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59127 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59129         [BZ #13886]
59130         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59131         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59132         * math/libm-test.inc (floor_test): Add more tests.
59133         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59135 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59137         * sysdeps/unix/getdents.c: Remove file.
59138         * sysdeps/unix/sysv/getdents.c: Likewise.
59139         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59141         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59142         sysdeps/unix/mman/syscalls.list.
59143         (mmap): Likewise.
59144         (mprotect): Likewise.
59145         (msync): Likewise.
59146         (munmap): Likewise.
59147         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59148         * sysdeps/unix/mman/syscalls.list: Remove.
59149         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59151         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59152         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59153         * configure: Regenerated.
59154         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59155         $(libgcc_s_suffix).
59156         * config.make.in (libgcc_s_suffix): Remove variable.
59158 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59160         * sysdeps/unix/sysv/gethostname.c: Move to ...
59161         * sysdeps/posix/gethostname.c: ... here.
59163         * sysdeps/unix/execve.S: Remove file.
59165         * sysdeps/unix/_exit.S: Remove file.
59167 2012-04-23  Andreas Jaeger  <aj@suse.de>
59169         [BZ #13739]
59170         * manual/Makefile: Remove make dist support, there's no
59171         need for a stand-alone documentation tar ball.
59172         (TEXI2DVI): Define always, it's not in Makeconfig.
59173         (dist): Removed.
59174         (tar-it): Removed.
59175         (edition): Removed.
59176         (glibc-doc-$(edition).tar): Removed
59177         (%.Z): Removed.
59178         (%.gz): Removed.
59179         (%.uu): Removed.
59180         (ETAGS): Remove, it's in Makeconfig.
59181         (move-if-change): Remove, it's in Makeconfig.
59183 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59185         [BZ #13970]
59186         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59187         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59188         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59189         (strtod_l, strtof_l, strtold_l): Remove __wur.
59190         It is not necessarily an error to ignore strtol's return value.
59191         One can reliably look at the stored endptr to decide whether
59192         the number had valid syntax.
59194 2012-04-21  Andreas Jaeger  <aj@suse.de>
59196         [BZ #13739]
59197         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59199 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59201         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59202         * sysdeps/unix/sysv/Versions: Remove file.
59204 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59206         [BZ #13927]
59207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59209 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59211         [BZ #7064]
59212         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59213         version from __vm86.
59215 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59217         * sysdeps/unix/common/lxstat.c: Remove file.
59218         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59220         * sysdeps/unix/sysv/Makefile: Remove file.
59222         * sysdeps/unix/sysv/direct.h: Remove file.
59224         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59225         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59226         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59227         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59228         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59229         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59230         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59232         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59234         * sysdeps/unix/xmknod.c: Remove file.
59235         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59237         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59239         * sysdeps/unix/sysv/i386/time.S: Remove file.
59241         * sysdeps/unix/fxstat.c: Remove file.
59242         * sysdeps/unix/xstat.c: Likewise.
59243         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59245         * sysdeps/unix/sysv/sigaction.c: Remove file.
59247         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59248         (sysdep_headers): Remove variable.
59249         [termio.h not in sysdep_headers] (generated): Likewise.
59250         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59251         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59252         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59253         * sysdeps/unix/sysv/tcflow.c: Likewise.
59254         * sysdeps/unix/sysv/tcflush.c: Likewise.
59255         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59256         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59257         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59258         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59259         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59261         * sysdeps/unix/siglist.c: Remove file.
59263         * sysdeps/unix/getppid.S: Remove file.
59265         * sysdeps/unix/mkdir.c: Remove file.
59266         * sysdeps/unix/rmdir.c: Likewise.
59268 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59270         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59271         ERR_MAX value.
59272         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59273         errlist-compat value.
59275 2012-04-18  David S. Miller  <davem@davemloft.net>
59277         * sysdeps/generic/memcopy.h (reg_char): Delete.
59278         * debug/strcat_chk.c: Use char, not reg_char.
59279         * debug/strcpy_chk.c: Likewise.
59280         * debug/strncat_chk.c: Likewise.
59281         * debug/strncpy_chk.c: Likewise.
59282         * string/memchr.c: Likewise.
59283         * string/memrchr.c: Likewise.
59284         * string/rawmemchr.c: Likewise.
59285         * string/strcat.c: Likewise.
59286         * string/strchr.c: Likewise.
59287         * string/strchrnul.c: Likewise.
59288         * string/strcmp.c: Likewise.
59289         * string/strcpy.c: Likewise.
59290         * string/strncat.c: Likewise.
59291         * string/strncmp.c: Likewise.
59292         * string/strncpy.c: Likewise.
59294 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59296         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59297         __builtin_memcopy is called when src and dest ranges are known to not
59298         overlap.
59300 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59302         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59303         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59304         fwd_align_merge macro call.
59305         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59306         bwd_align_merge macro call.
59307         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59309 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59311         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59312         bwd_align_merge macros.
59313         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59314         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59315         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59317 2012-04-18  David S. Miller  <davem@davemloft.net>
59319         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59321 2012-04-18  Andreas Jaeger  <aj@suse.de>
59323         [BZ# 6794]
59324         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59325         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59326         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59328         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59329         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59330         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59332         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59333         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59334         Adjust for changed ldbl-128 files.
59336         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59337         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59338         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59340 2012-04-17  David S. Miller  <davem@davemloft.net>
59342         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59344 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59346         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59347         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59348         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59349         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59350         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59351         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59353 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59355         [BZ #6794]
59356         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59357         * math/libm-test.inc: Add ilogb errno and exception tests.
59358         * math/w_ilogb.c: New file: ilogb wrapper.
59359         * math/w_ilogbf.c: New file: ilogbf wrapper.
59360         * math/w_ilogbl.c: New file: ilogbl wrapper.
59361         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59362         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59363         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59364         exception being thrown with 0.0 as argument.
59365         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59366         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59367         exception being thrown with 0.0 as argument.
59368         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59369         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59370         exception being thrown with 0.0 as argument.
59371         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59372         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59373         exception being thrown with 0.0 as argument.
59374         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59375         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59376         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59377         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59378         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59379         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59380         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59381         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59382         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59384 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59386         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59387         with altivec.
59389 2012-04-16  Marek Polacek  <polacek@redhat.com>
59391         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59393 2012-04-16  Marek Polacek  <polacek@redhat.com>
59395         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59396         operands of fdivp instruction.
59398 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59400         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59401         * elf/tst-auditmod3b.c: Likewise.
59402         * elf/tst-auditmod4b.c: Likewise.
59403         * elf/tst-auditmod5b.c: Likewise.
59404         * elf/tst-auditmod6b.c: Likewise.
59405         * elf/tst-auditmod6c.c: Likewise.
59406         * elf/tst-auditmod7b.c: Likewise.
59407         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59408         * sysdeps/x86_64/preconfigure.in: Likewise.
59409         * sysdeps/x86_64/preconfigure: Regenerated.
59411 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59413         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59414         __ILP32__.
59416 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59419         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59421 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59423         [BZ #13973]
59424         * locale/iso-639.def: Fix gl language name. Spotted by
59425         Yaron Shahrabani.
59427 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59429         [BZ #2074]
59430         * libio/libio.h (__io_write_fn): Update comment.
59432 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59434         [BZ #2074]
59435         * stdio.texi (Hook Functions): The user provided writer function
59436         is not allowed to return -1.
59438 2012-04-11  David S. Miller  <davem@davemloft.net>
59440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59442 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59444         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59445         Add a leading slash to rtkaio.
59447 2012-04-11  Jim Meyering  <meyering@redhat.com>
59449         [BZ #11959]
59450         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59451         It is not necessarily an error to ignore fwrite's return
59452         value.  One can reliably use ferror to test for errors after
59453         the fact.
59455 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59457         * bits/types.h (__snseconds_t): New type.
59458         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59460         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59462         (__SNSECONDS_T_TYPE): Likewise.
59463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59464         (__SNSECONDS_T_TYPE): Likewise.
59465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59466         (__SNSECONDS_T_TYPE): Likewise.
59468 2012-04-10  Andreas Jaeger  <aj@suse.de>
59470         [BZ #2636]
59471         * manual/time.texi (Processor Time): Return type of times is
59472         elapsed real time since an arbitrary point in the past.
59473         (CPU Time): Move CLK_TCK from here...
59474         (Processor Time): ...to here.  Correct description.
59475         * manual/conf.texi (Constants for Sysconf): Correct description of
59476         _SC_CLK_TCK.
59478 2012-04-10  David S. Miller  <davem@davemloft.net>
59480         [BZ #13967]
59481         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59482         where the is a gap between DT_REL(A) and DT_JMPREL.
59484 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59486         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59487         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59488         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59490 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59492         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59493         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59494         (dl_main): Handle --inhibit-cache.
59495         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59496         _dl_inhibit_cache.
59497         * elf/dl-load.c (_dl_map_object): Use it.
59498         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59500 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59502         [BZ #13872]
59503         * sysdeps/i386/fpu/e_powl.S (p78): New object.
59504         (__ieee754_powl): Saturate large exponents rather than testing for
59505         overflow of y*log2(x).
59506         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59507         * math/libm-test.inc (pow_test): Do not permit spurious overflow
59508         exceptions.
59510         [BZ #11521]
59511         * math/s_ctan.c: Include <float.h>.
59512         (__ctan): Avoid internal overflow or cancellation in calculating
59513         denominator.
59514         * math/s_ctanf.c: Likewise.
59515         * math/s_ctanl.c: Likewise.
59516         * math/s_ctanh.c: Likewise.
59517         * math/s_ctanhf.c: Likewise.
59518         * math/s_ctanhl.c: Likewise.
59519         * math/libm-test.inc (ctan_test): Add more tests.
59520         (ctanh_test): Likewise.
59521         * sysdeps/i386/fpu/libm-test-ulps: Update.
59522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59524 2012-04-09  Andreas Jaeger  <aj@suse.de>
59526         [BZ #6894]
59527         * manual/filesys.texi (Directory Entries): Mention that d_namlen
59528         is an optional BSD extension.
59530         [BZ #10254]
59531         * manual/stdio.texi (Opening Streams): Document additional fopen
59532         parameters.
59534 2012-04-09  Roland McGrath  <roland@hack.frob.com>
59536         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
59537         %eax without telling the compiler.
59539 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
59541         [BZ # 13963]
59542         * manual/install.texi: Use sourceware.org.
59544 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59546         [BZ #13873]
59547         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59548         (__ieee754_pow): Generate overflow and underflow using huge*huge
59549         and tiny*tiny rather than just returning constant infinity or zero
59550         for large exponents.
59551         * math/libm-test.inc (pow_test): Require overflow exceptions for
59552         applicable cases of large exponents.
59554         [BZ #706]
59555         * sysdeps/i386/fpu/e_pow.S (p10): New object.
59556         (__ieee754_pow): Use iterative multiplication algorithm only for
59557         integer exponents with absolute value below 1024.  Check for odd
59558         integer exponents when using algorithm for real exponents.
59559         * math/libm-test.inc (pow_test): Add more tests.
59560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59562 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
59564         [BZ #13705]
59565         * math/libm-test.inc (exp_test): Do not allow overflow exception
59566         on underflow test.
59568 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
59570         [BZ #13705]
59571         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
59572         instead of __kernel_standard_f.
59574 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
59576         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
59577         * sysdeps/x86_64/memset_chk.S: Likewise.
59579 2012-04-08  Andreas Jaeger  <aj@suse.de>
59581         [BZ #10153]
59582         * manual/startup.texi (Environment Access): Describe return value
59583         for putenv and setenv.
59585         [BZ #6895]
59586         * manual/filesys.texi (Directory Entries): Add description for
59587         DT_LNK.
59589         [BZ #6890]
59590         * manual/filesys.texi (Directory Entries): Clarify that it's file
59591         system not operating system in the description of DT_UNKNOWN.
59593         [BZ #6578]
59594         * manual/syslog.texi (closelog): Fix reference, it's openlog.
59596 2012-04-08  Stephen Compall  <s11@member.fsf.org>
59598         [BZ #6649]
59599         * manual/llio.texi (Opening and Closing Files): Add cross
59600         reference to explain mode argument.
59602 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
59604         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
59605         * sysdeps/x86_64/memset_chk.S: Likewise.
59607 2012-04-07  David S. Miller  <davem@davemloft.net>
59609         * elf/elf.h (R_SPARC_WDISP10): Define.
59610         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
59611         R_SPARC_SIZE32.
59612         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
59613         R_SPARC_SIZE64 and R_SPARC_H34.
59615 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
59617         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
59618         conditions and remove no longer applicable assertion.
59620 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59622         * bits/byteswap.h: Include <features.h>.
59623         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59624         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59626 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
59628         * bits/byteswap.h (__bswap_16): Removed.
59629         Include <bits/byteswap-16.h> to get __bswap_16.
59630         * sysdeps/i386/bits/byteswap.h: Likewise.
59631         * sysdeps/s390/bits/byteswap.h: Likewise.
59632         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59633         * bits/byteswap-16.h: New file.
59634         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59635         * sysdeps/s390/bits/byteswap-16.h: Likewise.
59636         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
59637         * string/Makefile (headers): Add bits/byteswap-16.h.
59639 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59641         [BZ #13895]
59642         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
59643         extra indirection.
59644         * nss/Makefile (tests-static, tests): Add tst-nss-static.
59645         * nss/tst-nss-static.c: New.
59647 2012-04-06  Robert Millan  <rmh@gnu.org>
59649         [BZ #6486]
59650         * manual/llio.texi (File Position Primitive): lseek
59651         refers to WHENCE when it really means OFFSET.
59653 2012-04-06  Andreas Jaeger  <aj@suse.de>
59655         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
59656         strncmp declarations.
59658         * abilist/libc.abilist: Add __poll and __ppoll.
59660 2012-04-05  David S. Miller  <davem@davemloft.net>
59662         * scripts/check-local-headers.sh: Accept a host triplet in the
59663         path matched by the exclude regexp.
59665         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
59666         definition.
59667         * sysdeps/powerpc/powerpc32/dl-machine.h
59668         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
59669         * sysdeps/s390/s390-32/dl-machine.h
59670         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59671         * sysdeps/sparc/sparc32/dl-machine.h
59672         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59673         * sysdeps/sparc/sparc64/dl-machine.h
59674         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
59676         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
59677         lazy binding.
59678         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
59679         undefined symbol errors.
59681         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
59682         DT_NEEDED entries.
59684 2012-04-05  Michael Matz  <matz@suse.de>
59686         [BZ #13592]
59687         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
59689 2012-04-05  Andreas Jaeger  <aj@suse.de>
59691         [BZ #13908]
59692         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
59693         comment.
59695 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59697         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
59698         which ROUND is no valid rounding mode.
59700 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59702         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
59703         read again.
59704         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
59706 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59708         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
59709         an exception using FPU order intentionally.
59711 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59713         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
59714         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
59715         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
59716         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
59718 2012-04-05  Simon Josefsson  <simon@josefsson.org>
59720         [BZ #12340]
59721         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
59722         EINVAL when BUFLEN is too smal.
59724 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
59726         [BZ #13553]
59727         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
59728         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
59730 2012-04-03  Andreas Jaeger  <aj@suse.de>
59732         [BZ #13938]
59733         * manual/setjmp.texi (System V contexts): Fix sentence.
59735         [BZ #13926]
59736         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
59737         New macro for this case.
59738         [!__GNUC__] (__bswap_64): New inline function for this case.
59739         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59740         * bits/byteswap.h: Likewise.
59741         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
59742         ull, guard with __GLIBC_HAVE_LONG_LONG.
59744         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
59745         __GLIBC_HAVE_LONG_LONG.
59747         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
59748         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
59750 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59752         [BZ #13691]
59753         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
59754         inptr and inend, rather than using last_ch.
59756 2012-04-02  David S. Miller  <davem@davemloft.net>
59758         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
59759         * stdio-common/printf-parse.h (read_int): Change return type to
59760         'int', return -1 on INT_MAX overflow.
59761         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
59762         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
59763         overflows INT_MAX.  Check for overflow of in-format-string precision
59764         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
59765         SIZE_MAX not INT_MAX for integer overflow test.
59766         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
59767         skip the construct in the format string but do not record anything.
59768         * stdio-common/bug22.c: Adjust to test both width/prevision
59769         INT_MAX overflow as well as total length INT_MAX overflow.  Check
59770         explicitly for proper errno values.
59772 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
59774         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
59775         CHAR_MAX.
59776         * string/test-strcmp.c [! WIDE]: Likewise.
59777         * time/tst-mktime2.c: Likewise for INT_MAX.
59778         * string/test-string.h: #include <sys/param.h> for MIN.
59780         * csu/init-first.c (__libc_init_first): Call __ctype_init.
59781         * sysdeps/i386/init-first.c (init): Likewise.
59782         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
59783         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
59784         * sysdeps/sh/init-first.c (init): Likewise.
59786 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
59788         * po/ru.po: Update from translation team.
59789         * po/vi.po: Likewise.
59791 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59793         * resolv/nss_dns/dns-host.c: Merge copyright years.
59795 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59797         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59798         Optimize memcpy with prefetch if
59799         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
59800         src, dst pointers have unequal 16 byte alignments.
59802 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59804         [BZ #13928]
59805         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
59806         from a CNAME entry and return the minimum ttl for the query.
59807         (gaih_getanswer_slice): Likewise.
59809 2012-03-30  Jeff Law  <law@redhat.com>
59811         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
59812         due to long keys.
59813         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59814         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
59816         * resolv/nss_dns/dns-host.c: Update copyright year.
59818 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
59820         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
59821         requests to save a system call.  Fix check that all bytes are sent.
59823         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
59824         comments for sendmmsg.
59826 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59828         [BZ #13691]
59829         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
59830         with only 1 character between 0x0041 and 0x01b0.
59831         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
59832         * wcsmbs/tst-mbsnrtowcs.c: New file.
59834 2012-03-29  David S. Miller  <davem@davemloft.net>
59836         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
59837         small copies by hand.
59839 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59841         [BZ #13761]
59842         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
59843         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
59844         group memberships.
59846 2012-03-28  David S. Miller  <davem@davemloft.net>
59848         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
59849         that branches into memcpy.
59850         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
59852         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59853         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
59854         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
59855         bits.
59856         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
59857         implementation too.
59858         * sysdeps/sparc/mempcpy.S: New file.
59860         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
59861         the IFUNC routine in the libc case.
59862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
59864         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
59865         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
59866         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
59867         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
59868         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
59869         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
59870         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
59871         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
59873         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
59874         loop to 256 bytes instead of 64 bytes and fix test signedness.
59876         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
59877         * sysdeps/sparc/sparc32/Makefile: rather than here...
59878         * sysdeps/sparc/sparc64/Makefile: and here.
59880 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
59882         * malloc/mallocbug.c: Avoid warnings about unused variables.
59884 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59886         [BZ #13760]
59887         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
59888         in the right place. Discard and retry query if response is
59889         larger than input buffer size.
59891 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
59893         [BZ #369]
59894         [BZ #2678]
59895         [BZ #3866]
59896         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
59897         x for large integer exponent.
59898         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59899         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
59900         sign of result as needed afterwards.
59901         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59902         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
59903         result for underflowing pow the same as for overflow.
59904         (__kernel_standard_l): Handle powl overflow and underflow here
59905         rather than calling __kernel_standard.
59906         * math/libm-test.inc (pow_test): Add more tests.
59908         [BZ #3868]
59909         [BZ #13879]
59910         [BZ #13910]
59911         [BZ #13911]
59912         [BZ #13912]
59913         [BZ #13913]
59914         [BZ #13915]
59915         [BZ #13916]
59916         [BZ #13917]
59917         [BZ #13918]
59918         [BZ #13919]
59919         [BZ #13920]
59920         [BZ #13921]
59921         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
59922         * sysdeps/ieee754/k_standard.c: Include <float.h>.
59923         (__kernel_standard_l): New function.
59924         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
59925         __kernel_standard.
59926         * math/w_acosl.c (__acosl): Likewise.
59927         * math/w_asinl.c (__asinl): Likewise.
59928         * math/w_atan2l.c (__atan2l): Likewise.
59929         * math/w_atanhl.c (__atanhl): Likewise.
59930         * math/w_coshl.c (__coshl): Likewise.
59931         * math/w_exp10l.c (__exp10l): Likewise.
59932         * math/w_exp2l.c (__exp2l): Likewise.
59933         * math/w_fmodl.c (__fmodl): Likewise.
59934         * math/w_hypotl.c (__hypotl): Likewise.
59935         * math/w_j0l.c (__j0l, __y0l): Likewise.
59936         * math/w_j1l.c (__j1l, __y1l): Likewise.
59937         * math/w_jnl.c (__jnl, __ynl): Likewise.
59938         * math/w_lgammal.c (__lgammal): Likewise.
59939         * math/w_log10l.c (__log10l): Likewise.
59940         * math/w_log2l.c (__log2l): Likewise.
59941         * math/w_logl.c (__logl): Likewise.
59942         * math/w_powl.c (__powl): Likewise.
59943         * math/w_remainderl.c (__remainderl): Likewise.
59944         * math/w_scalbl.c (sysv_scalbl): Likewise.
59945         * math/w_sinhl.c (__sinhl): Likewise.
59946         * math/w_sqrtl.c (__sqrtl): Likewise.
59947         * math/w_tgammal.c (__tgammal): Likewise.
59948         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59949         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59950         * math/libm-test.inc (acos_test): Add more tests.
59951         (acosh_test): Likewise.
59952         (asin_test): Likewise.
59953         (atanh_test): Likewise.
59954         (exp_test): Likewise.
59955         (exp10_test): Likewise.
59956         (exp2_test): Likewise.
59957         (expm1_test): Likewise.
59958         (lgamma_test): Likewise.
59959         (log_test): Likewise.
59960         (log10_test): Likewise.
59961         (log1p_test): Likewise.
59962         (log2_test): Likewise.
59963         (pow_test): Do not allow some spurious overflow exceptions.
59964         (sqrt_test): Add more tests.
59965         (tgamma_test): Likewise.
59966         (y0_test): Likewise.
59967         (y1_test): Likewise.
59968         (yn_test): Likewise.
59970 2012-03-27  Anton Blanchard  <anton@samba.org>
59972         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59973         MAP_HUGETLB.
59974         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59975         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59978 2012-03-27  David S. Miller  <davem@davemloft.net>
59980         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59982         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59983         have-as-vis3 check.
59985 2012-03-27  Andreas Jaeger  <aj@suse.de>
59987         * sysdeps/x86_64/elf/configure.in: Moved to ...
59988         * sysdeps/x86_64/configure.in: ... here.
59989         * sysdeps/x86_64/elf/start.S: Moved to ...
59990         * sysdeps/x86_64/start.S: ... here.
59991         * sysdeps/x86_64/elf/configure: Delete.
59993         * sysdeps/x86_64/configure.in: Merge contents from
59994         sysdeps/i386/configure.in (without i686 check).
59996         * sysdeps/i386/elf/Versions: Merge into ...
59997         * sysdeps/i386/Versions: ... this.
59998         * sysdeps/i386/elf/Versions: Delete file.
59999         * sysdeps/i386/elf/start.S: Moved to ...
60000         * sysdeps/i386/start.S: ...here.
60001         * sysdeps/i386/elf/configure.in: Merge into...
60002         * sysdeps/i386/configure.in: ...here.
60003         * sysdeps/i386/elf/configure.in: Delete file.
60004         * sysdeps/i386/elf/configure: Delete file.
60006         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60007         * debug/backtracesyms.c: ... here.
60008         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60009         * debug/backtracesymsfd.c: ... here.
60010         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60011         * sysdeps/generic/ifunc-sel.h: ... here.
60013         * sysdeps/unix/i386/start.c: Delete file.
60014         * sysdeps/unix/sparc/start.c: Delete file.
60015         * sysdeps/unix/start.c: Delete file.
60017         * sysdeps/sh/elf/configure.in: Moved to ...
60018         * sysdeps/sh/configure.in: ... here.
60019         * sysdeps/sh/elf/start.S: Moved to ...
60020         * sysdeps/sh/start.S: ... here.
60021         * sysdeps/sh/elf/configure: Delete file.
60023         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60024         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60025         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60026         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60027         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60028         * sysdeps/powerpc/powerpc64/start.S: here.
60029         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60030         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60031         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60032         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60033         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60035         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60036         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60037         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60038         * sysdeps/powerpc/powerpc32/start.S: ... here.
60039         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60040         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60041         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60043         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60044         * sysdeps/powerpc/ifunc-sel.h: ... here.
60045         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60046         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60048         * sysdeps/sparc/elf/configure.in: Moved to ...
60049         * sysdeps/sparc/configure.in: ... here.
60050         * sysdeps/sparc/elf/configure: Delete file.
60051         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60052         * sysdeps/sparc/sparc32/start.S: ... here.
60053         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60054         * sysdeps/sparc/sparc64/start.S: ... here.
60055         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60056         * sysdeps/sparc/sparc32/Makefile: ... this.
60057         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60058         * sysdeps/sparc/sparc64/Makefile: ... this.
60060         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60061         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60062         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60063         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60064         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60065         * sysdeps/s390/s390-32/setjmp.S: ... here.
60066         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60067         * sysdeps/s390/s390-32/configure.in: ... here.
60068         * sysdeps/s390/s390-32/elf/configure: Delete file.
60069         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60070         * sysdeps/s390/s390-32/start.S: ... here.
60072         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60073         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60074         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60075         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60076         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60077         * sysdeps/s390/s390-64/setjmp.S: ... here.
60078         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60079         * sysdeps/s390/s390-64/configure.in: ... here
60080         * sysdeps/s390/s390-64/elf/configure: Delete file.
60081         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60082         * sysdeps/s390/s390-64/start.S: ... here.
60083         * sysdeps/s390/s390-64/elf/configure: Delete.
60085         * configure.in: Remove support for elf directories in sysdeps.
60087         * configure: Regenerated.
60088         * sysdeps/i386/configure: Regenerated.
60089         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60090         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60091         * sysdeps/s390/s390-32/configure: Regenerated.
60092         * sysdeps/s390/s390-64/configure: Regenerated.
60093         * sysdeps/sh/configure: Regenerated.
60094         * sysdeps/sparc/configure: Regenerated.
60095         * sysdeps/x86_64/configure: Regenerated.
60097 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60101         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60102         denormal result into account.
60104 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60106         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60107         Reported by Allan McRae <allan@archlinux.org>.
60109 2012-03-23  Jeff Law  <law@redhat.com>
60111         * nss/getnssent.c (__nss_getent): Fix typo.
60113 2012-03-23  David S. Miller  <davem@davemloft.net>
60115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60117 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60119         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60120         to pad to uint64_t for each field.
60121         (dl_tls_index): Replace unsigned long with uint64_t.
60123 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60124         Paul Pluzhnikov  <ppluzhnikov@google.com>
60126         [BZ #6528]
60127         * grp/Makefile (otherlibs): Don't set it.
60128         * inet/Makefile (otherlibs): Likewise.
60129         * login/Makefile (otherlibs): Likewise.
60130         * nscd/Makefile (otherlibs): Likewise.
60131         * posix/Makefile (otherlibs): Likewise.
60132         * pwd/Makefile (otherlibs): Likewise.
60133         * rt/Makefile (otherlibs): Likewise.
60134         * sunrpc/Makefile (otherlibs): Likewise.
60135         * nss/Makefile (otherlibs): Likewise.
60136         Add libnss_files to routines and static-only-routines.
60137         ($(objpfx)getent): Remove rule.
60138         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60139         static-only-routines.
60141 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60143         [BZ #13892]
60144         * math/s_cexp.c: Include <float.h>.
60145         (__cexp): Handle exp result overflowing not necessarily
60146         overflowing both real and imaginary parts of result.
60147         * math/s_cexpf.c: Likewise.
60148         * math/s_cexpl.c: Likewise.
60149         * math/libm-test.inc (cexp_test): Add more tests.
60150         * sysdeps/i386/fpu/libm-test-ulps: Update.
60151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60153 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60155         * include/link.h (ELFW): New macro.
60156         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60157         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60159 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60161         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60162         with uint64_t.
60164 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60166         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60167         declaration.
60168         (struct La_x32_retval): Likewise.
60170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60172         * sysdeps/x86_64/preconfigure.in: New file.
60173         * sysdeps/x86_64/preconfigure: New generated file.
60175 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60177         [BZ #13824]
60178         * math/e_exp2l.c: Include <float.h>.
60179         (__ieee754_exp2l): Handle overflow and underflow cases
60180         separately.  Only pass fractional part of argument to
60181         __ieee754_expl.
60182         * math/libm-test.inc (exp2_test): Add more tests.
60184         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60185         negating x to take absolute value.
60186         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60187         Likewise.
60188         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60189         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60190         Likewise.
60191         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60192         computing low part if x was negated.
60193         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60195 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60197         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60198         la_x32_gnu_pltexit.
60199         (pltexit): Cast int_retval to ptrdiff_t.
60200         * elf/tst-auditmod3b.c: Likewise.
60201         * elf/tst-auditmod4b.c: Likewise.
60202         * elf/tst-auditmod5b.c: Likewise.
60203         * elf/tst-auditmod6b.c: Likewise.
60204         * elf/tst-auditmod6c.c: Likewise.
60205         * elf/tst-auditmod7b.c: Likewise.
60207         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60208         and x32_gnu_pltexit.
60210         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60211         __ELF_NATIVE_CLASS.
60212         (La_x32_regs): New macro.
60213         (La_x32_retval): Likewise.
60214         (la_x32_gnu_pltenter): New function prototype.
60215         (la_x32_gnu_pltexit): Likewise.
60217 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60219         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60220         exponent.
60222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60224         * configure.in (libc_cv_cc_nofma): Check for option to disable
60225         generation of FMA instructions.
60226         * configure: Regenerate.
60227         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60228         * sysdeps/ieee754/dbl-64/Makefile: New file.
60229         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60230         Remove brandred-fma4.
60231         (CFLAGS-brandred-fma4.c): Remove.
60232         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60233         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60234         define.
60235         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60236         define.
60238 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60240         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60241         LLONG_MAX != LONG_MAX.
60242         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60243         (_fitoa_word): Likewise.
60244         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60245         LLONG_MAX != LONG_MAX.
60246         * stdio-common/_itowa.h: Include <_itoa.h>.
60247         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60248         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60249         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60250         only if not defined.
60251         (_ITOA_WORD_TYPE): Likewise.
60252         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60253         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60255 2012-03-21  David S. Miller  <davem@davemloft.net>
60257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60259 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60261         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60262         of x86_64 when setting libc_cv_slibdir, libdir and
60263         libc_cv_localedir.
60264         * sysdeps/unix/sysv/linux/configure: Regenerated.
60266 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60268         * manual/lang.texi (Old Varargs): Remove section.
60269         (How Variadic): Update menu.
60270         (va_start): Do not mention varargs.h.
60272 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60273             Joseph Myers  <joseph@codesourcery.com>
60275         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60276         link test.
60277         * configure: Regenerated.
60279 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60281         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60282         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60283         conformtest.pl
60285 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60287         * NOTES: Remove.
60288         * Makefile (files-for-dist): Remove NOTES.
60289         (NOTES): Remove rule.
60290         * README: Don't refer to NOTES.
60291         * manual/creature.texi: Don't include macros.texi.
60292         * manual/intro.texi (creature.texi): Remove comment referring to
60293         NOTES.
60295         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60296         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60297         * configure: Regenerated.
60298         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60299         LIBC_TRY_CC_OPTION.
60300         (libc_cv_as_i686): Likewise.
60301         (libc_cv_cc_avx): Likewise.
60302         (libc_cv_cc_sse2avx): Likewise.
60303         (libc_cv_cc_fma4): Likewise.
60304         (libc_cv_cc_novzeroupper): Likewise.
60305         * sysdeps/i386/configure: Regenerated.
60307         [BZ #13883]
60308         * sysdeps/i386/fpu/s_cexp.S: Remove.
60309         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60310         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60311         * math/libm-test.inc (cexp_test): Add more tests.
60312         * sysdeps/i386/fpu/libm-test-ulps: Update.
60313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60315 2012-03-21  Allan McRae  <allan@archlinux.org>
60317         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60319 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60321         [BZ #13871]
60322         * math/w_exp2.c: Do not include <float.h>.
60323         (o_threshold, u_threshold): Remove.
60324         (__exp2): Calculate result before checking finiteness and calling
60325         __kernel_standard.
60326         * math/w_exp2f.c: Likewise.
60327         * math/w_exp2l.c: Likewise.
60328         * math/libm-test.inc (exp2_test): Require overflow exception for
60329         1e6 input.
60331         [BZ #3866]
60332         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60333         range of signed 64-bit integers before using fistpll.  Remove
60334         checks for whether integers fit in mantissa bits.
60335         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60336         the range of signed 32-bit integers before using fistpl.  Remove
60337         checks for whether integers fit in mantissa bits.
60338         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60339         (__ieee754_powl): Test for y outside the range of signed 64-bit
60340         integers before using fistpll.  Reduce 64-bit values to 63-bit
60341         ones as needed.
60342         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60343         divide-by-zero is raised for zero to large negative powers.
60344         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60345         (__ieee754_powl): Test for y outside the range of signed 64-bit
60346         integers before using fistpll.  Reduce 64-bit values to 63-bit
60347         ones as needed.
60348         * math/libm-test.inc (pow_test): Add more tests.
60350 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60352         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60353         <stdio-common/_itoa.h>.
60354         * debug/segfault.c: Likewise.
60355         * elf/dl-cache.c: Likewise.
60356         * elf/dl-minimal.c: Likewise.
60357         * elf/dl-misc.c: Likewise.
60358         * elf/dl-sysdep.c: Likewise.
60359         * elf/dl-version.c: Likewise.
60360         * elf/rtld.c: Likewise.
60361         * hurd/hurdsock.c: Likewise.
60362         * hurd/lookup-retry.c: Likewise.
60363         * malloc/malloc.c: Likewise.
60364         * malloc/mtrace.c: Likewise.
60365         * nscd/nscd_getgr_r.c: Likewise.
60366         * nscd/nscd_getpw_r.c: Likewise.
60367         * nscd/nscd_getserv_r.c: Likewise.
60368         * posix/getopt_init.c: Likewise.
60369         * posix/wordexp.c: Likewise.
60370         * stdio-common/_itoa.c: Likewise.
60371         * stdio-common/printf_fphex.c: Likewise.
60372         * stdio-common/vfprintf.c: Likewise.
60373         * string/_strerror.c: Likewise.
60374         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60375         * sysdeps/i386/i686/hp-timing.h: Likewise.
60376         * sysdeps/mach/_strerror.c: Likewise.
60377         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60378         * sysdeps/mach/hurd/sethostid.c: Likewise.
60379         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60380         * sysdeps/mach/xpg-strerror.c: Likewise.
60381         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60382         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60383         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60384         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60385         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60386         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60387         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60388         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60389         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60390         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60391         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60392         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60393         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60394         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60395         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60396         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60397         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60398         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60399         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60400         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60401         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60403         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60405         * stdio-common/_itoa.h: Moved to ...
60406         * sysdeps/generic/_itoa.h: Here.
60408         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60410         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60411         instead of "_itoa.h" and "_itowa.h".
60412         * stdio-common/vfprintf.: Likewise.
60414 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60416         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60417         <bits/wordsize.h>.
60418         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60419         (__signbit): Likwise.
60420         (llrintf): Likwise.
60421         (llrint): Likwise.
60423 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60425         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60426         __WORDSIZE != 64.
60428 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60430         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60431         OVERFLOW_EXCEPTION_OK.
60432         * math/libm-test.inc ("Philosophy"): Update comment about
60433         exception testing.
60434         (OVERFLOW_EXCEPTION): Define.
60435         (OVERFLOW_EXCEPTION_OK): Likewise.
60436         (INVALID_EXCEPTION_OK): Renumber.
60437         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60438         (IGNORE_ZERO_INF_SIGN): Likewise.
60439         (test_exceptions): Handle FE_OVERFLOW.
60440         (exp10_test): Expect overflow exceptions.
60441         (exp2_test): Likewise.
60442         (expm1_test): Likewise.
60443         (nextafter_test): Likewise.
60444         (pow_test): Likewise.
60445         (scalbn_test): Likewise.
60446         (scalbln_test): Likewise.
60448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60450         * sysdeps/x86_64/bits/atomic.h
60451         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60452         64bit integer.
60453         (atomic_exchange_acq): Likewise.
60454         (__arch_exchange_and_add_body): Likewise.
60455         (__arch_add_body): Likewise.
60456         (atomic_add_negative): Likewise.
60457         (atomic_add_zero): Likewise.
60459 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60461         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60462         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60464 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60466         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60467         Check __x86_64__ instead of __WORDSIZE.
60469 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60471         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60473 2012-03-19  David S. Miller  <davem@davemloft.net>
60475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60477         * sysdeps/sparc/fpu/fenv_private.h: New file.
60478         * sysdeps/sparc/fpu/math_private.h: Use it.
60479         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60480         Remove.
60481         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60482         (libc_feholdexcept_setroundl): Remove.
60483         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60484         Remove.
60485         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60486         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60488 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60490         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60491         int64_t instead of long int.
60492         (INSERT_WORDS64): Likwise.
60494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60496         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60497         _Unwind_GetCFA return to _Unwind_Ptr first.
60499 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60501         [BZ #13629]
60502         * math/s_clog.c: Include <float.h>.
60503         (__clog): Scale large or subnormal inputs.
60504         * math/s_clogf.c: Likewise.
60505         * math/s_clogl.c: Likewise.
60506         * math/s_clog10.c: Include <float.h>.
60507         (M_LOG10_2): Define.
60508         (__clog10): Scale large or subnormal inputs.
60509         * math/s_clog10f.c: Likewise.
60510         * math/s_clog10l.c: Likewise.
60511         * math/libm-test.inc (clog_test): Add more tests.
60512         (clog10_test): Likewise.
60513         * sysdeps/i386/fpu/libm-test-ulps: Update.
60514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60516         [BZ #11451]
60517         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
60518         x and y.
60519         * math/libm-test.inc (atan2_test): Add another test.
60521         * Makerules (common-objdir-compile): Remove.
60522         * sysdeps/unix/Makefile (config-generated): Do not add
60523         $(unix-generated) to variable.
60524         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
60525         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
60526         Remove rule.
60527         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
60528         Likewise.
60529         [generic bits/local_lim.h] (before-compile): Do not append to
60530         variable.
60531         [generic bits/local_lim.h] (common-generated): Likewise.
60532         [generic sys/param.h] (before-compile): Do not append to variable.
60533         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
60534         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
60535         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
60536         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
60537         include.
60538         [generic sys/param.h] (sys/param.h-includes): Remove variable.
60539         [generic sys/param.h] (sys/param.h-includes): Remove rule.
60540         [generic sys/param.h] ($(addprefix
60541         $(common-objpfx),$(sys/param.h-includes))): Likewise.
60542         [generic sys/param.h] (common-generated): Do not append to
60543         variable.
60544         [generic sys/param.h] (sysdep_headers): Likewise.
60545         [generic bits/errno.h] (before-compile): Do not append to
60546         variable.
60547         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
60548         rule.
60549         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
60550         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
60551         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
60552         [generic bits/errno.h] (common-generated): Do not append to
60553         variable.
60554         [generic bits/ioctls.h] (before-compile): Do not append to
60555         variable.
60556         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
60557         rule.
60558         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
60559         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
60560         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
60561         rule.
60562         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
60563         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
60564         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
60565         [generic bits/ioctls.h] (common-generated): Do not append to
60566         variable.
60567         [generic sys/syscall.h] (syscall.h): Remove variable.
60568         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
60569         rule.
60570         [generic sys/syscall.h] (before-compile): Do not append to
60571         variable.
60572         [generic sys/syscall.h] (common-generated): Likewise.
60573         * sysdeps/unix/errnos-tmpl.c: Remove file.
60574         * sysdeps/unix/errnos.awk: Likewise.
60575         * sysdeps/unix/ioctls-tmpl.c: Likewise.
60576         * sysdeps/unix/ioctls.awk: Likewise.
60577         * sysdeps/unix/mk-local_lim.c: Likewise.
60578         * sysdeps/unix/snarf-ioctls: Likewise.
60580 2012-03-19  Richard Henderson  <rth@twiddle.net>
60582         * sysdeps/i386/fpu/fenv_private.h: New file.
60583         * sysdeps/i386/fpu/math_private.h: Use it.
60584         (math_opt_barrier, math_force_eval): Remove.
60585         (libc_feholdexcept_setround_53bit): Remove.
60586         (libc_feupdateenv_53bit): Remove.
60587         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60588         (math_opt_barrier, math_force_eval): Remove.
60589         (libc_feholdexcept): Remove.
60590         (libc_feholdexcept_setround): Remove.
60591         (libc_fetestexcept, libc_fesetenv): Remove.
60592         (libc_feupdateenv_test): Remove.
60593         (libc_feupdateenv, libc_feholdsetround): Remove.
60594         (libc_feresetround): Remove.
60596         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
60597         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
60599         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
60600         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
60601         (libc_feupdateenv_testl): New.
60602         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
60603         (libc_feupdateenv_testf): New.
60604         (libc_feupdateenv): Use libc_feupdateenv_test.
60605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
60606         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
60608         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
60609         (libc_feholdsetroundf, libc_feholdsetroundl): New.
60610         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
60611         (libc_feresetround_noex): New.
60612         (libc_feresetround_noexf): New.
60613         (libc_feresetround_noexl): New.
60614         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
60615         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
60616         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
60617         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
60618         SET_RESTORE_ROUND.
60619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
60620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
60621         (__cos): Likewise.
60622         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
60623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
60624         SET_RESTORE_ROUND_NOEX.
60625         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
60626         SET_RESTORE_ROUND_NOEXF.
60627         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
60628         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
60629         (libc_feholdsetroundf): New.
60630         (libc_feresetround, libc_feresetroundf): New.
60632         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
60633         (libc_feholdexcept_setround_53bit): Convert from macro to function.
60634         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
60636         * sysdeps/generic/math_private.h: Include <fenv.h>.
60637         (default_libc_feholdexcept): New.
60638         (default_libc_feholdexcept_setround): New.
60639         (default_libc_fesetenv, default_libc_feupdateenv): New.
60640         (libc_feholdexcept): Only define if undefined.
60641         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
60642         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
60643         (libc_feholdexcept_setroundl): Likewise.
60644         (libc_feholdexcept_setround_53bit): Likewise.
60645         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
60646         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
60647         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
60648         (libc_feupdateenv_53bit): Likewise.
60649         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
60650         (libc_feholdexcept): Convert from macro to inline function.
60651         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
60652         (libc_fesetenv, libc_feupdateenv): Likewise.
60654         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
60655         not previously defined.
60656         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
60657         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
60658         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
60659         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
60660         * sysdeps/ieee754/flt-32/math_private.h: New file.
60661         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
60662         math_private.h below SET_FLOAT_WORD.
60663         (__isnan, __isinf_ns, __finite): Remove.
60664         (__isnanf, __isinf_nsf, __finitef): Remove.
60666 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
60668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60670 2012-03-17  David S. Miller  <davem@davemloft.net>
60672         [BZ #6471]
60673         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
60674         for 2.16.
60676 2012-03-16  David S. Miller  <davem@davemloft.net>
60678         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
60679         warnings.
60681         [BZ #6471]
60682         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
60683         properly.
60684         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
60685         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
60686         sysdep_routines when subdir is sysvipc.
60687         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
60688         __getshmlba helper.
60690         * sysdeps/sparc/fpu/libm-test/ulps: Update.
60692 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60694         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
60695         [__LP64__].
60697 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60699         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
60700         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
60701         (__lround): Renamed to ...
60702         (__llround): This.  Replace long int with long long int.
60703         Define lround functions as aliases of llround functions.
60704         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
60706 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60708         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
60709         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
60710         adresses to uintptr_t.  Replace "long int" and "unsigned long
60711         int" with "greg_t" on va_arg.
60713 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60715         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
60716         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
60718         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
60719         Move e_machine check before EI_CLASS check.  Handle x32
60720         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
60721         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
60722         SKIP_EM_IA_64 and include
60723         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
60725         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
60726         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
60727         (add_system_dir): New macro.
60729         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
60730         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
60732 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60734         [BZ #2551]
60735         [BZ #2552]
60736         [BZ #2553]
60737         [BZ #2554]
60738         [BZ #2562]
60739         [BZ #2563]
60740         [BZ #2565]
60741         [BZ #2566]
60742         [BZ #2576]
60743         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
60744         (y0): Likewise.
60745         * math/w_j0f.c (j0f): Likewise.
60746         (y0f): Likewise.
60747         * math/w_j0l.c (__j0l): Likewise.
60748         (__y0l): Likewise.
60749         * math/w_j1.c (j1): Likewise.
60750         (y1): Likewise.
60751         * math/w_j1f.c (j1f): Likewise.
60752         (y1f): Likewise.
60753         * math/w_j1l.c (__j1l): Likewise.
60754         (__y1l): Likewise.
60755         * math/w_jn.c (jn): Likewise.
60756         (yn): Likewise.
60757         * math/w_jnf.c (jnf): Likewise.
60758         (ynf): Likewise.
60759         * math/w_jnl.c (__jnl): Likewise.
60760         (__ynl): Likewise.
60761         * math/libm-test.inc (j0_test): Add more tests.
60762         (j1_test): Likewise.
60763         (jn_test): Likewise.  Add trailing semicolon to existing test.
60764         (y0_test): Likewise.
60765         (y1_test): Likewise.
60766         * sysdeps/i386/fpu/libm-test-ulps: Update.
60767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60769         [BZ #13851]
60770         [BZ #13854]
60771         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
60772         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
60773         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
60774         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
60775         (__tanl): Set errno for infinite argument.
60776         * sysdeps/i386/fpu/mptan.c: Remove.
60777         * sysdeps/i386/fpu/s_tan.S: Likewise.
60778         * sysdeps/i386/fpu/s_tanl.S: Likewise.
60779         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
60780         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
60781         * math/libm-test.inc (tan_test): Add more tests and enable more
60782         tests for double and long double.
60783         * sysdeps/i386/fpu/libm-test-ulps: Update.
60784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60786 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
60788         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
60789         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
60791 2012-03-16  Roland McGrath  <roland@hack.frob.com>
60793         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
60794         * configure.in: Use it for both main tree and add-ons.
60795         * configure: Regenerated.
60797 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
60799         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
60801 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
60803         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
60804         in comment.
60806         [BZ #13851]
60807         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
60808         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
60809         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
60810         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
60811         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
60812         infinite argument.
60813         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
60814         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
60815         != 0 for prec == 2.
60816         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
60817         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
60818         * sysdeps/i386/fpu/s_cosl.S: Likewise.
60819         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
60820         * sysdeps/i386/fpu/s_sinl.S: Likewise.
60821         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
60822         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
60823         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
60824         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
60825         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
60826         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
60827         * math/libm-test.inc (cos_test): Add more tests and enable more
60828         tests for long double.
60829         (sin_test): Likewise.
60830         (sincos_test): Likewise.
60831         * sysdeps/i386/fpu/libm-test-ulps: Update.
60832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60834 2012-03-16  David S. Miller  <davem@davemloft.net>
60836         * sysdeps/sparc/fpu/math_private.h: New file.
60838 2012-03-15  David S. Miller  <davem@davemloft.net>
60840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
60841         file.
60842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
60843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
60844         file.
60845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
60846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
60847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
60848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
60849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
60850         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
60851         sysdep routines.
60852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60854         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
60855         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
60857         * sysdeps/sparc/sparc-ifunc.h: New file.
60858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
60859         sparc-ifunc.h
60860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
60862         Likewise.
60863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
60864         Likewise.
60865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
60866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
60867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60869         Likewise.
60870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
60872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
60874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
60875         Likewise.
60876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
60877         Likewise.
60878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
60880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
60881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
60882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60883         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60884         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
60885         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
60886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
60889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
60890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
60891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
60892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
60893         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
60894         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
60895         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
60896         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
60897         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
60898         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
60899         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
60900         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
60901         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
60903 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60905         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
60906         scaling.
60907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60909 2012-03-15  Andreas Jaeger  <aj@suse.de>
60911         [BZ #13852]
60912         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
60913         ieee754/flt-32 implementation for sin, cos and sincos.
60914         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
60915         * sysdeps/i386/fpu/s_cosf.S: Likewise.
60916         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
60917         * sysdeps/i386/fpu/s_sinf.S: Likewise.
60918         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
60919         ieee754/flt-32 implementation for tan.
60921         * math/libm-test.inc (cos_test): Enable some large input tests for
60922         float as well
60923         (sin_test): Likewise.
60924         (sincos_test): Likewise.
60925         (tan_test): Add tests for large input.
60927         * sysdeps/i386/fpu/libm-test-ulps: Update.
60929 2012-03-15  Andreas Jaeger  <aj@suse.de>
60931         [BZ #13658]
60932         * math/libm-test.inc (cos_test): Add more test cases.
60933         (sin_test): Likewise.
60934         (sincos_test): Likewise.
60936 2012-03-15  Andreas Jaeger  <aj@suse.de>
60938         [BZ #13837]
60939         * math/libm-test.inc (cos_test): Add a test case for large input
60940         value.
60941         (sin_test): Likewise.
60942         (sincos_test): Likewise.
60944 2012-03-15  Andreas Jaeger  <aj@suse.de>
60945             Joseph Myers  <joseph@codesourcery.com>
60947         [BZ #13658]
60948         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60949         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60950         * sysdeps/i386/fpu/branred.c: Likewise.
60951         * sysdeps/i386/fpu/dosincos.c: Likewise.
60952         * sysdeps/i386/fpu/mpa.c: Likewise.
60953         * sysdeps/i386/fpu/s_cos.S: Likewise.
60954         * sysdeps/i386/fpu/s_sin.S: Likewise.
60955         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60956         * sysdeps/i386/fpu/sincos32.c: Likewise.
60958         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60959         Define.
60960         (libc_feupdateenv_53bit): Define.
60961         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60962         Define.
60963         (libc_feupdateenv_53bit): Define.
60965         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60966         53 bit (without extend i386 double precision).
60968         * math/libm-test.inc (sincos_test): Add tests for large input.
60969         (sin): Likewise.
60970         (cos): Likewise.
60972         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60974 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60978 2012-03-15  David S. Miller  <davem@davemloft.net>
60980         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60981         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60982         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60983         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60991         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60996         file.
60997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60999         file.
61000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61002         file.
61003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61005         file.
61006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61007         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61008         fmin/fmax sysdep routines.
61009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61011 2012-03-14  David S. Miller  <davem@davemloft.net>
61013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61016         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61018         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61019         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61020         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61022         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61023         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61028         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61033         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61034         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61035         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61036         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61037         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61038         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61039         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61040         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61042         routines.
61043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61044         file.
61045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61047         file.
61048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61050         file.
61051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61053         file.
61054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61056         file.
61057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61059         file.
61060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61061         file.
61062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61063         file.
61064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61065         file.
61066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61067         New file.
61068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61069         file.
61070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61071         file.
61072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61074         file.
61075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61077         file.
61078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61080         file.
61081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61083         VIS3 routines.
61085         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61086         New file.
61088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61090         * sysdeps/sparc/configure.in: New file.
61091         * sysdeps/sparc/configure: Generate.
61092         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61093         * configure: Regenerate.
61094         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61095         * config.make.in (have-as-vis3): New.
61096         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61097         available use -Av9d instead of -Av9a.
61098         * sysdeps/sparc/sparc64/Makefile: Likewise.
61099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61101         New file.
61102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61103         file.
61104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61105         New file.
61106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61107         file.
61108         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61109         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61110         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61112         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61114         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61115         fzeros/fnegs to load 0x80000000 into a float register instead of
61116         using the stack.
61117         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61119 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61122         bits/syscall.h.
61123         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61124         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61125         ($(inst_includedir)/bits/syscall.h): Remove rule.
61126         ($(objpfx)bits/syscall.d): Include instead of
61127         $(objpfx)syscall-list.d.
61128         (generated): Change syscall-list.h and syscall-list.d to
61129         bits/syscall.h and bits/syscall.d.
61131 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61133         [BZ #13846]
61134         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61136 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61138         [BZ #13841]
61139         * math/s_csqrt.c: Include <float.h>.
61140         (__csqrt): Scale large or subnormal inputs.
61141         * math/s_csqrtf.c: Likewise.
61142         * math/s_csqrtl.c: Likewise.
61143         * math/libm-test.inc (csqrt_test): Add more tests.
61144         * sysdeps/i386/fpu/libm-test-ulps: Update.
61145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61147         [BZ #13840]
61148         * math/libm-test.inc (hypot_test): Add more tests.
61150 2012-03-13  David S. Miller  <davem@davemloft.net>
61152         [BZ #13840]
61153         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61154         double-precision for the calculation instead of scaling.
61156 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61158         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61159         manipulate bits before adding and subtracting TWO52[sx].
61160         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61161         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61162         Likewise.
61163         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61165 2012-03-13  David S. Miller  <davem@davemloft.net>
61167         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61168         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61169         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61170         rtld-global-offsets.h
61171         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61173         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61174         large parameters.
61176         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61178         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61179         'err' in the ifdef scope in which it is actually used.
61181         * nss/nss_db/db-init.c: Include string.h
61183 2012-03-12  David S. Miller  <davem@davemloft.net>
61185         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61186         masking out of the most significant byte of random value used.
61187         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61188         Fix coding style in previous change.
61190         * sysdeps/unix/sysv/linux/kernel-features.h
61191         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61192         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61193         expression.
61194         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61195         later.
61197 2012-03-11  David S. Miller  <davem@davemloft.net>
61199         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61200         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61201         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61202         for 'resultvar' otherwise things get truncated on 64-bit.
61204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61205         Fix masking out of the most significant byte of random value used.
61207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61209 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61213 2012-03-09  David S. Miller  <davem@davemloft.net>
61215         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61216         variables with appropriate CPP guards.
61217         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61218         from the frame pointer, not the stack pointer.  Correct layout
61219         comments.  Fix test on resulting framesize and the management of
61220         the outregs buffer for pltexit.  Preserve floating point return
61221         values across _dl_call_pltexit call.
61222         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61223         framesize and the management of the outregs buffer for pltexit.
61224         Preserve floating point return values across _dl_call_pltexit
61225         call.
61226         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61227         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61228         (la_sparc64_gnu_pltexit): New functions.
61229         (print_exit): Fix format string for return register value.
61231 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61233         * sunrpc/Makefile (others): Add rpcgen.
61234         ($(objpfx)rpcgen): Remove special build rule and dependency on
61235         libc.
61236         * sunrpc/rpcgen.c: New file.
61238 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61240         [BZ #13673]
61241         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61242         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61243         * sysdeps/i386/crti.S: Likewise.
61244         * sysdeps/i386/crtn.S: Likewise.
61245         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61246         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61247         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61248         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61249         * sysdeps/sh/crti.S: Likewise.
61250         * sysdeps/sh/crtn.S: Likewise.
61251         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61253         [BZ #13673]
61254         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61255         with URL.
61256         * locale/programs/locfile-kw.gperf: Likewise.
61257         * locale/programs/charmap-kw.h: Regenerated.
61258         * locale/programs/locfile-kw.h: Likewise.
61260         [BZ #13673]
61261         * intl/plural.y: Replace FSF snail mail address with URL.
61262         * intl/plural.c: Regenerated.
61264 2012-03-09  Richard Henderson  <rth@twiddle.net>
61266         * include/math_private.h: Remove file.
61267         * math/math_private.h: Move file ...
61268         * sysdeps/generic/math_private.h: ... here.
61270         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61271         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61272         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61274         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61275         and <math_private.h>.
61276         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61277         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61278         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61279         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61280         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61281         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61282         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61283         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61284         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61285         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61287         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61288         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61290         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61291         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61292         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61294         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61295         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61297         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61298         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61299         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61300         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61301         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61302         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61303         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61305         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61306         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61307         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61308         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61309         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61310         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61311         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61312         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61313         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61314         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61315         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61316         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61317         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61318         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61319         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61320         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61321         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61322         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61323         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61324         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61325         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61326         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61327         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61328         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61329         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61330         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61331         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61332         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61333         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61334         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61335         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61337         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61339         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61340         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61341         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61342         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61343         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61344         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61345         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61346         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61347         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61348         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61349         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61350         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61351         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61353         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61354         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61355         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61356         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61357         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61359         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61360         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61361         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61362         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61363         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61364         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61365         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61366         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61367         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61368         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61369         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61370         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61371         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61372         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61373         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61374         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61375         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61376         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61377         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61378         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61379         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61380         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61381         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61382         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61383         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61384         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61386         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61387         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61388         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61389         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61390         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61391         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61392         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61393         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61394         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61395         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61396         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61397         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61398         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61399         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61400         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61401         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61402         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61403         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61404         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61405         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61406         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61407         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61408         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61409         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61410         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61411         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61412         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61413         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61414         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61415         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61416         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61417         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61418         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61419         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61420         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61421         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61422         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61423         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61424         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61425         * sysdeps/ieee754/k_standard.c: Likewise.
61426         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61427         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61428         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61429         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61430         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61431         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61432         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61433         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61434         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61435         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61436         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61438         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61439         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61440         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61441         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61442         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61443         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61444         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61445         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61446         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61447         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61448         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61449         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61450         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61451         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61452         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61453         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61454         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61456         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61457         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61458         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61459         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61460         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61461         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61462         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61463         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61464         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61465         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61466         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61467         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61469         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61470         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61471         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61472         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61473         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61474         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61475         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61476         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61477         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61478         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61479         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61480         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61481         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61482         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61483         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61484         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61485         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61486         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61487         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61488         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61489         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61490         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61491         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61492         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61493         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61494         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61495         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61497         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61498         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61499         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61501         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61502         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
61503         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
61504         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61505         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
61506         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
61507         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
61508         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
61509         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
61510         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
61511         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
61512         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
61513         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
61514         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61515         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
61516         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
61517         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
61518         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
61519         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
61520         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
61521         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
61522         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
61523         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
61524         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
61525         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
61526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
61527         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
61528         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
61529         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
61530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
61531         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
61532         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
61533         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
61534         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
61535         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
61536         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
61537         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
61538         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
61539         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
61540         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
61541         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61542         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
61543         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
61544         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
61546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61547         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
61548         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61549         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
61550         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
61551         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
61552         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61553         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
61554         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
61555         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
61556         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61557         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61558         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61559         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61560         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
61561         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
61562         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
61563         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61564         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61565         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
61566         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
61567         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61568         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
61569         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
61570         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
61571         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61572         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61573         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
61574         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
61575         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
61576         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61577         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61578         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
61579         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61580         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
61581         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
61582         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
61583         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
61584         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
61585         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61586         * sysdeps/ieee754/s_lib_version.c: Likewise.
61587         * sysdeps/ieee754/s_matherr.c: Likewise.
61588         * sysdeps/ieee754/s_signgam.c: Likewise.
61589         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61590         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61591         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
61592         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
61593         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
61594         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61595         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
61596         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
61597         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
61598         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
61599         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
61600         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
61601         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
61602         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
61603         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
61604         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61605         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61606         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61607         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61608         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
61609         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
61611 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61613         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
61614         * sunrpc/rpc_main.c: Likewise.
61615         * sunrpc/rpc_svcout.c: Likewise.
61617 2012-03-09  David S. Miller  <davem@davemloft.net>
61619         * include/math_private.h: New file.
61621 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
61623         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
61624         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
61625         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
61626         from <bits/socket_type.h>.
61627         (enum __socket_type): Don't define here.
61628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
61629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61630         bits/socket_type.h.
61632         [BZ #13566]
61633         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
61634         checking __USE_GNU.
61636         * Makerules ($(inst_includedir)/%.h): New rule.
61637         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
61638         (install-others): Remove variable setting.
61639         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
61641 2012-03-08  Richard Henderson  <rth@twiddle.net>
61643         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
61644         from macro to inline function; merge with the
61645         !__LIBC_INTERNAL_MATH_INLINES version.
61646         (__ieee754_sqrtf): Likewise.
61648         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
61649         to inline function.
61650         (__rintf, __floor, __floorf): Likewise.
61652         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
61653         macro to inline function.
61654         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
61656         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
61657         not <math/math_private.h>.
61659 2012-03-08  David S. Miller  <davem@davemloft.net>
61661         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
61662         copyright year.
61663         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
61665 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
61667         * resolv/gai_misc.c (handle_requests): Fix struct timespec
61668         normalization.
61669         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
61670         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
61672 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
61674         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
61675         be defined individually, they must be defined as a block.  Define
61676         S for printing a string instead of hidint the different by using a
61677         macro for adding the 'l'.
61678         * stdio-common/tst-fphex-wide.c: Adjust.
61680 2012-03-07  Marek Polacek  <polacek@redhat.com>
61682         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
61684 2012-03-08  Marek Polacek  <polacek@redhat.com>
61686         [BZ #13806]
61687         * stdio-common/Makefile (tests): Add tst-fphex-wide.
61688         * stdio-common/tst-fphex.c: Define a few macros to make the
61689         test reusable.  Use them.
61690         * stdio-common/tst-fphex-wide.c: New file.
61692 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
61694         [BZ #6911]
61695         * manual/macros.texi (gnusystems): New macro.
61696         (nongnusystems): Likewise.
61697         (gnulinuxhurdsystems): Likewise.
61698         (gnuhurdsystems): Likewise..
61699         (gnulinuxsystems): Likewise.
61700         * manual/charset.texi: Use new macros or @theglibc{} to refer to
61701         variants of the GNU system, not "GNU system".
61702         * manual/conf.texi: Likewise.
61703         * manual/errno.texi: Likewise.  Update example of errno macro
61704         expansion.
61705         * manual/filesys.texi: Likewise.
61706         (getumask): Document as specific to GNU/Hurd.
61707         * manual/install.texi: Likewise.  Reword some references to
61708         GNU/Linux.
61709         * manual/intro.texi: Likewise.
61710         * manual/io.texi: Likewise.
61711         (File Name Portability): Detail which constraints are inapplicable
61712         to all GNU systems and which are only inapplicable to GNU/Hurd.
61713         * manual/job.texi: Likewise.
61714         * manual/llio.texi: Likewise.
61715         (O_NOCTTY): Document as present on GNU/Linux.
61716         * manual/maint.texi: Likewise.
61717         * manual/memory.texi: Likewise.
61718         * manual/pattern.texi: Likewise.
61719         * manual/pipe.texi: Likewise.
61720         * manual/process.texi: Likewise.
61721         * manual/resource.texi: Likewise.
61722         (RUSAGE_CHILDREN): Remove statement about specifying a particular
61723         child on GNU/Hurd.
61724         * manual/setjmp.texi: Likewise.
61725         * manual/signal.texi: Likewise.
61726         * manual/startup.texi: Likewise.
61727         * manual/stdio.texi: Likewise.
61728         * manual/terminal.texi: Likewise.
61729         (ONLCR): Document as POSIX.
61730         (OXTABS): Document availability on GNU/Linux as XTABS.
61731         (ONOEOT): Document availability separately from other bits.
61732         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
61733         * manual/time.texi: Likewise.
61734         * manual/users.texi: Likewise.
61735         * INSTALL: Regenerated.
61736         * sysdeps/gnu/errlist.c: Regenerated.
61738         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
61739         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
61740         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
61741         puts.
61742         * configure: Regenerated.
61744 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
61746         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
61747         default includes instead of AC_HEADER_CHECK.
61748         * sysdeps/i386/configure: Regenerated.
61750         [BZ #10716]
61751         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
61752         * math/s_cacoshf.c (__cacoshf): Likewise.
61753         * math/s_cacoshl.c (__cacoshl): Likewise.
61754         * math/s_casinh.c (__casinh): Set signs of result from argument.
61755         * math/s_casinhf.c (__casinhf): Likewise.
61756         * math/s_casinhl.c (__casinhl): Likewise.
61757         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
61758         (casinh_test): Add more tests.
61759         * sysdeps/i386/fpu/libm-test-ulps: Update.
61760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61762 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
61764         * po/zh_TW.po: Update from translation team.
61766         * login/Makefile (distribute): Remove variable.
61767         * catgets/Makefile: Likewise.
61768         * mach/Makefile: Likewise.
61769         * malloc/Makefile: Likewise.
61770         * misc/Makefile: Likewise.
61771         * iconv/Makefile: Likewise.
61772         * nscd/Makefile: Likewise.
61773         * hurd/Makefile: Likewise.
61774         * manual/Makefile: Likewise.
61775         * locale/Makefile: Likewise.
61776         * intl/Makefile: Likewise.
61777         * conform/Makefile: Likewise.
61778         * nss/Makefile: Likewise.
61779         * time/Makefile: Likewise.
61780         * soft-fp/Makefile: Likewise.
61781         * dirent/Makefile: Likewise.
61782         * gmon/Makefile: Likewise.
61783         * po/Makefile: Likewise.
61784         * rt/Makefile: Likewise.
61785         * socket/Makefile: Likewise.
61786         * math/Makefile: Likewise.
61787         * signal/Makefile: Likewise.
61788         * debug/Makefile: Likewise.
61789         * elf/Makefile: Likewise.
61790         * timezone/Makefile: Likewise.
61791         * stdlib/Makefile: Likewise.
61792         * iconvdata/Makefile: Likewise.
61793         * sunrpc/Makefile: Likewise.
61794         * io/Makefile: Likewise.
61795         * argp/Makefile: Likewise.
61796         * inet/Makefile: Likewise.
61797         * hesiod/Makefile: Likewise.
61798         * grp/Makefile: Likewise.
61799         * csu/Makefile: Likewise.
61800         * wctype/Makefile: Likewise.
61801         * crypt/Makefile: Likewise.
61802         * libio/Makefile: Likewise.
61803         * string/Makefile: Likewise.
61804         * nis/Makefile: Likewise.
61805         * resolv/Makefile: Likewise.
61806         * stdio-common/Makefile: Likewise.
61807         * wcsmbs/Makefile: Likewise.
61808         * dlfcn/Makefile: Likewise.
61809         * posix/Makefile: Likewise.
61811         [BZ #6959]
61812         * timezone/Makefile: Don't install timezone files, just the programs
61813         and scripts.
61815 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
61817         * nss/databases.def: Add missing gshadow entry.
61819         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
61821 2012-03-06  Marek Polacek  <polacek@redhat.com>
61823         [BZ #13726]
61824         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
61825         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61826         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
61827         * stdio-common/tst-long-dbl-fphex.c: New file.
61829 2012-03-06  David S. Miller  <davem@davemloft.net>
61831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61832         (set_obp_int): New function.
61833         (get_obp_int): New function.
61834         (__get_clockfreq_via_dev_openprom): Likewise.
61835         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
61836         Avoid unused variable warnings on 'val' and use builtin_expect.
61837         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
61838         __builtin_expect.
61839         (INLINE_CLONE_SYSCALL): Likewise.
61841 2012-03-05  David S. Miller  <davem@davemloft.net>
61843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61845 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
61847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61849         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
61850         only for |x| >= 40.
61851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
61853 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
61855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
61856         Replace gettimeofday with __vdso_gettimeofday.
61858         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61859         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
61860         __vdso_clock_gettime and __vdso_getcpu.
61862         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
61863         time with __vdso_time.
61865 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61867         * manual/lang.texi (size_t): Note types to which size_t may be
61868         equivalent with the GNU C Library, but do not describe when
61869         differences between them are significant.
61871 2012-03-05  Andreas Jaeger  <aj@suse.de>
61873         * sysdeps/i386/fpu/libm-test-ulps: Update.
61875 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
61877         [BZ #3976]
61878         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
61879         (__ieee754_pow): Save and restore rounding mode and use
61880         round-to-nearest for main computations.
61881         * math/libm-test.inc (pow_test_tonearest): New function.
61882         (pow_test_towardzero): Likewise.
61883         (pow_test_downward): Likewise.
61884         (pow_test_upward): Likewise.
61885         (main): Call the new functions.
61886         * sysdeps/i386/fpu/libm-test-ulps: Update.
61887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61889         [BZ #3976]
61890         * math/libm-test.inc (cosh_test_tonearest): New function.
61891         (cosh_test_towardzero): Likewise.
61892         (cosh_test_downward): Likewise.
61893         (cosh_test_upward): Likewise.
61894         (sinh_test_tonearest): Likewise.
61895         (sinh_test_towardzero): Likewise.
61896         (sinh_test_downward): Likewise.
61897         (sinh_test_upward): Likewise.
61898         (main): Call the new functions.
61899         * sysdeps/i386/fpu/libm-test-ulps: Update.
61900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61902 2012-03-05  Tom de Vries  <tom@codesourcery.com>
61904         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
61905         default stack guard is set in last bytes.
61906         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
61908 2012-03-05  Kees Cook  <keescook@chromium.org>
61910         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
61912         [BZ #13656]
61913         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
61914         possibly allocate from heap instead of stack.
61915         * stdio-common/bug-vfprintf-nargs.c: New file.
61916         * stdio-common/Makefile (tests): Add nargs overflow test.
61918 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
61920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61922 2012-03-03  Marek Polacek  <polacek@redhat.com>
61924         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
61925         * math/math_private.h: Likewise.
61926         * stdlib/tst-strtod.c: Likewise.
61927         * sysdeps/i386/i486/bits/atomic.h: Likewise.
61928         * sysdeps/x86_64/bits/atomic.h: Likewise.
61930 2012-03-02  David S. Miller  <davem@davemloft.net>
61932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
61933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
61934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
61935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
61936         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61937         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61938         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61939         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61941 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61943         [BZ #13792]
61944         * manual/examples/README: New file, says the example source files
61945         can be used under GPL>=2.
61946         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61947         line containing just "*/".
61948         * manual/examples/add.c: Add copyright header (GPL>=2).
61949         * manual/examples/argp-ex1.c: Likewise.
61950         * manual/examples/argp-ex2.c: Likewise.
61951         * manual/examples/argp-ex3.c: Likewise.
61952         * manual/examples/argp-ex4.c: Likewise.
61953         * manual/examples/atexit.c: Likewise.
61954         * manual/examples/db.c: Likewise.
61955         * manual/examples/dir.c: Likewise.
61956         * manual/examples/dir2.c: Likewise.
61957         * manual/examples/execinfo.c: Likewise.
61958         * manual/examples/filecli.c: Likewise.
61959         * manual/examples/filesrv.c: Likewise.
61960         * manual/examples/fmtmsgexpl.c: Likewise.
61961         * manual/examples/genpass.c: Likewise.
61962         * manual/examples/inetcli.c: Likewise.
61963         * manual/examples/inetsrv.c: Likewise.
61964         * manual/examples/isockad.c: Likewise.
61965         * manual/examples/longopt.c: Likewise.
61966         * manual/examples/memopen.c: Likewise.
61967         * manual/examples/memstrm.c: Likewise.
61968         * manual/examples/mkfsock.c: Likewise.
61969         * manual/examples/mkisock.c: Likewise.
61970         * manual/examples/mygetpass.c: Likewise.
61971         * manual/examples/pipe.c: Likewise.
61972         * manual/examples/popen.c: Likewise.
61973         * manual/examples/rprintf.c: Likewise.
61974         * manual/examples/search.c: Likewise.
61975         * manual/examples/select.c: Likewise.
61976         * manual/examples/setjmp.c: Likewise.
61977         * manual/examples/sigh1.c: Likewise.
61978         * manual/examples/sigusr.c: Likewise.
61979         * manual/examples/stpcpy.c: Likewise.
61980         * manual/examples/strdupa.c: Likewise.
61981         * manual/examples/strftim.c: Likewise.
61982         * manual/examples/strncat.c: Likewise.
61983         * manual/examples/subopt.c: Likewise.
61984         * manual/examples/swapcontext.c: Likewise.
61985         * manual/examples/termios.c: Likewise.
61986         * manual/examples/testopt.c: Likewise.
61987         * manual/examples/testpass.c: Likewise.
61988         * manual/examples/timeval_subtract.c: Likewise.
61990         [BZ #13792]
61991         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61992         function to ...
61993         * manual/timeval_subtract.c.texi: ... here, new file.
61995 2012-03-02  David S. Miller  <davem@davemloft.net>
61997         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61999 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62001         [BZ #3976]
62002         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62003         (__sin): Save and restore rounding mode and use round-to-nearest
62004         for all computations.
62005         (__cos): Save and restore rounding mode and use round-to-nearest
62006         for all computations.
62007         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62008         <fenv.h>.
62009         (tan): Save and restore rounding mode and use round-to-nearest for
62010         all computations.
62011         * math/libm-test.inc (cos_test_tonearest): New function.
62012         (cos_test_towardzero): Likewise.
62013         (cos_test_downward): Likewise.
62014         (cos_test_upward): Likewise.
62015         (sin_test_tonearest): Likewise.
62016         (sin_test_towardzero): Likewise.
62017         (sin_test_downward): Likewise.
62018         (sin_test_upward): Likewise.
62019         (tan_test_tonearest): Likewise.
62020         (tan_test_towardzero): Likewise.
62021         (tan_test_downward): Likewise.
62022         (tan_test_upward): Likewise.
62023         (main): Call the new functions.
62024         * sysdeps/i386/fpu/libm-test-ulps: Update.
62025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62027         [BZ #10135]
62028         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62029         small n, then large n, before computing and testing k+n.
62030         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62031         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62032         Likewise.
62033         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62034         Likewise.
62035         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62036         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62037         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62038         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62039         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62040         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62041         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62042         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62043         * math/libm-test.inc (scalbn_test): Add more tests.
62044         (scalbln_test): Likewise.
62046         * manual/filesys.texi (mode_t): Describe constraints on size and
62047         signedness, not exact equivalence to a particular type.
62048         (ino_t): Likewise.
62049         (ino64_t): Likewise.
62050         (dev_t): Likewise.
62051         (nlink_t): Likewise.
62052         (blkcnt_t): Likewise.
62053         (blkcnt64_t): Likewise.
62054         * manual/llio.texi (off_t): Likewise.
62056         [BZ #3976]
62057         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62058         (__ieee754_exp): Save and restore rounding mode and use
62059         round-to-nearest for all computations.
62060         * math/libm-test.inc (exp_test_tonearest): New function.
62061         (exp_test_towardzero): Likewise.
62062         (exp_test_downward): Likewise.
62063         (exp_test_upward): Likewise.
62064         (main): Call the new functions.
62065         * sysdeps/i386/fpu/libm-test-ulps: Update.
62066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62068 2012-03-01  Chris Demetriou  <cgd@google.com>
62070         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62071         have predictable order.
62073 2012-03-01  David S. Miller  <davem@davemloft.net>
62075         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62077         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62078         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62079         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62080         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62082         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62083         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62084         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62086         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62087         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62088         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62089         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62090         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62094         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62095         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62096         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62098         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62099         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62100         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62101         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62102         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62103         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62104         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62105         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62106         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62107         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62108         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62109         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62110         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62111         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62112         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62114         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62115         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62116         * sysdeps/sparc/elf/configure: Regenerated.
62118 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62120         * configure.in (AS, LD): Require binutils 2.20 or later.
62121         * configure: Regenerated.
62122         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62123         as required minimum version.
62124         * INSTALL: Regenerated.
62126         [BZ #2541]
62127         [BZ #4108]
62128         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62129         before squaring exponent.
62130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62131         bottom long double and 27 bits of top long double before squaring
62132         exponent.
62133         * math/libm-test.inc (erfc_test): Add more tests.
62134         * sysdeps/i386/fpu/libm-test-ulps: Update.
62135         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62138 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62140         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62141         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62142         containing bit-fields.
62143         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62144         * soft-fp/single.h (_FP_UNION_S): Likewise.
62145         * soft-fp/double.h (_FP_UNION_D): Likewise.
62147 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62149         [BZ #13786]
62150         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62151         not include ../strcmp.S.
62152         [USE_AS_STRNCASECMP_L]: Likewise.
62153         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62154         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62155         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62156         (__strncasecmp_l_ia32): Define as alias to
62157         __strncasecmp_l_nonascii.
62159         [BZ #5794]
62160         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62161         * sysdeps/i386/fpu/libm-test-ulps: Update.
62162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62164         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62167 2012-02-29  Jeff Law  <law@redhat.com>
62169         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62170         out of bounds read.
62172 2012-02-29  Marek Polacek  <polacek@redhat.com>
62174         [BZ #13706]
62175         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62176         * elf/Makefile: Add rules to run tst-unused-dep.out.
62178 2012-02-28  David S. Miller  <davem@davemloft.net>
62180         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62181         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62182         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62183         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62184         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62185         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62187 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62189         * math/libm-test.inc (llround_test): Move one test from
62190         lround_test.  Use TEST_f_L in moved test.
62191         (lround_test): Move misplaced test to llround_test.  Add testcase
62192         from bug 2561.
62194 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62196         * sysdeps/x86_64/fpu/e_expf.S: New file.
62197         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62199 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62201         [BZ #13637]
62202         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62203         of remain_len that may cause incomplete multi-byte character and
62204         false match.
62205         * posix/bug-regex33.c: New file.
62206         * posix/Makefile (tests): Add bug-regex33.
62208 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62210         * manual/macros.texi: New file.
62211         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62212         * manual/libc.texinfo: Include macros.texi.
62213         * manual/creatute.texi: Likewise.
62214         * manual/install.texi: Likewise.
62215         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62216         @glibcadj{} in references to the GNU C Library.
62217         * manual/charset.texi: Likewise.
62218         * manual/conf.texi: Likewise.
62219         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62220         when not using those macros.
62221         * manual/creature.texi: Likewise.
62222         * manual/crypt.texi: Likewise.
62223         * manual/errno.texi: Likewise.
62224         * manual/filesys.texi: Likewise.
62225         * manual/header.texi: Likewise.
62226         * manual/install.texi: Likewise.
62227         * manual/intro.texi: Likewise.
62228         * manual/io.texi: Likewise.
62229         * manual/job.texi: Likewise.
62230         * manual/lang.texi: Likewise.
62231         * manual/libc.texiinfo: Likewise.
62232         * manual/llio.texi: Likewise.
62233         * manual/locale.texi: Likewise.
62234         * manual/maint.texi: Likewise.
62235         * manual/math.texi: Likewise.
62236         * manual/memory.texi: Likewise.
62237         * manual/message.texi: Likewise.
62238         * manual/nss.texi: Likewise.
62239         * manual/pattern.texi: Likewise.
62240         * manual/process.texi: Likewise.
62241         * manual/resource.texi: Likewise.
62242         * manual/search.texi: Likewise.
62243         * manual/setjmp.texi: Likewise.
62244         * manual/signal.texi: Likewise.
62245         * manual/socket.texi: Likewise.
62246         * manual/startup.texi: Likewise.
62247         * manual/stdio.texi: Likewise.
62248         * manual/string.texi: Likewise.
62249         * manual/sysinfo.texi: Likewise.
62250         * manual/syslog.texi: Likewise.
62251         * manual/terminal.texi: Likewise.
62252         * manual/time.texi: Likewise.
62253         * manual/users.texi: Likewise.
62254         * INSTALL: Regenerated.
62255         * NOTES: Regenerated.
62256         * sysdeps/gnu/errlist.c: Regenerated.
62258 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62260         * include/dirent.h: Include <dirstream.h> before
62261         <dirent/dirent.h>.
62263 2012-02-28  David S. Miller  <davem@davemloft.net>
62265         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62266         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62267         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62268         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62270 2012-02-27  David S. Miller  <davem@davemloft.net>
62272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62274         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62275         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62278         frame pointer instead of stack pointer relative arg slot.
62279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62280         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62281         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62283 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62285         [BZ #3992]
62286         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62288 2012-02-27  David S. Miller  <davem@davemloft.net>
62290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62294         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62295         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62296         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62297         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62299 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62301         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62302         later.  Allow versions 5-9.
62303         * configure: Regenerated.
62304         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62305         required minimum version and 4.6 as recommended version.  Do not
62306         mention bugs in GCC 2.7 and 2.8.
62307         * INSTALL: Regenerated.
62309 2012-02-27  David S. Miller  <davem@davemloft.net>
62311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62315         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62316         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62317         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62318         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62320         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62321         manipulate bits before adding and subtracting TWO112[sx].
62322         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62324 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62326         [BZ #13775]
62327         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62328         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62329         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62330         being in POSIX, because they are in 1003.1-2008.
62332         * rt/tst-aio.c: Include <fcntl.h>.
62333         * rt/tst-aio7.c: Likewise.
62334         * rt/tst-aio64.c: Likewise.
62336         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62338 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62340         * manual/install.texi (--with-headers): Describe headers as
62341         interface headers, not private headers.
62342         (Specific advice for GNU/Linux systems): Describe use of headers
62343         from "make headers_install", not private headers from older
62344         kernels.
62345         * INSTALL: Regenerated.
62346         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62347         Change to 2.6.19.
62348         * sysdeps/unix/sysv/linux/configure: Regenerated.
62350         * manual/llio.texi (fclean): Remove documentation.
62352         * manual/Makefile (libc-texi-generated): New variable.  Include
62353         version.texi.
62354         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62355         $(libc-texi-generated), not duplicated list of files.
62356         (version.texi, stamp-version): New rules.
62357         (realclean): Remove $(libc-texi-generated), not individual files
62358         from that list.  Do not remove dir-add.texinfo.
62359         * manual/libc.texinfo: Comment out uses of edition numbers and
62360         references to printed manual.  Remove last-updated dates.
62361         (EDITION): Comment out.
62362         (ISBN): Likewise.
62363         (VERSION, UPDATED): Remove.
62364         (version.texi): Include.
62366 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62368         * sysdeps/posix/spawni.c: Include <signal.h>.
62369         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62370         * sysdeps/pthread/aio_fsync.c: Likewise.
62372 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62374         * conform/Makefile (tests): Run only when not cross-compiling and
62375         when fast-check is not defined.
62377         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62378         * conform/data/limits.h-data: Fixes for POSIX2008.
62379         * conform/run-conformtest.sh: Run all tests.
62380         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62381         headers.
62382         * include/bits/dlfcn.h: Likewise.
62383         * include/langinfo.h: Likewise.
62384         * include/monetary.h: Likewise.
62385         * include/sys/poll.h: Likewise.
62387         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62388         for __USE_GNU.
62389         * posix/spawn.h: Define __need_sigset_t.
62390         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62391         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62392         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62393         to get sigevent_t only.
62394         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62395         only for __USE_GNU.
62396         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62397         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62398         process_vm_writev only for __USE_GNU.
62399         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62401         * conform/Makefile: For now ignore errors from run-conformtest.
62402         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62403         POSIX to avoid namespace pollution.  Don't prepend headers.
62404         * conform/data/aio.h-data: Fixes for POSIX testing.
62405         * conform/data/fcntl.h-data: Likewise.
62406         * conform/data/glob.h-data: Likewise.
62407         * conform/data/grp.h-data: Likewise.
62408         * conform/data/pthread.h-data: Likewise.
62409         * conform/data/pwd.h-data: Likewise.
62410         * conform/data/signal.h-data: Likewise.
62411         * conform/data/spawn.h-data: Likewise.
62412         * conform/data/stdio.h-data: Likewise.
62413         * conform/data/stdlib.h-data: Likewise.
62414         * conform/data/stropts.h-data: Likewise.
62415         * conform/data/sys/mman.h-data: Likewise.
62416         * conform/data/sys/stat.h-data: Likewise.
62417         * conform/data/sys/types.h-data: Likewise.
62418         * conform/data/sys/wait.h-data: Likewise.
62419         * conform/data/time.h-data: Likewise.
62420         * conform/data/unistd.h-data: Likewise.
62421         * conform/data/utime.h-data: Likewise.
62423         * io/sys/stat.h: fchmod was always in POSIX.
62424         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62425         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62426         * rt/aio.h: Define __need_timespec before including <time.h>.
62427         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62428         struct.  Add forward declaration of pthread_attr_t and use it in
62429         sigevent.
62430         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62431         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62432         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62433         always remove CLK_TCK definition.
62435 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62437         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62439 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62441         * conform/run-conformtest.sh: New file.
62442         * conform/Makefile: Run run-conformtest for tests.
62443         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62444         support.
62446         * conform/data/uchar.h-data: New file.
62447         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62448         * conform/data/arpa/inet.h-data: Likewise.
62449         * conform/data/assert.h-data: Likewise.
62450         * conform/data/complex.h-data: Likewise.
62451         * conform/data/cpio.h-data: Likewise.
62452         * conform/data/ctype.h-data: Likewise.
62453         * conform/data/dirent.h-data: Likewise.
62454         * conform/data/dlfcn.h-data: Likewise.
62455         * conform/data/errno.h-data: Likewise.
62456         * conform/data/fcntl.h-data: Likewise.
62457         * conform/data/float.h-data: Likewise.
62458         * conform/data/fmtmsg.h-data: Likewise.
62459         * conform/data/fnmatch.h-data: Likewise.
62460         * conform/data/ftw.h-data: Likewise.
62461         * conform/data/glob.h-data: Likewise.
62462         * conform/data/grp.h-data: Likewise.
62463         * conform/data/iconv.h-data: Likewise.
62464         * conform/data/inttypes.h-data: Likewise.
62465         * conform/data/langinfo.h-data: Likewise.
62466         * conform/data/libgen.h-data: Likewise.
62467         * conform/data/limits.h-data: Likewise.
62468         * conform/data/locale.h-data: Likewise.
62469         * conform/data/math.h-data: Likewise.
62470         * conform/data/monetary.h-data: Likewise.
62471         * conform/data/mqueue.h-data: Likewise.
62472         * conform/data/ndbm.h-data: Likewise.
62473         * conform/data/net/if.h-data: Likewise.
62474         * conform/data/netdb.h-data: Likewise.
62475         * conform/data/netinet/in.h-data: Likewise.
62476         * conform/data/nl_types.h-data: Likewise.
62477         * conform/data/poll.h-data: Likewise.
62478         * conform/data/pthread.h-data: Likewise.
62479         * conform/data/pwd.h-data: Likewise.
62480         * conform/data/regex.h-data: Likewise.
62481         * conform/data/sched.h-data: Likewise.
62482         * conform/data/search.h-data: Likewise.
62483         * conform/data/semaphore.h-data: Likewise.
62484         * conform/data/setjmp.h-data: Likewise.
62485         * conform/data/signal.h-data: Likewise.
62486         * conform/data/spawn.h-data: Likewise.
62487         * conform/data/stdarg.h-data: Likewise.
62488         * conform/data/stdio.h-data: Likewise.
62489         * conform/data/stdlib.h-data: Likewise.
62490         * conform/data/string.h-data: Likewise.
62491         * conform/data/strings.h-data: Likewise.
62492         * conform/data/stropts.h-data: Likewise.
62493         * conform/data/sys/ipc.h-data: Likewise.
62494         * conform/data/sys/mman.h-data: Likewise.
62495         * conform/data/sys/msg.h-data: Likewise.
62496         * conform/data/sys/resource.h-data: Likewise.
62497         * conform/data/sys/select.h-data: Likewise.
62498         * conform/data/sys/sem.h-data: Likewise.
62499         * conform/data/sys/shm.h-data: Likewise.
62500         * conform/data/sys/socket.h-data: Likewise.
62501         * conform/data/sys/stat.h-data: Likewise.
62502         * conform/data/sys/statvfs.h-data: Likewise.
62503         * conform/data/sys/time.h-data: Likewise.
62504         * conform/data/sys/timeb.h-data: Likewise.
62505         * conform/data/sys/times.h-data: Likewise.
62506         * conform/data/sys/types.h-data: Likewise.
62507         * conform/data/sys/uio.h-data: Likewise.
62508         * conform/data/sys/un.h-data: Likewise.
62509         * conform/data/sys/utsname.h-data: Likewise.
62510         * conform/data/sys/wait.h-data: Likewise.
62511         * conform/data/syslog.h-data: Likewise.
62512         * conform/data/tar.h-data: Likewise.
62513         * conform/data/termios.h-data: Likewise.
62514         * conform/data/utime.h-data: Likewise.
62515         * conform/data/utmpx.h-data: Likewise.
62516         * conform/data/varargs.h-data: Likewise.
62517         * conform/data/wchar.h-data: Likewise.
62518         * conform/data/wctype.h-data: Likewise.
62519         * conform/data/wordexp.h-data: Likewise.
62521         * include/stropts.h: New file.
62522         * include/uchar.h: New file.
62523         * include/aio.h: Changes to allow conformtest.pl to use the headers.
62524         * include/assert.h: Likewise.
62525         * include/ctype.h: Likewise.
62526         * include/dirent.h: Likewise.
62527         * include/dlfcn.h: Likewise.
62528         * include/fcntl.h: Likewise.
62529         * include/fnmatch.h: Likewise.
62530         * include/glob.h: Likewise.
62531         * include/grp.h: Likewise.
62532         * include/libio.h: Likewise.
62533         * include/locale.h: Likewise.
62534         * include/math.h: Likewise.
62535         * include/net/if.h: Likewise.
62536         * include/netdb.h: Likewise.
62537         * include/netinet/in.h: Likewise.
62538         * include/pthread.h: Likewise.
62539         * include/pwd.h: Likewise.
62540         * include/regex.h: Likewise.
62541         * include/sched.h: Likewise.
62542         * include/search.h: Likewise.
62543         * include/setjmp.h: Likewise.
62544         * include/signal.h: Likewise.
62545         * include/stdio.h: Likewise.
62546         * include/stdlib.h: Likewise.
62547         * include/string.h: Likewise.
62548         * include/sys/cdefs.h: Likewise.
62549         * include/sys/mman.h: Likewise.
62550         * include/sys/msg.h: Likewise.
62551         * include/sys/resource.h: Likewise.
62552         * include/sys/select.h: Likewise.
62553         * include/sys/socket.h: Likewise.
62554         * include/sys/stat.h: Likewise.
62555         * include/sys/statvfs.h: Likewise.
62556         * include/sys/time.h: Likewise.
62557         * include/sys/times.h: Likewise.
62558         * include/sys/uio.h: Likewise.
62559         * include/sys/utsname.h: Likewise.
62560         * include/sys/wait.h: Likewise.
62561         * include/termios.h: Likewise.
62562         * include/time.h: Likewise.
62563         * include/ulimit.h: Likewise.
62564         * include/unistd.h: Likewise.
62565         * include/utime.h: Likewise.
62566         * include/wchar.h: Likewise.
62567         * include/wctype.h: Likewise.
62568         * include/wordexp.h: Likewise.
62570         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
62572         * time/time.h: TIME_UTC must be a macro.
62573         Make timespec_get available for ISO C11 only as well.
62575 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
62577         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
62578         Reported by Peng Haitao <penght@cn.fujitsu.com>.
62580 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62582         * configure.in: Use -o not -a in test for unsupported multi-arch.
62584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62586         * manual/texinfo.tex: Update to version 2012-01-19.16.
62588 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
62590         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
62592 2012-02-24  Roland McGrath  <roland@hack.frob.com>
62594         [BZ #13738]
62595         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
62596         * manual/fdl-1.3.texi: New file.
62597         * manual/fdl-1.1.texi: File removed.
62599         [BZ #13738]
62600         * manual/libc.texinfo (FDL_VERSION): New @set.
62601         Use it for mention of FDL in cover text.
62602         (Documentation License): Use it in @include file name.
62604 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62605             Roland McGrath  <roland@hack.frob.com>
62607         [BZ #5461]
62608         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
62609         (not LONG_LONG_MAX and LONG_LONG_MIN.
62610         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
62611         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
62612         name.
62613         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
62615 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62617         [BZ #2547]
62618         [BZ #11365]
62619         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
62620         manipulate bits before adding and subtracting TWO23[sx].
62621         * math/libm-test.inc (nearbyint_test): Add more tests.
62623 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62625         [BZ #2548]
62626         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
62627         bits before adding and subtracting TWO23[sx].
62628         * math/libm-test.inc (rint_test): Add more tests.
62629         (rint_test_tonearest): Likewise.
62630         (rint_test_towardzero): Likewise.
62631         (rint_test_downward): Likewise.
62632         (rint_test_upward: Likewise.
62634 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62636         [BZ #10110]
62637         * include/stdc-predef.h: New file.  Extracted from features.h.
62638         * include/features.h: Include stdc-predef.h.
62639         * Makefile (headers): Add stdc-predef.h.
62640         * CONFORMANCE (Compiler limitations): Update.
62642 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
62644         * manual/libc.texinfo (VERSION, UPDATED): Revert.
62646 2012-02-21  David S. Miller  <davem@davemloft.net>
62648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
62649         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62651 2012-02-20  David S. Miller  <davem@davemloft.net>
62653         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
62654         using a normal save/restore sequence, rather than allocating a
62655         dummy stack frame just to store a frame pointer and restore.
62656         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62658 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62660         * manual/install.texi: Fix stray word in line-wrapped comment.
62662 2012-02-20  David S. Miller  <davem@davemloft.net>
62664         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
62665         both binutils and gcc support GOTDATA.
62667         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
62668         "rd %pc" in the PIC register setup sequences.
62670         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
62671         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
62672         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62673         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
62674         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62675         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62676         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62677         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
62679         (SYSCALL_ERROR_HANDLER): Likewise.
62680         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
62683         (SYSCALL_ERROR_HANDLER): Likewise.
62685         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
62686         (HAVE_GCC_GOTDATA): New.
62687         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
62688         relocation support in both binutils and gcc.
62689         * sysdeps/sparc/elf/configure: Regenerate.
62691         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
62692         * sysdeps/sparc/sparc32/elf/configure: Delete.
62693         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
62694         * sysdeps/sparc/sparc64/elf/configure: Delete.
62695         * sysdeps/sparc/elf/configure.in: New file.
62696         * sysdeps/sparc/elf/configure: Generate.
62698         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
62699         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
62700         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62701         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
62702         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
62704 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62706         * manual/install.texi: Do not mention specific glibc version
62707         numbers.
62708         * manual/libc.texinfo (VERSION, UPDATED): Update.
62709         (@copying): Use @copyright{} and range of years.
62711 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
62713         [BZ #13695]
62714         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
62715         [crti.S not in sysdirs] (generated): Do not append.
62716         [crti.S not in sysdirs] (omit-deps): Likewise.
62717         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
62718         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
62719         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
62720         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
62721         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
62722         Likewise.
62723         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
62724         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
62725         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
62726         * csu/defs.awk: Remove file.
62727         * sysdeps/generic/initfini.c: Likewise.
62728         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
62729         variable.
62730         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
62731         Likewise.
62733 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62735         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
62736         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
62737         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
62738         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
62739         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62740         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
62741         <bits/epoll.h>.
62742         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
62743         (__EPOLL_PACKED): Define to empty if not defined by
62744         <bits/epoll.h>.
62745         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
62746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62747         bits/epoll.h.
62749 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62751         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
62752         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
62753         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
62754         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
62755         <bits/timerfd.h>.
62756         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
62757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62758         bits/timerfd.h.
62760 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
62762         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
62763         in C locale.
62764         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62765         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
62766         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
62767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62769 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
62771         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62772         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
62774 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
62776         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
62777         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
62778         defined.
62779         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
62780         Likewise.
62781         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
62782         entry for 2.16.
62784 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
62786         * math/w_acos.c: Use non-signaling floating-point comparisons.
62787         * math/w_acosf.c: Likewise.
62788         * math/w_acosh.c: Likewise.
62789         * math/w_acoshf.c: Likewise.
62790         * math/w_acoshl.c: Likewise.
62791         * math/w_acosl.c: Likewise.
62792         * math/w_asin.c: Likewise.
62793         * math/w_asinf.c: Likewise.
62794         * math/w_asinl.c: Likewise.
62795         * math/w_atanh.c: Likewise.
62796         * math/w_atanhf.c: Likewise.
62797         * math/w_atanhl.c: Likewise.
62798         * math/w_exp2.c: Likewise.
62799         * math/w_exp2f.c: Likewise.
62800         * math/w_exp2l.c: Likewise.
62801         * math/w_j0.c: Likewise.
62802         * math/w_j0f.c: Likewise.
62803         * math/w_j0l.c: Likewise.
62804         * math/w_j1.c: Likewise.
62805         * math/w_j1f.c: Likewise.
62806         * math/w_j1l.c: Likewise.
62807         * math/w_jn.c: Likewise.
62808         * math/w_jnf.c: Likewise.
62809         * math/w_log.c: Likewise.
62810         * math/w_log10.c: Likewise.
62811         * math/w_log10f.c: Likewise.
62812         * math/w_log10l.c: Likewise.
62813         * math/w_log2.c: Likewise.
62814         * math/w_log2f.c: Likewise.
62815         * math/w_log2l.c: Likewise.
62816         * math/w_logf.c: Likewise.
62817         * math/w_logl.c: Likewise.
62818         * math/w_sqrt.c: Likewise.
62819         * math/w_sqrtf.c: Likewise.
62820         * math/w_sqrtl.c: Likewise.
62821         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62822         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
62823         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62824         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
62825         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
62827 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62829         [BZ #9739]
62830         * manual/string.texi (strnlen): Use correct parameter name in
62831         equivalent expression.
62833 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62835         [BZ #11174]
62836         * manual/users.texi (seteuid): Consistently use neweuid for
62837         argument name.
62839 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
62841         [BZ #13704]
62842         * manual/nss.texi (Services in the NSS configuration): Correct
62843         list of services in example configuration file.
62845 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
62847         [BZ #11322]
62848         * manual/arith.texi: Remove statements about negative zero
62849         behaving identically to zero.
62851 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62853         [BZ #5993]
62854         * manual/install.texi: Do not document upgrading from libc5.
62856 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
62858         [BZ #4596]
62859         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
62861 2012-02-18  David S. Miller  <davem@davemloft.net>
62863         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
62864         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
62865         %o7 across the call.
62866         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
62867         instead.
62868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
62869         SETUP_PIC_REG_LEAF.
62870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62871         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
62872         * sysdeps/sparc/crtn.S: Likewise.
62874 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
62876         * aout/Makefile: Remove.
62878 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
62880         [BZ #13058]
62881         * manual/examples/argp-ex1.c (main): Format definition in GNU
62882         style.
62883         * manual/examples/argp-ex2.c (main): Likewise.
62884         * manual/examples/argp-ex3.c (main): Likewise.
62885         * manual/examples/argp-ex4.c (main): Likewise.
62886         * manual/examples/longopt.c (main): Use new-style prototype
62887         definition.
62888         * manual/examples/strncat.c (main): Specify return type and use
62889         (void) for arguments.
62890         * manual/examples/subopt.c (main): Use char **argv argument.
62892 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62894         [BZ #5077]
62895         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
62896         rounding modes.
62898 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
62900         [BZ #6907]
62901         * manual/string.texi (strchr): Change when strchrnul is
62902         recommended.
62904 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
62906         [BZ #174]
62907         * manual/locale.texi (setlocale): Document LOCPATH.
62909 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62911         [BZ #10210]
62912         * manual/process.texi (execle): Move @dots{} before last argument.
62914 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
62916         [BZ #12047]
62917         * manual/charset.texi (Generic Charset Conversion): Fix typo
62918         (LC_TYPE -> LC_CTYPE).
62920 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
62922         [BZ #5805]
62923         * manual/arith.texi (scalbn): Use @var{} on parameter names.
62924         (scalbnf): Likewise.
62925         (scalbnl): Likewise.
62926         (scalbln): Likewise.
62927         (scalblnf): Likewise.
62928         (scalblnl): Likewise.
62929         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
62930         (vwarnx): Likewise.
62931         (verr): Likewise.
62932         (verrx): Likewise.
62933         * manual/filesys.texi (telldir): Use braces around return type.
62934         * manual/llio.texi (mmap): Add space after comma.
62935         (mmap64): Likewise.
62936         * manual/math.texi (jn): Use @var{} on parameter names.
62937         (jnf): Likewise.
62938         (jnl): Likewise.
62939         (yn): Likewise.
62940         (ynf): Likewise.
62941         (ynl): Likewise.
62942         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62943         line.
62944         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62945         "...".
62946         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62947         (sched_get_priority_max): Likewise.
62948         * manual/signal.texi (sigvec): Add space after comma.
62949         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62950         names.
62951         (if_indextoname): Likewise.
62952         (if_freenameindex): Likewise.
62953         (sendto): Use ',' instead of '.' in prototype.
62954         * manual/startup.texi (syscall): Use @dots{} instead of literal
62955         "...".
62956         * manual/stdio.texi (__fpending): Separate initial words of
62957         paragraph from @deftypefun line.
62958         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62959         "...".
62960         (vsyslog): Use @var{} on parameter names.
62961         * manual/terminal.texi (stty): Use @var{} on parameter names.
62962         * manual/users.texi (getutmp): Use @var{} on parameter names.
62963         (getutmpx): Likewise.
62965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62967         [BZ #6884]
62968         * manual/stdio.texi (fopen): Fix typos in description of
62969         ",ccs=STRING".
62971 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62973         [BZ #4026]
62974         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62975         get clock_id definition.
62977 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62979         [BZ #4822]
62980         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62981         (madvise): Cast every argument to void on its own.
62983 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62985         [BZ #9902]
62986         * manual/startup.texi (Exit Status): Fix typo.
62988 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62990         [BZ #10140]
62991         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62992         * manual/examples/argp-ex2.c: Likewise.
62993         * manual/examples/argp-ex3.c: Likewise.
62995 2012-02-16  Richard Henderson  <rth@redhat.com>
62997         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62998         * sysdeps/s390/s390-32/initfini.c: Remove.
62999         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63000         * sysdeps/s390/s390-64/initfini.c: Remove.
63002 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63004         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63005         compiler output for sysdeps/generic/initfini.c.
63006         * sysdeps/sh/elf/initfini.c: Remove file.
63008 2012-02-16  David S. Miller  <davem@davemloft.net>
63010         [BZ #11494]
63011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63013         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63014         * sysdeps/sparc/crti.S: New file.
63015         * sysdeps/sparc/crtn.S: New file.
63016         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63017         * sysdeps/sparc/sparc64/Makefile: Likewise.
63019 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63021         [BZ #3335]
63022         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63024 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63026         [BZ #4822]
63027         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63029         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63030         (write, read, close): Likewise.
63031         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63033 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63035         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63036         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63037         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63038         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63039         <bits/signalfd.h>.
63040         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63042         bits/signalfd.h.
63044 2012-02-14  Marek Polacek  <polacek@redhat.com>
63046         * sysdeps/x86_64/crti.S: New file.
63047         * sysdeps/x86_64/crtn.S: New file.
63048         * sysdeps/x86_64/elf/initfini.c: Remove file.
63050 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63052         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63053         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63054         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63055         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63056         <bits/inotify.h>.
63057         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63059         bits/inotify.h.
63061 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63063         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63064         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63065         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63066         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63067         <bits/eventfd.h>.
63068         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63070         bits/eventfd.h.
63072 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63074         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63075         __feraiseexcept instead of feraiseexcept.
63077         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63078         nanosleep invocations.
63079         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63080         strings, and add error checking for a nanosleep invocations.
63082 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63084         Replace FSF snail mail address with URLs, as per GNU coding standards.
63085         Most of the snail mail addresses were wrong anyway, and omitting
63086         them makes the source code easier to maintain.  Almost all of the
63087         changes are to license notices and to locale LC_IDENTIFICATION
63088         addresses, except for this one:
63089         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63090         not its snail mail address.
63092 2012-02-09  Richard Henderson  <rth@twiddle.net>
63094         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63095         of kernel-features.h.
63097         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63099 2012-02-08  Marek Polacek  <polacek@redhat.com>
63101         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63102         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63103         * sysdeps/gnu/_G_config.h: Likewise.
63104         * sysdeps/generic/_G_config.h: Likewise.
63106 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63108         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63109         tests.
63110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63112         * sysdeps/powerpc/powerpc32/crti.S: New file.
63113         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63114         * sysdeps/powerpc/powerpc64/crti.S: New file.
63115         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63117         * Makeconfig (have-initfini): Don't set.
63118         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63119         * configure.in (nopic_initfini): Don't substitute.
63120         * config.h.in (HAVE_INITFINI): Don't #undef.
63121         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63122         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63124 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63126         Support crti.S and crtn.S provided directly by architectures.
63127         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63128         [crti.S in sysdirs] (omit-deps): Likewise.
63129         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63130         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63131         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63132         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63133         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63134         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63135         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63136         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63137         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63138         compiler output for sysdeps/generic/initfini.c.
63139         * sysdeps/i386/elf/Makefile: Remove file.
63140         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63142 2012-02-07  Marek Polacek  <polacek@redhat.com>
63144         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63145         * sysdeps/gnu/_G_config.h: Likewise.
63146         * sysdeps/mach/hurd/_G_config.h: Likewise.
63148 2012-02-07  Marek Polacek  <polacek@redhat.com>
63150         * math/Makefile (tests): Add tst-CMPLX2.
63151         * math/tst-CMPLX2.c: New file.
63153 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63155         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63157         * math/libm-test.inc (jn_test): Add missing L suffix.
63159 2012-02-06  Marek Polacek  <polacek@redhat.com>
63161         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63162         * sysdeps/i386/fpu/e_powf.S: Likewise.
63163         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63164         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63165         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63166         * sysdeps/i386/fpu/e_pow.S: Likewise.
63167         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63168         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63169         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63170         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63171         * sysdeps/i386/fpu/e_log2.S: Likewise.
63172         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63173         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63174         * sysdeps/i386/fpu/e_powl.S: Likewise.
63175         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63176         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63177         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63178         * sysdeps/i386/fpu/e_logl.S: Likewise.
63179         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63180         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63181         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63182         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63183         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63184         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63185         * sysdeps/i386/fpu/e_log.S: Likewise.
63186         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63187         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63188         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63189         * sysdeps/i386/fpu/e_logf.S: Likewise.
63190         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63191         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63192         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63193         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63194         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63195         * sysdeps/i386/fpu/e_log10.S: Likewise.
63196         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63197         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63198         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63199         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63200         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63201         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63202         * sysdeps/i386/asm-syntax.h: Likewise.
63203         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63204         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63205         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63206         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63207         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63208         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63209         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63210         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63211         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63212         * sysdeps/powerpc/sysdep.h: Likewise.
63213         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63214         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63216 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63218         [BZ #411]
63219         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63221 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63223         * sysdeps/i386/sysdep.h: Include <features.h>.
63224         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63225         version.
63227 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63229         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63230         Define.
63231         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63232         LOAD_PIC_REG_STR.
63234 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63236         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63237         (SETUP_PIC_REG): Use GET_PC_THUNK.
63238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63239         macro.
63241 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63243         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63244         for non-PIC compilation.
63245         (SETUP_PIC_REG): Add .p2align directive.
63246         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63247         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63248         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63249         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63250         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63251         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63252         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63253         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63254         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63255         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63256         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63257         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63258         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63259         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63260         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63261         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63262         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63263         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63264         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63265         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63266         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63267         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63268         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63269         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63271         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63272         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63273         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63274         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63275         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63276         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63277         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63278         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63279         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63280         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63281         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63282         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63283         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63284         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63285         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63286         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63288 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63290         * math/tst-CMPLX.c: Include <stdio.h>.
63292 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63294         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63295         float.
63296         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63297         * sysdeps/sparc/bits/mathdef.h: Likewise.
63299 2012-01-31  Marek Polacek  <polacek@redhat.com>
63301         * libio/libio.h: Don't define _PARAMS.
63302         * locale/programs/config.h: Don't define PARAMS.
63303         * stdlib/strtol_l.c: Likewise.
63304         (__strtol_l): Remove PARAMS from the prototype.
63306 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63308         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63309         names.  Just use the correct names.  Remove unnecessary wrapper
63310         functions.
63311         * malloc/arena.c: Likewise.
63312         * malloc/hooks.c: Likewise.
63314         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63315         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63316         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63318 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63320         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63321         into tail calls.
63322         (update_get_addr): New function.
63323         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63324         GET_ADDR_MODULE parameter.
63326 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63328         * crypt/cert.c: Remove __STDC__ conditionals.
63329         * crypt/crypt-entry.c: Likewise.
63330         * crypt/crypt_util.c: Likewise.
63331         * libio/filedoalloc.c: Likewise.
63332         * libio/fileops.c: Likewise.
63333         * libio/genops.c: Likewise.
63334         * libio/iofclose.c: Likewise.
63335         * libio/iofdopen.c: Likewise.
63336         * libio/iofopen.c: Likewise.
63337         * libio/iofopen64.c: Likewise.
63338         * libio/iogetdelim.c: Likewise.
63339         * libio/iopopen.c: Likewise.
63340         * libio/obprintf.c: Likewise.
63341         * libio/oldfileops.c: Likewise.
63342         * libio/oldiofclose.c: Likewise.
63343         * libio/oldiofdopen.c: Likewise.
63344         * libio/oldiofopen.c: Likewise.
63345         * libio/oldiopopen.c: Likewise.
63346         * libio/wfiledoalloc.c: Likewise.
63347         * libio/wgenops.c: Likewise.
63348         * locale/programs/xmalloc.c: Likewise.
63349         * misc/syslog.c: Likewise.
63350         * stdio-common/xbug.c: Likewise.
63351         * string/memchr.c: Likewise.
63352         * string/memcmp.c: Likewise.
63353         * string/memrchr.c: Likewise.
63354         * string/rawmemchr.c: Likewise.
63355         * sysdeps/posix/getcwd.c: Likewise.
63356         * time/strftime_l.c: Likewise.
63358 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63360         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63361         * config.make.in (config-cflags-sse2avx): Define.
63362         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63363         Fix typo.
63365 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63367         * scripts/config.guess: Update from upstream config git repository.
63368         * scripts/config.sub: Likewise.
63370 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63372         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63373         (EM_NUM): Update.
63374         (R_TILEPRO_*, R_TILEGX_*): New macros.
63376         * scripts/firstversions.awk: Fix bug in version range handling.
63378         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63380         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63382         * include/sys/epoll.h: New file.
63383         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63384         libc_hidden_def.
63386 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63388         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63389         Avoid unnecessary __WORDSIZE == 64 test.
63390         (fmaxf): Use VEX format if possible.
63391         (fmax): Likewise.
63392         (fminf): Likewise.
63393         (fmin): Likewise.
63395         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63396         * math/math_private.h: Remove libc_fegetround* and
63397         libc_fesetround*.
63398         * sysdeps/i386/configure.in: Check for -msse2avx.
63399         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63400         also if SSE2AVX is defined.
63401         Remove libc_fegetround* and libc_fesetround*.
63402         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63403         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63405         of HAS_YMM_USABLE.
63406         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63407         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63409         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63410         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63412         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63414 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63416         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63417         size is not set.
63418         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63420 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63422         [BZ #13618]
63423         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63424         relocation.
63425         * Makeconfig (libm): Define.
63426         * elf/Makefile: Add rules to build and run tst-relsort1.
63427         * elf/tst-relsort1.c: New file.
63428         * elf/tst-relsort1mod1.c: New file.
63429         * elf/tst-relsort1mod2.c: New file.
63431 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63433         * math/s_ldexp.c: Remove __STDC__ conditionals.
63434         * math/s_ldexpf.c: Likewise.
63435         * math/s_ldexpl.c: Likewise.
63436         * math/s_nextafter.c: Likewise.
63437         * math/s_nexttowardf.c: Likewise.
63438         * math/s_significand.c: Likewise.
63439         * math/s_significandf.c: Likewise.
63440         * math/s_significandl.c: Likewise.
63441         * math/w_jnl.c: Likewise.
63442         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63443         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63444         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63445         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63446         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63448         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63449         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63450         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63451         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63452         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63453         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63454         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63455         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63456         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63457         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63458         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63459         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63461         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63462         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63463         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63464         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63465         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63466         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63467         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63468         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63469         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63470         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63471         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63472         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63473         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63474         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63475         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63476         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63477         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63478         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63479         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63480         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63481         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63482         * sysdeps/ieee754/k_standard.c: Likewise.
63483         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63484         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63485         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63486         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63487         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63488         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63489         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63490         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63491         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63492         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63493         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63494         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63495         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63496         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63497         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63498         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63499         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63500         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63501         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63502         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63503         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63504         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63505         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63506         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63507         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63509         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63510         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63511         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63512         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63514         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
63515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63516         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63517         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63518         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63519         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
63520         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63521         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63522         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
63523         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
63524         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63525         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
63526         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
63527         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63528         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
63530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63531         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63532         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
63533         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
63534         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63535         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63536         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63537         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63538         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63539         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
63540         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63541         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63542         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63543         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63544         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63545         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63546         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63547         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63548         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63549         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63550         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63551         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63552         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63553         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63554         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63555         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63556         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63557         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63558         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63559         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63560         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63561         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63562         * sysdeps/ieee754/s_matherr.c: Likewise.
63563         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63564         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63565         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63566         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63568 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63570         * crypt/md5.h: Remove __STDC__ conditionals.
63571         * libio/libioP.h: Likewise.
63572         * locale/programs/config.h: Likewise.
63573         * sysdeps/generic/sysdep.h: Likewise.
63574         * sysdeps/i386/asm-syntax.h: Likewise.
63575         * sysdeps/s390/asm-syntax.h: Likewise.
63576         * sysdeps/unix/sysdep.h: Likewise.
63577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
63578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
63580 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
63582         * libio/libio.h: Remove __STDC__ conditionals.
63583         * malloc/obstack.h: Likewise.
63584         * math/complex.h: Likewise.
63585         * math/math.h: Likewise.
63586         * sysdeps/generic/_G_config.h: Likewise.
63587         * sysdeps/gnu/_G_config.h: Likewise.
63588         * sysdeps/mach/hurd/_G_config.h: Likewise.
63589         * sysdeps/powerpc/bits/mathdef.h: Likewise.
63590         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63591         * sysdeps/sparc/bits/mathdef.h: Likewise.
63593 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
63595         [BZ #13583]
63596         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
63597         Clean up HAS_* macros.
63598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
63599         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
63600         possible.
63601         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
63602         HAS_AVX.
63603         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63604         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63605         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63607         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63609 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
63611         * elf/tst-unique3.cc (gets): Remove declaration.
63612         * elf/tst-unique3lib.cc (gets): Likewise.
63613         * elf/tst-unique3lib2.cc (gets): Likewise.
63614         * elf/tst-unique4.cc (gets): Likewise.
63616 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
63618         * include/stdio.h: Add C++ protection.  Add gets declarations and
63619         definitions.
63620         * debug/tst-chk1.c: Don't declare gets here.
63621         * stdio-common/tst-gets.c: Likewise.
63623 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63625         * posix/glob: Remove directory.
63627 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
63629         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
63631 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
63633         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
63634         of the non-standard EPFNOSUPPORT.
63636 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63638         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
63639         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
63640         ANYWHERE set to 1 only on KERN_NO_SPACE error.
63642 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
63644         * wcsmbs/uchar.h: Test __STDC_VERSION__.
63646 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
63648         * nscd/aicache.c (addhstaiX): Do not cache negative results of
63649         transient errors.
63650         * nscd/grpcache.c (cache_addgr): Likewise.
63651         * nscd/hstcache.c (cache_addhst): Likewise.
63652         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63653         * nscd/pwdcache.c (cache_addpw): Likewise.
63654         * nscd/servicescache.c (cache_addserv): Likewise.
63656 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
63658         * malloc/malloc.c: Various cleanups.
63659         * malloc/hooks.c: Likewise.
63661         * stdlib/Makefile (tests): Add bug-fmtmsg1.
63662         * stdlib/bug-fmtmsg1.c: New file.
63664         * stdlib/fmtmsg.c (init): Add missing unlock.
63665         Patch by Peng Haitao <penght@cn.fujitsu.com>.
63667 2012-01-12  Marek Polacek  <polacek@redhat.com>
63669         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
63670         and _GNU_SOURCE.
63672 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
63674         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
63675         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
63676         macro to ensure uniqueness of label name.
63677         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63678         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63680 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
63682         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
63684         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
63685         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63686         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63687         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
63689 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
63691         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
63693         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
63694         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63695         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63697         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
63699         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
63700         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63701         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
63704         * math/bits/math-finite.h: Add ldexp support.
63706 2012-01-10  Marek Polacek  <polacek@redhat.com>
63708         * locale/programs/localedef.h (show_archive_content): Add noreturn
63709         attribute.
63711 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
63713         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
63715 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63717         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
63719         * io/Makefile (headers): Add bits/poll2.h.
63721 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
63723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
63724         typo #include statement.
63726 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63728         * include/sys/cdefs.h: Define __attribute_alloc_size.
63729         * catgets/gencat.c: Add alloc_size attribute and apply consistently
63730         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
63731         * elf/pldd.c: Likewise.
63732         * iconv/iconv_charmap.c: Likewise.
63733         * iconv/iconvconfig.c: Likewise.
63734         * iconv/strtab.c: Likewise.
63735         * locale/programs/locale.c: Likewise.
63736         * locale/programs/localedef.h: Likewise.
63737         * locale/programs/simple-hash.c: Likewise.
63738         * nscd/nscd.h: Likewise.
63739         * nss/makedb.c: Likewise.
63740         * sysdeps/generic/ldconfig.h: Likewise.
63741         * locale/programs/localedef.c: Remove xmalloc prototype.
63742         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
63744 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63746         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
63747         appropriate.
63749 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
63751         * math/Makefile (tests): Add tst-CMPLX.
63752         * math/tst-CMPLX.c: New file.
63754         * math/complex.h (CMPLXL): Fix typo.
63756         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
63757         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
63758         GLIBC_2.16.
63759         * debug/tst-chk1.c: Add poll and ppoll tests.
63760         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
63761         * include/sys/poll.h: Add hidden proto for ppoll.
63762         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
63763         * sysdeps/mach/hurd/ppoll.c: Likewise.
63764         * io/ppoll.c: Likewise.
63765         * debug/poll_chk.c: New file.
63766         * debug/ppoll_chk.c: New file.
63767         * include/bits/poll2.h: New file.
63768         * io/bits/poll2.h: New file.
63770         [BZ #1350]
63771         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
63773         * configure.in: static is always set to yes.  Remove.
63774         * config.make.in: Don't set build-static.
63775         * Makeconfig: Remove use of build-static.
63776         * dlfcn/Makefile: Likewise.
63777         * elf/Makefile: Likewise.
63778         * math/Makefile: Likewise.
63779         * misc/Makefile: Likewise.
63780         * nptl/Makefile: Likewise.
63781         * sysdeps/mach/hurd/Makefile: Likewise.
63783         * configure.in: PWD_P is not used anymore.
63784         * config.make.in: Remove PWD_P entry.
63786         * configure.in: Remove last remnants of RANLIB.
63787         No need to check for signed size_t anymore.
63788         Don't set libc_commonpagesize and libc_relro_required here for Alpha
63789         and IA-64.
63790         Remove __builtin_expect test because we require at least gcc 3.4.
63791         * aclocal.m4: Likewise.
63793         * wcsmbs/mbrtoc16.c: Implement using towc function.
63794         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
63795         * wcsmbs/wcsmbsload.c: Likewise.
63796         * iconv/gconv_simple.c: Likewise.
63797         * iconv/gconv_int.h: Likewise.
63798         * iconv/gconv_builtin.h: Likewise.
63799         * iconv/iconv_prog.c: Remove CHAR16 handling.
63801         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
63803         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
63805         * configure.in: Remove --with-elf and --enable-bounded options.
63806         Dont set base_machine for ia64.  More non-ELF conditions removed.
63807         Remove testing and setting of leading underscore information.
63808         * config.make.in (build-bounded): Set to no.
63809         * config.h.in: Remove NO_UNDERSCORES entry.
63810         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
63811         them.
63812         * csu/start.c: Remove !NO_UNDERSCORE code.
63813         * locale/localeinfo.h: Likewise.
63814         * sysdeps/generic/machine-gmon.h: Likewise.
63815         * sysdeps/generic/sysdep.h: Likewise.
63816         * sysdeps/i386/sysdep.h: Likewise.
63817         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63818         * sysdeps/mach/sysdep.h: Likewise.
63819         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63820         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63821         * sysdeps/sh/sysdep.h: Likewise.
63822         * sysdeps/sparc/sparc32/alloca.S: Likewise.
63823         * sysdeps/unix/i386/sysdep.S: Likewise.
63824         * sysdeps/unix/sparc/start.c: Likewise.
63825         * sysdeps/unix/sparc/sysdep.S: Likewise.
63826         * sysdeps/unix/sparc/sysdep.h: Likewise.
63827         * sysdeps/unix/start.c: Likewise.
63828         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63829         * sysdeps/x86_64/sysdep.h: Likewise.
63831 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
63833         [BZ #13553]
63834         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
63835         for non-gcc.
63836         * argp/argp-fmtstream.h: Use const instead __const.
63837         * argp/argp.h: Likewise.
63838         * assert/assert.h: Likewise.
63839         * bits/fenv.h: Likewise.
63840         * bits/sched.h: Likewise.
63841         * bits/sigset.h: Likewise.
63842         * bits/sigthread.h: Likewise.
63843         * catgets/nl_types.h: Likewise.
63844         * conform/data/pthread.h-data: Likewise.
63845         * crypt/crypt-private.h: Likewise.
63846         * crypt/crypt.h: Likewise.
63847         * crypt/crypt_util.c: Likewise.
63848         * ctype/ctype.h: Likewise.
63849         * debug/execinfo.h: Likewise.
63850         * debug/mbsnrtowcs_chk.c: Likewise.
63851         * debug/mbsrtowcs_chk.c: Likewise.
63852         * debug/wcsnrtombs_chk.c: Likewise.
63853         * debug/wcsrtombs_chk.c: Likewise.
63854         * debug/wcstombs_chk.c: Likewise.
63855         * dirent/dirent.h: Likewise.
63856         * dlfcn/dlfcn.h: Likewise.
63857         * elf/neededtest4.c: Likewise.
63858         * grp/grp.h: Likewise.
63859         * gshadow/gshadow.h: Likewise.
63860         * iconv/gconv.h: Likewise.
63861         * iconv/gconv_int.h: Likewise.
63862         * iconv/gconv_simple.c: Likewise.
63863         * iconv/iconv.h: Likewise.
63864         * iconv/loop.c: Likewise.
63865         * iconv/skeleton.c: Likewise.
63866         * include/aio.h: Likewise.
63867         * include/aliases.h: Likewise.
63868         * include/argz.h: Likewise.
63869         * include/arpa/inet.h: Likewise.
63870         * include/assert.h: Likewise.
63871         * include/dirent.h: Likewise.
63872         * include/dlfcn.h: Likewise.
63873         * include/execinfo.h: Likewise.
63874         * include/fcntl.h: Likewise.
63875         * include/fenv.h: Likewise.
63876         * include/glob.h: Likewise.
63877         * include/grp.h: Likewise.
63878         * include/libintl.h: Likewise.
63879         * include/mntent.h: Likewise.
63880         * include/netdb.h: Likewise.
63881         * include/pwd.h: Likewise.
63882         * include/rpc/netdb.h: Likewise.
63883         * include/sched.h: Likewise.
63884         * include/search.h: Likewise.
63885         * include/shadow.h: Likewise.
63886         * include/signal.h: Likewise.
63887         * include/stdio.h: Likewise.
63888         * include/stdlib.h: Likewise.
63889         * include/string.h: Likewise.
63890         * include/sys/socket.h: Likewise.
63891         * include/sys/stat.h: Likewise.
63892         * include/sys/statfs.h: Likewise.
63893         * include/sys/statvfs.h: Likewise.
63894         * include/sys/syslog.h: Likewise.
63895         * include/sys/time.h: Likewise.
63896         * include/sys/uio.h: Likewise.
63897         * include/time.h: Likewise.
63898         * include/unistd.h: Likewise.
63899         * include/utmp.h: Likewise.
63900         * include/wchar.h: Likewise.
63901         * include/wctype.h: Likewise.
63902         * inet/aliases.h: Likewise.
63903         * inet/arpa/inet.h: Likewise.
63904         * inet/netinet/ether.h: Likewise.
63905         * inet/netinet/in.h: Likewise.
63906         * intl/libintl.h: Likewise.
63907         * io/bits/fcntl2.h: Likewise.
63908         * io/fcntl.h: Likewise.
63909         * io/ftw.h: Likewise.
63910         * io/sys/poll.h: Likewise.
63911         * io/sys/stat.h: Likewise.
63912         * io/sys/statfs.h: Likewise.
63913         * io/sys/statvfs.h: Likewise.
63914         * io/utime.h: Likewise.
63915         * libio/bits/stdio.h: Likewise.
63916         * libio/bits/stdio2.h: Likewise.
63917         * libio/libio.h: Likewise.
63918         * libio/libioP.h: Likewise.
63919         * libio/stdio.h: Likewise.
63920         * locale/lc-ctype.c: Likewise.
63921         * locale/locale.h: Likewise.
63922         * login/utmp.h: Likewise.
63923         * malloc/arena.c: Likewise.
63924         * malloc/malloc.c: Likewise.
63925         * malloc/malloc.h: Likewise.
63926         * malloc/mcheck.c: Likewise.
63927         * malloc/mtrace.c: Likewise.
63928         * math/bits/mathcalls.h: Likewise.
63929         * math/fenv.h: Likewise.
63930         * math/math_private.h: Likewise.
63931         * misc/bits/error.h: Likewise.
63932         * misc/bits/syslog.h: Likewise.
63933         * misc/err.h: Likewise.
63934         * misc/error.h: Likewise.
63935         * misc/fstab.h: Likewise.
63936         * misc/mntent.h: Likewise.
63937         * misc/regexp.h: Likewise.
63938         * misc/search.h: Likewise.
63939         * misc/sgtty.h: Likewise.
63940         * misc/sys/mman.h: Likewise.
63941         * misc/sys/syslog.h: Likewise.
63942         * misc/sys/uio.h: Likewise.
63943         * misc/sys/xattr.h: Likewise.
63944         * misc/ttyent.h: Likewise.
63945         * nis/rpcsvc/ypclnt.h: Likewise.
63946         * nss/nss.h: Likewise.
63947         * posix/bits/unistd.h: Likewise.
63948         * posix/fnmatch.h: Likewise.
63949         * posix/glob.h: Likewise.
63950         * posix/sched.h: Likewise.
63951         * posix/spawn.h: Likewise.
63952         * posix/sys/wait.h: Likewise.
63953         * posix/unistd.h: Likewise.
63954         * posix/wordexp.h: Likewise.
63955         * pwd/pwd.h: Likewise.
63956         * resolv/netdb.h: Likewise.
63957         * resource/sys/resource.h: Likewise.
63958         * rt/aio.h: Likewise.
63959         * rt/bits/mqueue2.h: Likewise.
63960         * rt/mqueue.h: Likewise.
63961         * shadow/shadow.h: Likewise.
63962         * signal/signal.h: Likewise.
63963         * socket/send.c: Likewise.
63964         * socket/sendto.c: Likewise.
63965         * socket/sys/socket.h: Likewise.
63966         * stdio-common/printf.h: Likewise.
63967         * stdlib/bits/stdlib.h: Likewise.
63968         * stdlib/fmtmsg.h: Likewise.
63969         * stdlib/monetary.h: Likewise.
63970         * stdlib/stdlib.h: Likewise.
63971         * stdlib/ucontext.h: Likewise.
63972         * streams/stropts.h: Likewise.
63973         * string/argz.h: Likewise.
63974         * string/bits/string2.h: Likewise.
63975         * string/string.h: Likewise.
63976         * string/strings.h: Likewise.
63977         * sunrpc/rpc/auth.h: Likewise.
63978         * sunrpc/rpc/auth_des.h: Likewise.
63979         * sunrpc/rpc/clnt.h: Likewise.
63980         * sunrpc/rpc/netdb.h: Likewise.
63981         * sunrpc/rpc/pmap_clnt.h: Likewise.
63982         * sunrpc/rpc/xdr.h: Likewise.
63983         * sysdeps/generic/inttypes.h: Likewise.
63984         * sysdeps/generic/net/if.h: Likewise.
63985         * sysdeps/generic/sys/swap.h: Likewise.
63986         * sysdeps/gnu/net/if.h: Likewise.
63987         * sysdeps/gnu/utmpx.h: Likewise.
63988         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63989         * sysdeps/i386/i486/bits/string.h: Likewise.
63990         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63991         * sysdeps/s390/bits/string.h: Likewise.
63992         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63993         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63994         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63995         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63996         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63997         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63998         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63999         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64000         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64001         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64002         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64003         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64004         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64005         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64006         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64007         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64008         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64010         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64011         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64012         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64013         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64014         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64015         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64016         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64017         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64018         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64019         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64020         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64021         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64022         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64023         * sysvipc/sys/ipc.h: Likewise.
64024         * sysvipc/sys/msg.h: Likewise.
64025         * sysvipc/sys/sem.h: Likewise.
64026         * sysvipc/sys/shm.h: Likewise.
64027         * termios/termios.h: Likewise.
64028         * time/sys/time.h: Likewise.
64029         * time/time.h: Likewise.
64030         * wcsmbs/bits/wchar2.h: Likewise.
64031         * wcsmbs/uchar.h: Likewise.
64032         * wcsmbs/wchar.h: Likewise.
64033         * wctype/wctype.h: Likewise.
64035         [BZ #13551]
64036         * Makeconfig: Remove all but ELF support including AIX support.
64037         * Makerules: Likewise.
64038         * config.h.in: Likewise.
64039         * config.make.in: Likewise.
64040         * configure: Likewise.
64041         * configure.in: Likewise.
64042         * csu/Makefile: Likewise.
64043         * csu/version.c: Likewise.
64044         * debug/Makefile: Likewise.
64045         * dlfcn/Makefile: Likewise.
64046         * elf/Makefile: Likewise.
64047         * extra-lib.mk: Likewise.
64048         * iconv/Makefile: Likewise.
64049         * include/libc-symbols.h: Likewise.
64050         * include/shlib-compat.h: Likewise.
64051         * resolv/Makefile: Likewise.
64052         * resolv/res_libc.c: Likewise.
64053         * rt/Makefile: Likewise.
64054         * sysdeps/i386/asm-syntax.h: Likewise.
64055         * sysdeps/i386/sysdep.h: Likewise.
64056         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64057         * sysdeps/mach/sysdep.h: Likewise.
64058         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64059         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64060         * sysdeps/s390/asm-syntax.h: Likewise.
64061         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64062         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64063         * sysdeps/sh/sysdep.h: Likewise.
64064         * sysdeps/unix/sparc/sysdep.h: Likewise.
64065         * sysdeps/wordsize-32/divdi3.c: Likewise.
64066         * sysdeps/x86_64/sysdep.h: Likewise.
64068         * argp/Versions: Remove _argp_unlock_xxx.
64070         [BZ #13559]
64071         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64072         * abilist/libBrokenLocale.abilist: Likewise.
64073         * abilist/libanl.abilist: Likewise.
64074         * abilist/libc.abilist: Likewise.
64075         * abilist/libcrypt.abilist: Likewise.
64076         * abilist/libdl.abilist: Likewise.
64077         * abilist/libm.abilist: Likewise.
64078         * abilist/libnsl.abilist: Likewise.
64079         * abilist/libpthread.abilist: Likewise.
64080         * abilist/libresolv.abilist: Likewise.
64081         * abilist/librt.abilist: Likewise.
64082         * abilist/libthread_db.abilist: Likewise.
64083         * abilist/libutil.abilist: Likewise.
64084         * abilist/libnss_db.abilist: New file.
64086         * scripts/abilist.awk: Add support for indirect functions.
64088         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64090         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64092         * shlib-versions: Remove entries for ports architectures.
64094         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64095         files in ports.
64096         * elf/stackguard-macros.h: Remove support for IA-64.
64097         * elf/tst-auditmod1.c: Likewise.
64098         * sysdeps/generic/ldsodefs.h: Likewise.
64100         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64101         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64102         configure files.
64104         [BZ #13552]
64105         * configure.in: Remove --enable-omitfp support.
64106         * FAQ.in: Adjust.
64107         * config.make.in: Likewise.
64108         * Makeconfig: Likewise.
64109         * manual/install.texi: Likewise.
64111         In case anyone cares, the IA-64 architecture could move to ports.
64112         * sysdeps/ia64/*: Removed.
64113         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64114         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64116         [BZ #13555]
64117         * configure.in: Remove entries for unsupported architectures.
64119         [BZ #13533]
64120         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64121         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64122         routines.
64123         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64124         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64125         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64126         fall back to using wcrtomb.
64127         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64128         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64129         renaming.
64130         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64131         * wcsmbs/tst-c16c32-1.c: New file.
64133         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64134         local variable.
64136         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64138         * elf/tst-unique3.cc: Add explicit declaration of gets.
64139         * elf/tst-unique3lib.cc: Likewise.
64140         * elf/tst-unique3lib2.cc: Likewise.
64141         * elf/tst-unique4.cc: Likewise.
64143         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64145 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64147         [BZ #13566]
64148         * assert/assert.h (static_assert): Don't define for C++.
64149         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64150         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64152 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64154         * iconv/loop.c (single loop): Fix assertion in storing of
64155         remaining bytes.
64157         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64159 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64161         * posix/getconf.c: Update copyright year.
64162         * nss/getent.c: Likewise.
64163         * nss/makedb.c: Likewise.
64164         * iconv/iconvconfig.c: Likewise.
64165         * iconv/iconv_prog.c: Likewise.
64166         * elf/ldconfig.c: Likewise.
64167         * elf/pldd.c: Likewise.
64168         * elf/sotruss.ksh: Likewise.
64169         * catgets/gencat.c: Likewise.
64170         * csu/version.c: Likewise.
64171         * elf/ldd.bash.in: Likewise.
64172         * elf/sprof.c (print_version): Likewise.
64173         * locale/programs/locale.c: Likewise.
64174         * locale/programs/localedef.c: Likewise.
64175         * login/programs/pt_chown.c: Likewise.
64176         * nscd/nscd.c (print_version): Likewise.
64177         * debug/xtrace.sh: Likewise.
64178         * malloc/memusage.sh: Likewise.
64179         * malloc/mtrace.pl: Likewise.
64180         * debug/catchsegv.sh: Likewise.
64182 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64184         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64185         pure attribute.
64187 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64189         [BZ #13533]
64190         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64191         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64192         transformations.
64193         * iconv/gconv_int.h: Likewise.
64194         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64195         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64196         from libc for GLIBC_2.16.
64197         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64198         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64199         * wcsmbs/uchar.h: Really define mbstate_t.
64200         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64201         * wcsmbs/c16rtomb.c: New file.
64202         * wcsmbs/mbrtoc16.c: New file.
64203         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64204         for C/POSIX locale.
64205         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64206         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64208         * wcsmbs/wchar.h: Add missing __restrict.
64210 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64212         [BZ #13532]
64213         * time/Makefile (routines): Add timespec_get.
64214         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64215         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64216         timespec for ISO C11.
64217         * time/timespec_get.c: New file.
64218         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64219         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64221         [BZ #13531]
64222         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64223         * stdlib/stdlib.h: Declare aligned_alloc.
64224         * Versions.def: Add GLIBC_2.16 for libc.
64225         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64227         [BZ 13527]
64228         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64229         ISO C11.
64231         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64232         code.
64234         [BZ #13528]
64235         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64237         [BZ #13529]
64238         * assert/assert.h (static_assert): Define.
64240         * version.h: Update for 2.16 development version.
64242         [BZ #13526]
64243         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64244         _ISOC11_SOURCE.
64246         * version.h (RELEASE): Bump for 2.15 release.
64247         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64249         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64250         Patch by Marek Polacek <mpolacek@redhat.com>.
64252         * bits/byteswap.h: Protect long long constants with __extension__.
64253         * sysdeps/i386/bits/byteswap.h: Likewise.
64254         * sysdeps/ia64/bits/byteswap.h: Likewise.
64255         * sysdeps/s390/bits/byteswap.h: Likewise.
64256         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64258 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64260         [BZ #13540]
64261         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64262         destination buffer.
64263         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64265 2011-12-23  Marek Polacek  <polacek@redhat.com>
64267         * elf/dl-addr.c (determine_info): Add inline keyword.
64268         * elf/tst-auditmod4b.c (check_avx): Likewise.
64269         * elf/tst-auditmod6b.c (check_avx): Likewise.
64270         * elf/tst-auditmod6c.c (check_avx): Likewise.
64271         * elf/tst-auditmod7b.c (check_avx): Likewise.
64273 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64275         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64276         !__SSE_MATH__.
64278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64280         [BZ #13540]
64281         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64282         processing for last bytes.
64284 2011-08-06  Bruno Haible  <bruno@clisp.org>
64286         [BZ #13061]
64287         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64288         U+0385, not to U+1FEE.
64290         [BZ #13062]
64291         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64292         entry for U+00A5 U+0301.
64294 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64296         [BZ #13166]
64297         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64298         buffer for the output is too small.
64300         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64301         optimization.
64303         [BZ #13185]
64304         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64305         SSE flags if possible.
64307 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64309         [BZ #13540]
64310         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64311         processing for last bytes.
64313 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64315         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64316         (syscall-list-default-options, syscall-list-default-condition)
64317         (syscall-list-includes): Define.
64318         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64319         list of ABIs and options and #if conditions for each ABI.  Do not
64320         handle common syscalls between ABIs specially.
64321         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64322         Remove.
64323         (syscall-list-variants, syscall-list-32bit-options)
64324         (syscall-list-32bit-condition, syscall-list-64bit-options)
64325         (syscall-list-64bit-condition): Define.
64326         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64327         (syscall-list-variants, syscall-list-32bit-options)
64328         (syscall-list-32bit-condition, syscall-list-64bit-options)
64329         (syscall-list-64bit-condition): Define.
64330         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64331         Remove.
64332         (syscall-list-variants, syscall-list-32bit-options)
64333         (syscall-list-32bit-condition, syscall-list-64bit-options)
64334         (syscall-list-64bit-condition): Define.
64335         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64336         Remove.
64337         (syscall-list-variants, syscall-list-32bit-options)
64338         (syscall-list-32bit-condition, syscall-list-64bit-options)
64339         (syscall-list-64bit-condition): Define.
64341 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64343         * locale/iso-639.def: Add brx entry.
64345         [BZ #13328]
64346         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64347         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64349         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64350         __feraiseexcept_renamed.
64352 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64354         [BZ #13538]
64355         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64356         EPOLLET with unsigned values.
64357         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64358         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64360         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64361         to large cancellation.
64362         * math/s_cacoshf.c: Likewise.
64363         * math/s_cacoshl.c: Likewise.
64365 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64367         [BZ #13305]
64368         [BZ #12786]
64369         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64370         * math/s_cacoshf.c: Likewise.
64371         * math/s_cacoshl.c: Likewise.
64373 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64375         [BZ #13439]
64376         * iconv/gconv.h: Define __GCONV_SWAP.
64377         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64378         * iconvdata/utf-16.c: Likewise.
64379         * iconvdata/utf-32.c: Likewise.
64381 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64383         [BZ #13524]
64384         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64385         numerator after shifting it by one limb.
64387 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64389         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64390         under [__USE_EXTERN_INLINES].
64392 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64394         [BZ #13446]
64395         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64397 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64399         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64400         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64401         optimized code.
64402         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64403         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64404         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64405         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64406         for strncasecmp/strncasecmp_l compilation.
64407         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64408         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64410 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64412         [BZ #13484]
64413         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64414         of __asm__.
64416 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64418         [BZ #13506]
64419         * time/tzfile.c (__tzfile_read): Check values from file header.
64421 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64423         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64424         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64425         * powerpc/powerpc32/dl-start.S: Likewise.
64426         * powerpc/powerpc32/elf/start.S: Likewise.
64427         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64428         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64429         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64430         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64431         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64432         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64433         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64434         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64435         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64436         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64437         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64438         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64439         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64440         * powerpc/powerpc32/memset.S: Likewise.
64441         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64442         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64443         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64444         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64445         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64446         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64447         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64448         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64449         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64450         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64451         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64452         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64453         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64455 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64457         * math/libm-test.inc: Added more nearbyint tests.
64458         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64459         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64460         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64463 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64465         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64466         FD_CLOEXEC.
64468 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64470         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64471         Add wcscpy-ssse3 wcscpy-c.
64472         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64473         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64474         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64475         * sysdeps/x86_64/wcschr.S: New file.
64476         * sysdeps/x86_64/wcsrchr.S: New file.
64477         * string/test-strcmp.c: Remove checking of wcscmp function for
64478         wrong alignments.
64479         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64480         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64481         wcsrchr-sse2 wcsrchr-c.
64482         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64483         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64484         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64485         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64486         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64487         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64488         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64489         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64490         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64491         * wcsmbc/wcschr.c (WCSCHR): New macro.
64493 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64495         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64496         * wcsmbs/test-wcsrchr.c: New file.
64497         * string/test-strrchr.c: Add wcsrchr support.
64498         (WIDE): New macro.
64499         * wcsmbs/test-wcscpy.c: New file.
64500         * string/test-strcpy.c: Add wcscpy support.
64501         (WIDE): New macro.
64503 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
64505         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
64506         the inner loop.
64508 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
64510         [BZ #13472]
64511         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
64513 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
64515         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
64516         Minor optimizations.
64518         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
64519         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
64520         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
64522 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
64524         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
64525         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
64526         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
64527         for gcc to avoid warnings.
64528         * inet/Makefile (tests): Add tst-checks.
64529         * inet/tst-checks.c: New file.
64531         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
64532         warning.
64534         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
64535         __wmemcmp_sse2.
64537         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
64538         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
64540         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
64542 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
64544         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
64545         problem.
64547         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
64549 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
64551         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
64552         conditional on GCC version.
64553         (__arch_compare_and_exchange_val_8_acq)
64554         (__arch_compare_and_exchange_val_16_acq)
64555         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
64556         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
64557         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
64559 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
64561         * sysdeps/sh/backtrace.c: New file.
64563 2011-12-02  Andreas Schwab  <schwab@redhat.com>
64565         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
64566         parenthesis.
64568 2011-12-01  Andreas Schwab  <schwab@redhat.com>
64570         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
64571         falling back to utime.
64573 2011-11-30  Andreas Schwab  <schwab@redhat.com>
64575         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
64576         expectations for float.
64578 2011-11-29  Andreas Schwab  <schwab@redhat.com>
64580         * locale/weight.h (findidx): Add parameter len.
64581         * locale/weightwc.h (findidx): Likewise.
64582         * posix/fnmatch_loop.c (FCT): Adjust caller.
64583         * posix/regcomp.c (build_equiv_class): Likewise.
64584         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
64585         * posix/regexec.c (check_node_accept_bytes): Likewise.
64586         * string/strcoll_l.c (STRCOLL): Likewise.
64587         * string/strxfrm_l.c (STRXFRM): Likewise.
64589 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
64591         * Makefile.in: Remove CVSOPT handling.
64592         * configure.in: Remove use of AC_REVISION.
64593         * iconvdata/Makefile (distribute): No need to filter out CVS.
64594         * scripts/list-sources.sh: Remove CVS, subversion and monotone
64595         handling.
64597 2011-11-16  Andreas Schwab  <schwab@redhat.com>
64599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
64600         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
64601         [USE_AS_STRNCASECMP_L]: Likewise.
64602         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
64603         NO_TLS_DIRECT_SEG_REFS.
64604         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
64605         Fix argument offsets for non-PIC.
64606         [USE_AS_STRNCASECMP_L]: Likewise.
64607         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
64608         NO_TLS_DIRECT_SEG_REFS.
64610 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64612         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
64613         O_CLOEXEC.
64614         * locale/loadlocale.c (_nl_load_locale): Likewise.
64616 2011-11-15  Andreas Schwab  <schwab@redhat.com>
64618         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
64619         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
64620         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
64621         (SYSCALL_GETTIME): Set errno on error.
64623         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
64624         count references to noai6ai_cached.
64626 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
64628         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
64630         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
64631         FD_CLOEXEC for /proc/self/maps.
64633         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
64634         FD_CLOEXEC for /proc/meminfo.
64636         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
64637         gai.conf.
64639         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
64640         FD_CLOEXEC for given file.
64642         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
64644         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
64645         FD_CLOEXEC for /etc/hosts.
64646         (_gethtent): Likewise.
64648         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
64650         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
64651         cancellation and set FD_CLOEXEC for /etc/netgroup.
64653         * nss/nss_files/files-key.c (search): Don't allow cancellation when
64654         reading /etc/publickey.
64656         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
64657         allow cancellation when reading /etc/group.
64659         * nss/nss_files/files-alias.c (internal_setent): Don't allow
64660         cancellation.
64661         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
64663         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
64664         when using data file.
64666         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
64668         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
64669         (write_nis_obj): Use "c" and "e" in fopen.
64671         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
64673         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
64675         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
64677         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
64679         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
64680         locale.alias.
64682         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
64684         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
64686         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
64688         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
64689         file parsing and set FD_CLOEXEC.
64691 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64693         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
64695 2011-11-14  Andreas Schwab  <schwab@redhat.com>
64697         * malloc/arena.c (arena_get2): Don't call reused_arena when
64698         _int_new_arena failed.
64700 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
64702         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
64703         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
64704         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
64705         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64706         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64707         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
64708         to compile strcasecmp and strncasecmp.
64709         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
64710         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
64712         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
64714 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
64716         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
64717         locale-defines.sym to gen-as-const-headers.
64718         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
64719         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
64720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
64721         to compile strcasecmp and strncasecmp.
64722         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
64723         strcasecmp_l and strncasecmp_l.
64724         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
64725         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
64726         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
64727         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
64728         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
64729         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
64730         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
64731         * sysdeps/i386/i686/multiarch/strncase.S: New file.
64732         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
64733         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
64734         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
64736 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
64738         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
64739         result of SYSDEP_GETTIME_CPU to retval.
64740         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
64741         parameter list to macro.  Remove trailing semicolon.  Adjust users.
64743         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
64744         variable.
64746         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
64747         mantissa words.
64748         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
64750         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
64751         from unused variable.
64753         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
64754         DWARF definitions.
64755         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
64756         for assembling.
64758         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
64759         over namespaces.
64761         * sunrpc/rpc_prot.c (rejected): Fix case value.
64763         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
64764         unsigned long long int to avoid warnings in shift.
64766         * posix/regex_internal.c (re_string_reconstruct): Actually use result
64767         of use of trans.
64768         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
64769         variable tmp.
64771         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
64772         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
64773         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
64775         * nis/nis_table.c (nis_list): Use variable of correct type for
64776         result of __follow_path call.
64778 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64780         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
64781         of math functions ceil, trunc, floor, round, and sqrt, when
64782         avaliable on the platform.
64783         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
64784         name clash.
64785         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64786         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64787         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64789 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
64791         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
64792         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64794 2011-11-11  Roland McGrath  <roland@hack.frob.com>
64796         * include/unistd.h: Fix __readlink return type.
64797         Reported by Chris Metcalf <cmetcalf@tilera.com>.
64799 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
64801         * stdlib/ucontext.h: Undo last change for makecontext.
64803 2011-11-11  Andreas Schwab  <schwab@redhat.com>
64805         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
64807         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
64808         * setjmp/setjmp.h: Mark functions as non-leaf.
64809         * setjmp/bits/setjmp2.h: Likewise.
64810         * stdlib/ucontext.h: Likewise.
64812 2011-11-10  Andreas Schwab  <schwab@redhat.com>
64814         * malloc/arena.c (_int_new_arena): Don't increment narenas.
64815         (reused_arena): Don't check arena limit.
64816         (arena_get2): Atomically check arena limit.
64818 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
64820         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
64821         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
64823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
64824         instructions.
64826 2011-11-07  Andreas Schwab  <schwab@redhat.com>
64828         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
64829         handler when locking.
64831         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64832         Fix size of allocated buffer.
64834 2011-11-04  Andreas Schwab  <schwab@redhat.com>
64836         [BZ #10103]
64837         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
64838         declarations for long double functions.
64839         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
64841         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
64843 2011-11-03  Andreas Schwab  <schwab@redhat.com>
64845         * nscd/nscd.c (main): Don't start AVC thread until credentials are
64846         installed.
64848         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
64849         is disabled.
64851 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64853         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
64855 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64857         * include/alloca.h (stackinfo_alloca_round): Define.
64858         (extend_alloca): Use it.
64859         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
64860         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
64861         here.
64863         * scripts/check-local-headers.sh: Ignore libaudit.h.
64865         * nscd/Makefile (extra-objs): Make recursively expanded.
64867 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
64869         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
64870         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64872         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
64873         * posix/tst-rfc3484-2.c: Likewise.
64874         * posix/tst-rfc3484-3.c: Likewise.
64876         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64877         process_vm_writev.
64878         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
64879         process_vm_writev.
64880         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
64881         process_vm_writev from libc using GLIBC_2.15 version.
64883         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
64885 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
64887         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
64888         stack usage.
64890 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
64892         [BZ #13367]
64893         * nss/getent.c (initgroups_keys): Show error message in case no group
64894         names are given.
64896         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
64897         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
64898         __bump_nl_timestamp.
64899         * nscd/connections (nscd_init): When host database is served open
64900         netlink socket and request notification about configuration changes.
64901         (main_loop_poll): Track netlink file descriptor and bump timestamp
64902         in case data becomes available.
64903         (main_loop_epoll): Likewise.
64904         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
64905         (database_pers_head): Add extra_data fileds.
64906         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
64907         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
64908         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
64909         Adjust caller.
64910         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
64911         in6ai data, call __free_in6ai.
64912         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
64913         Add -DHAVE_NETLINK.
64914         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
64915         interface information.  Reuse previous data if netlink timestamp
64916         is not changed.
64917         (__bump_nl_timestamp): New function.
64918         (__free_in6ai): New function.
64920 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
64922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
64923         close_not_cancel_no_status here.
64924         (__check_pf): Reorganize code a bit to not call close twice if OOM.
64926 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64928         [BZ #13276]
64929         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
64930         return value.
64932         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
64933         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
64934         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
64936 2011-07-03  Andreas Jaeger  <aj@suse.de>
64938         [BZ #10709]
64939         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64940         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64941         * math/libm-test.inc (sin_test): Add test case.
64943 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64945         [BZ #13337]
64946         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64947         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64949         * elf/chroot_canon.c (chroot_canon): Cleanups.
64951         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64953         [BZ #13335]
64954         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64955         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64957         * string/test-strchr.c: Make usable for strchrnul testing.
64958         * string/test-strchrnul.c: New file.
64959         * string/Makefile (strop-tests): Add strchrnul.
64961         * po/it.po: Update from translation team.
64962         * po/es.po: Likewise.
64964 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64966         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64967         the three constants needed as parameters.  Drop the others.
64968         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64969         __m128i_strloadu_tolower.
64970         Create and initialize variable zero and use it in all the places
64971         where _mm_setzero_si128 was used.
64973         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64974         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64975         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64976         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64977         anymore.
64978         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64979         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64980         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64981         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64982         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64983         __mpranred, __mptan.
64984         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64985         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64986         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64987         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64988         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64989         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64990         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64991         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64992         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64994 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64996         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64997         redefine if SHARED.
64998         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65001         wide char related routines to wcsmbs subdir.
65003 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65005         [BZ #13344]
65006         * misc/sys/cdefs.h (__THROWNL): Define.
65007         * posix/unistd.h: Use __THREADNL instead of __THREAD
65008         for memory synchronization functions.
65010 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65012         [BZ #13349]
65013         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65014         doesn't exist.
65015         * manual/stdio.texi (Obstack Streams): Node removed.
65017 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65019         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65020         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65021         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65023         * math/math_private.h (math_force_eval): Allow non-addressable
65024         arguments.
65025         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65027 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65029         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65030         file is not needed.
65032         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65033         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65034         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65035         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65036         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65037         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65038         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65039         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65040         Add AVX variants.
65041         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65042         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65043         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65044         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65045         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65046         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65047         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65048         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65049         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65050         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65051         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65052         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65053         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65054         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65055         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65056         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65057         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65058         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65059         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65061         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65062         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65064         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65065         place.  Use VEX encoding when compiling for AVX.
65067 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65069         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65070         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65072         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65074 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65076         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65077         useless if() expression.
65078         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65079         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65080         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65081         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65082         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65084         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65085         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65086         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65087         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65088         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65089         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65090         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65091         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65092         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65093         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65094         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65095         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65096         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65098         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65100 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65102         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65103         condition.
65104         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65106 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65108         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65109         .text section.  Avoid duplicate constants.
65110         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65111         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65112         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65118         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65119         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65120         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65121         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65122         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65123         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65124         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65125         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65126         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65127         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65128         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65129         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65130         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65131         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65132         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65133         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65134         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65135         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65136         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65137         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65138         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65139         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65140         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65141         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65142         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65143         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65144         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65145         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65146         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65147         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65148         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65149         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65150         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65151         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65152         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65153         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65154         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65156 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65158         * sysdeps/x86_64/dla.h: Move to ...
65159         * sysdeps/x86_64/fpu/dla.h: ...here.
65160         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65161         situations.  Use __builtin_fma only for gcc 4.6 and up.
65163         * config.make.in: Add have-mfma4 entry.
65164         * configure.in: Substitute libc_cv_cc_fma4.
65165         * math/Makefile (dbl-only-routines): Add sincostab.
65166         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65167         Use __sincostab not sincos.
65168         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65169         name is a macro.
65170         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65174         using __copysign.
65175         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65176         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65177         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65178         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65179         and __inv.
65180         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65181         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65182         __copysign.
65183         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65184         define aliases when function name is a macro.
65185         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65186         sysdeps/ieee754/dbl-64/sincos.tbl.
65187         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65188         fma4-enabled routines.
65189         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65190         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65191         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65192         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65193         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65194         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65195         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65196         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65197         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65198         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65199         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65200         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65201         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65202         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65203         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65204         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65205         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65206         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65207         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65208         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65209         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65210         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65211         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65212         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65213         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65214         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65215         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65216         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65217         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65218         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65220         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65221         rename.
65222         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65224         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65227         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65228         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65229         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65231 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65233         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65235 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65237         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65239         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65240         prediction.
65241         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65243         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65244         Remove unused variable magic_bits.
65245         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65247         * string/strnlen.c: Define and use STRNLEN macro.
65248         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65249         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65250         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65251         * wcsmbs/wcslen.c: Define and use WCSLEN.
65252         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65253         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65254         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65255         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65256         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65257         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65258         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65260 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65263         strnlen-sse2-no-bsf.
65264         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65265         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65266         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65267         Add strnlen support.
65268         (USE_AS_STRNLEN): New macro.
65269         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65270         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65271         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65272         * sysdeps/x86_64/wcslen.S: New file.
65274 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65276         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65277         XMM-moves are used for copying on small sizes.
65279 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65281         * wcsmbs/Makefile (strop-tests): Add wcschr.
65282         * wcsmbs/test-wcschr.c: New file.
65283         * string/test-strchr.c: Update.
65284         Add wcschr support.
65285         (WIDE): New macro.
65287 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65289         * wcsmbs/Makefile (strop-tests): Add wcslen.
65290         * wcsmbs/test-wcslen.c: New file.
65291         * string/test-strlen.c: Update.
65292         Add wcslen support.
65293         (WIDE): New macro.
65295 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65297         * po/it.po: Update from translation team.
65299 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65301         * sysdeps/x86_64/wcscmp.S: Update.
65302         Fix wrong comparison semantics.
65303         wcscmp shall use signed comparison not unsigned.
65304         Don't use substraction to avoid overflow bug.
65305         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65306         * wcsmbc/wcscmp.c: Likewise.
65307         * string/test-strcmp.c: Likewise.
65308         Add new tests to check cases with negative values.
65310 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65312         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65313         * sysdeps/x86_64/dla.h: ...here.  New file.
65314         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65315         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65316         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65317         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65318         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65319         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65320         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65322         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65324 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65327         __ynl_finite aliases.
65329 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65333         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65334         define DLA_FMA.
65335         [DLA_FMA] (EMULV): Use DLA_FMA.
65336         [DLA_FMA] (MUL12): Use EMULV.
65337         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65338         that are not needed.
65339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65340         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65342         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65343         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65344         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65347 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65349         * math/s_nan.c: Undef __nan.
65350         * math/s_nanf.c: Undef __nanf.
65351         * math/s_nanl.c: Undef __nanl.
65352         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65353         "math_private.h".
65355 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65357         * math/s_catan.c: Add branch predictions.
65358         * math/s_catanf.c: Likewise.
65359         * math/s_catanh.c: Likewise.
65360         * math/s_catanhf.c: Likewise.
65361         * math/s_catanhl.c: Likewise.
65362         * math/s_catanl.c: Likewise.
65363         * math/s_cexp.c: Likewise.
65364         * math/s_cexpf.c: Likewise.
65365         * math/s_cexpl.c: Likewise.
65366         * math/s_clog.c: Likewise.
65367         * math/s_clog10.c: Likewise.
65368         * math/s_clog10f.c: Likewise.
65369         * math/s_clog10l.c: Likewise.
65370         * math/s_clogf.c: Likewise.
65371         * math/s_clogl.c: Likewise.
65372         * math/s_csqrt.c: Likewise.
65373         * math/s_csqrtf.c: Likewise.
65374         * math/s_csqrtl.c: Likewise.
65375         * math/s_ctanf.c: Likewise.
65376         * math/s_ctanh.c: Likewise.
65377         * math/s_ctanhf.c: Likewise.
65378         * math/s_ctanhl.c: Likewise.
65379         * math/s_ctanl.c: Likewise.
65381         * math/math_private.h: Define __nan, __nanf, __nanl.
65382         * math/s_cacosh.c: Include <math_private.h>.
65383         * math/s_cacoshl.c: Likewise.
65384         * math/s_casinh.c: Likewise.
65385         * math/s_casinhf.c: Likewise.
65386         * math/s_casinhl.c: Likewise.
65387         * math/s_ccos.c: Rely entire on ccosh.
65388         * math/s_ccosf.c: Rely entire on ccoshf.
65389         * math/s_ccosl.c: Rely entirely on ccoshl.
65390         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65391         Remove tests for FE_INVALID.
65392         * math/s_ccoshf.c: Likewise.
65393         * math/s_ccoshl.c: Likewise.
65394         * math/s_csin.c: Likewise.
65395         * math/s_csinf.c: Likewise.
65396         * math/s_csinh.c Likewise.
65397         * math/s_csinhf.c: Likewise.
65398         * math/s_csinhl.c: Likewise.
65399         * math/s_csinl.c: Likewise.
65400         * math/s_ctan.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65402         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65403         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65405 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65408         compilation problems.
65410         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65411         __builtin_expect.
65413 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65415         * sysdeps/i386/configure.in: Test for -mfma4 option.
65416         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65417         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65418         COMMON_CPUID_INDEX_80000001.
65419         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65420         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65421         use it if FMA3 is not supported.
65422         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65424         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65425         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65427 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65429         [BZ #12892]
65430         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65431         it would create a cycle with a link time dependency.
65433 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65435         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65436         instruction.
65437         * string/Makefile (strop-tests): Add rawmemchr.
65438         * string/test-rawmemchr.c: New file.
65440         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65442         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65443         when compiling str{,n}casecmp and when AVX is available.  Hook up
65444         new optimized code in initializers.
65446 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65448         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65449         __feraiseexcept instead of feraiseexcept.
65451 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65453         * math/math_private.h: Define defaults for libc_fetestexcept and
65454         libc_feupdateenv.
65455         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65456         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65457         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65458         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65459         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65460         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65461         libc_fetestexcept and libc_feupdateenv.
65463         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65464         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65465         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65466         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65467         libc_feholdexcept_setround.
65469         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65470         Add s_nearbyint-c and s_nearbyintf-c.
65471         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65472         nearbyintf inlines.
65473         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65474         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65475         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65476         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65478         * math/math_private.h: Define defaults for libc_fegetround,
65479         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65480         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65481         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65482         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65483         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65484         standard functions.
65485         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65486         Remove comments and hacks for old compiler versions.
65487         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65488         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65489         libc_feholdexceptl.
65491 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65493         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65494         (__feraiseexcept_renamed): Add __NTH.
65495         (feraiseexcept): Add __NTH.  Rename local variables to fix
65496         namespace violations.
65498 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65500         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65502         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
65504         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
65505         recently added interfaces.
65506         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
65508         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
65509         about macro parameter expansion.
65511         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
65512         __NO_MATH_INLINES is defined.  Cleanups.
65514         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
65515         and __floorf is target has SSE4.1.
65516         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
65517         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
65518         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
65519         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
65521         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
65522         name.
65523         (floorf): Likewise.
65525         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
65527 2011-10-17  Andreas Schwab  <schwab@redhat.com>
65529         * misc/sys/cdefs.h: Fix last change.
65531         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
65532         database lookup.
65534 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
65536         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
65538         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
65539         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65540         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65541         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65542         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65543         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65544         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65545         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65546         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65547         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
65548         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
65549         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
65550         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
65551         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
65552         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
65553         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
65554         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
65555         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
65556         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
65557         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
65558         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
65559         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
65561         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
65562         ceil, ceilf, floor, floorf.
65564         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
65565         Perform IRELATIVE relocations last.
65567         * elf/do-rel.h: Add another parameter nrelative, replacing the
65568         local variable with the same name.  Change name of the function
65569         to end in Rel or Rela (uppercase).
65570         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
65571         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
65572         elf_dynamic_do_##reloc function.
65574 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65576         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
65577         is sufficient, at least on modern CPUs.
65579         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
65581         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
65582         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
65584         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
65585         __expl_finite.
65586         * math/bits/math-finite.h: Add entries for exp.
65587         * math/e_expl.c: Add __*_finite alias.
65588         * sysdeps/i386/fpu/e_exp.S: Likewise.
65589         * sysdeps/i386/fpu/e_expf.S: Likewise.
65590         * sysdeps/i386/fpu/e_expl.c: Likewise.
65591         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65592         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65593         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65594         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65595         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
65596         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65597         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65599         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
65600         is sufficient, at least on modern CPUs.
65602         * ctype/ctype-info.c (__ctype_init): Define.
65603         * include/ctype.h (__ctype_init): Declare.
65604         (__ctype_b_loc): The variable is always initialized.
65605         (__ctype_toupper_loc): Likewise.
65606         (__ctype_tolower_loc): Likewise.
65607         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
65608         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
65610 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
65612         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
65614         * configure.in: Also look in $cxxmachine/include for C++ system
65615         headers.
65617 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65619         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
65620         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
65621         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
65622         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
65623         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
65624         (USE_AS_WMEMCMP): New macro.
65625         Fixing indents.
65626         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
65627         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
65628         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
65629         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
65630         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65631         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
65632         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
65633         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
65634         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
65635         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
65636         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
65637         (USE_AS_WMEMCMP): New macro.
65638         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
65639         * sysdeps/string/test-memcmp.c: Update.
65640         Fix simple_wmemcmp.
65641         Add new tests.
65642         * wcsmbs/wmemcmp.c: Update.
65643         (WMEMCMP): New macro.
65644         Fix overflow bug.
65646 2011-10-12  Andreas Jaeger  <aj@suse.de>
65648         [BZ #13268]
65649         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
65651 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
65653         * libio/iofwide.c (do_length): Avoid warning.
65655         * ctype/ctype.h (__isctype_f): Add missing __THROW.
65657 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
65659         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
65661         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
65662         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
65663         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
65664         * sysdeps/i386/i686/fpu/e_log.S: New file.
65665         * sysdeps/i386/i686/fpu/e_logf.S: New file.
65666         * sysdeps/i386/i686/fpu/e_logl.S: New file.
65668         * ctype/ctype.h: Add support for inlined isXXX functions when
65669         compiling C++ code.
65671 2011-10-14  Andreas Schwab  <schwab@redhat.com>
65673         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65675         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
65677 2011-10-13  Roland McGrath  <roland@hack.frob.com>
65679         [BZ #13291]
65680         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
65682 2011-10-13  Andreas Schwab  <schwab@redhat.com>
65684         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
65685         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
65686         feraiseexcept.
65688         * sysdeps/x86_64/memrchr.S: Check for zero size.
65690         * string/stratcliff.c: Add memrchr tests.
65692 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65694         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65695         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
65696         rawmemchr-sse2 rawmemchr-sse2-bsf.
65697         * sysdeps/i386/i686/multiarch/memchr.S: New file.
65698         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
65699         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
65700         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
65701         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
65702         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
65703         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
65704         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
65705         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
65706         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
65707         * string/memrchr.c (MEMRCHR): New macro.
65709 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
65711         Add integration with gcc's -ffinite-math-only and optimize wrapper
65712         functions in libm.
65713         * Versions.def: Define GLIBC_2.15 version for libm.
65714         * math/Makefile (headers): Add bits/math-finite.h.
65715         * math/bits/math-finite.h: New file.
65716         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
65717         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
65718         * math/e_acoshl.c: Add __*_finite alias.
65719         * math/e_acosl.c: Likewise.
65720         * math/e_asinl.c: Likewise.
65721         * math/e_atan2l.c: Likewise.
65722         * math/e_atanhl.c: Likewise.
65723         * math/e_coshl.c: Likewise.
65724         * math/e_exp10.c: Likewise.
65725         * math/e_exp10f.c: Likewise.
65726         * math/e_exp10l.c: Likewise.
65727         * math/e_exp2l.c: Likewise.
65728         * math/e_fmodl.c: Likewise.
65729         * math/e_gammal_r.c: Likewise.
65730         * math/e_hypotl.c: Likewise.
65731         * math/e_j0l.c: Likewise.
65732         * math/e_j1l.c: Likewise.
65733         * math/e_jnl.c: Likewise.
65734         * math/e_lgammal_r.c: Likewise.
65735         * math/e_log10l.c: Likewise.
65736         * math/e_log2l.c: Likewise.
65737         * math/e_logl.c: Likewise.
65738         * math/e_powl.c: Likewise.
65739         * math/e_sinhl.c: Likewise.
65740         * math/e_sqrtl.c: Likewise.
65741         * math/e_scalb.c: Completely rewritten and optimized.
65742         * math/e_scalbf.c: Likewise.
65743         * math/e_scalbl.c: Likewise.
65744         * math/w_acos.c: Likewise.
65745         * math/w_acosf.c: Likewise.
65746         * math/w_acosl.c: Likewise.
65747         * math/w_acosh.c: Likewise.
65748         * math/w_acoshf.c: Likewise.
65749         * math/w_acoshl.c: Likewise.
65750         * math/w_asin.c: Likewise.
65751         * math/w_asinf.c: Likewise.
65752         * math/w_asinl.c: Likewise.
65753         * math/w_atan2.c: Likewise.
65754         * math/w_atan2f.c: Likewise.
65755         * math/w_atan2l.c: Likewise.
65756         * math/w_atanh.c: Likewise.
65757         * math/w_atanhf.c: Likewise.
65758         * math/w_atanhl.c: Likewise.
65759         * math/w_exp10.c: Likewise.
65760         * math/w_exp10f.c: Likewise.
65761         * math/w_exp10l.c: Likewise.
65762         * math/w_fmod.c: Likewise.
65763         * math/w_fmodf.c: Likewise.
65764         * math/w_fmodl.c: Likewise.
65765         * math/w_j0.c: Likewise.
65766         * math/w_j0f.c: Likewise.
65767         * math/w_j0l.c: Likewise.
65768         * math/w_j1.c: Likewise.
65769         * math/w_j1f.c: Likewise.
65770         * math/w_j1l.c: Likewise.
65771         * math/w_jn.c: Likewise.
65772         * math/w_jnf.c: Likewise.
65773         * math/w_log.c: Likewise.
65774         * math/w_logf.c: Likewise.
65775         * math/w_logl.c: Likewise.
65776         * math/w_log10.c: Likewise.
65777         * math/w_log10f.c: Likewise.
65778         * math/w_log10l.c: Likewise.
65779         * math/w_log2.c: Likewise.
65780         * math/w_log2f.c: Likewise.
65781         * math/w_log2l.c: Likewise.
65782         * math/w_pow.c: Likewise.
65783         * math/w_powf.c: Likewise.
65784         * math/w_powl.c: Likewise.
65785         * math/w_remainder.c: Likewise.
65786         * math/w_remainderf.c: Likewise.
65787         * math/w_remainderl.c: Likewise.
65788         * math/w_scalb.c: Likewise.
65789         * math/w_scalbf.c: Likewise.
65790         * math/w_scalbl.c: Likewise.
65791         * math/w_sqrt.c: Likewise.
65792         * math/w_sqrtf.c: Likewise.
65793         * math/w_sqrtl.c: Likewise.
65794         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
65795         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
65796         used.
65797         * math/math_private.h: Declare __kernel_standard_f.
65798         * math/w_cosh.c: Remove cruft and optimize a bit.
65799         * math/w_coshf.c: Likewise.
65800         * math/w_coshl.c: Likewise.
65801         * math/w_exp2.c: Likewise.
65802         * math/w_exp2f.c: Likewise.
65803         * math/w_exp2l.c: Likewise.
65804         * math/w_hypot.c: Likewise.
65805         * math/w_hypotf.c: Likewise.
65806         * math/w_hypotl.c: Likewise.
65807         * math/w_lgamma.c: Likewise.
65808         * math/w_lgamma_r.c: Likewise.
65809         * math/w_lgammaf.c: Likewise.
65810         * math/w_lgammaf_r.c: Likewise.
65811         * math/w_lgammal.c: Likewise.
65812         * math/w_lgammal_r.c: Likewise.
65813         * math/w_sinh.c: Likewise.
65814         * math/w_sinhf.c: Likewise.
65815         * math/w_sinhl.c: Likewise.
65816         * math/w_tgamma.c: Likewise.
65817         * math/w_tgammaf.c: Likewise.
65818         * math/w_tgammal.c: Likewise.
65819         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65820         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65821         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
65822         Minor optimizations.  Pretty printing.  Remove cruft.
65823         * sysdeps/i386/fpu/e_acosf.S: Likewise.
65824         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65825         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65826         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65827         * sysdeps/i386/fpu/e_acosl.c: Likewise.
65828         * sysdeps/i386/fpu/e_asin.S: Likewise.
65829         * sysdeps/i386/fpu/e_asinf.S: Likewise.
65830         * sysdeps/i386/fpu/e_atan2.S: Likewise.
65831         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
65832         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
65833         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65834         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65835         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65836         * sysdeps/i386/fpu/e_exp10.S: Likewise.
65837         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
65838         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
65839         * sysdeps/i386/fpu/e_exp2.S: Likewise.
65840         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
65841         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
65842         * sysdeps/i386/fpu/e_fmod.S: Likewise.
65843         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
65844         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
65845         * sysdeps/i386/fpu/e_hypot.S: Likewise.
65846         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
65847         * sysdeps/i386/fpu/e_log.S: Likewise.
65848         * sysdeps/i386/fpu/e_log10.S: Likewise.
65849         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65850         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65851         * sysdeps/i386/fpu/e_log2.S: Likewise.
65852         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65853         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65854         * sysdeps/i386/fpu/e_logf.S: Likewise.
65855         * sysdeps/i386/fpu/e_logl.S: Likewise.
65856         * sysdeps/i386/fpu/e_pow.S: Likewise.
65857         * sysdeps/i386/fpu/e_powf.S: Likewise.
65858         * sysdeps/i386/fpu/e_powl.S: Likewise.
65859         * sysdeps/i386/fpu/e_remainder.S: Likewise.
65860         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
65861         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
65862         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65863         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65864         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65865         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
65866         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
65867         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
65868         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65869         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65871         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65872         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65873         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65874         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
65875         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65876         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65877         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65878         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65879         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65880         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65881         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65882         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65884         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65885         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65886         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65887         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65888         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65889         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65890         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65891         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65892         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65893         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65894         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65895         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65896         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
65897         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65898         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65899         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65900         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65901         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65902         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65903         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65904         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65905         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65906         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65907         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65908         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65909         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65910         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65911         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65912         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65913         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65914         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65915         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65916         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65917         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
65918         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65920         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65921         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65922         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65923         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65924         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65925         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65926         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65927         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65928         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65929         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65930         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65931         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65932         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65933         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65934         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65935         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65936         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65938         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65939         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65940         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65941         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65942         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65943         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65944         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65945         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65946         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65947         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65948         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65949         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65950         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65951         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65952         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65953         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65954         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65955         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65956         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65957         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65958         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65959         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65960         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65961         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65962         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65963         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65964         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65965         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65966         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65967         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65968         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65969         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65970         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65971         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65972         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65973         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65974         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65975         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65976         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65977         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65978         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65979         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65980         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65981         (__isnanf): Likewise.
65982         (__isinf_ns): Likewise.
65983         (__isinf_nsf): Likewise.
65984         (__finite): Likewise.
65985         (__finitef): Likewise.
65986         (__ieee754_sqrt): Define as macro.
65987         (__ieee754_sqrtf): Define as macro.
65988         (__ieee754_sqrtl): Define as macro.
65989         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65990         inlined copy.
65991         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65992         __FINITE_MATH_ONLY__ consistent.
65993         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65995 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65997         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65998         of rawmemchr.
66000         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66002 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66004         * po/ja.po: Update from translation team.
66006 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66008         * locale/programs/locarchive.c (prepare_address_space): New function.
66009         (create_archive, enlarge_archive, open_archive): Use it.
66011         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66012         inside [SHARED], where it is used.
66014         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66016         * nss/getent.c (netgroup_keys): Remove unused variable.
66017         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66019 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66021         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66022         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66023         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66024         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66025         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66026         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66027         * math/Makefile (libm-calls): Add s_isinf_ns.
66028         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66029         * math/multc3.c: Likewise.
66030         * math/s_casin.c: Likewise.
66031         * math/s_casinf.c: Likewise.
66032         * math/s_casinl.c: Likewise.
66033         * math/s_ccos.c: Likewise.
66034         * math/s_ccosf.c: Likewise.
66035         * math/s_ccosl.c: Likewise.
66036         * math/s_ctan.c: Likewise.
66037         * math/s_ctanf.c: Likewise.
66038         * math/s_ctanh.c: Likewise.
66039         * math/s_ctanhf.c: Likewise.
66040         * math/s_ctanhl.c: Likewise.
66041         * math/s_ctanl.c: Likewise.
66042         * math/w_fmod.c: Likewise.
66043         * math/w_fmodf.c: Likewise.
66044         * math/w_fmodl.c: Likewise.
66045         * math/w_remainder.c: Likewise.
66046         * math/w_remainderf.c: Likewise.
66047         * math/w_remainderl.c: Likewise.
66048         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66049         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66050         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66051         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66052         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66053         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66054         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66055         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66057         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66058         of the number.
66059         * stdio-common/printf_fphex.c: Likewise.
66060         * stdio-common/printf_size.c: Likewise.
66062         * math/e_exp10.c: Include math_private.h using <...> not "...".
66063         * math/e_exp10f.c: Likewise.
66064         * math/e_exp10l.c: Likewise.
66065         * math/e_exp2l.c: Likewise.
66066         * math/e_j0l.c: Likewise.
66067         * math/e_j1l.c: Likewise.
66068         * math/e_jnl.c: Likewise.
66069         * math/e_lgammal_r.c: Likewise.
66070         * math/e_rem_pio2l.c: Likewise.
66071         * math/e_scalb.c: Likewise.
66072         * math/e_scalbf.c: Likewise.
66073         * math/e_scalbl.c: Likewise.
66074         * math/k_cosl.c: Likewise.
66075         * math/k_sinl.c: Likewise.
66076         * math/k_tanl.c: Likewise.
66077         * math/s_cacoshf.c: Likewise.
66078         * math/s_catan.c: Likewise.
66079         * math/s_catanf.c: Likewise.
66080         * math/s_catanh.c: Likewise.
66081         * math/s_catanhf.c: Likewise.
66082         * math/s_catanhl.c: Likewise.
66083         * math/s_catanl.c: Likewise.
66084         * math/s_ccosh.c: Likewise.
66085         * math/s_ccoshf.c: Likewise.
66086         * math/s_ccoshl.c: Likewise.
66087         * math/s_cexp.c: Likewise.
66088         * math/s_cexpf.c: Likewise.
66089         * math/s_cexpl.c: Likewise.
66090         * math/s_clog.c: Likewise.
66091         * math/s_clog10.c: Likewise.
66092         * math/s_clog10f.c: Likewise.
66093         * math/s_clog10l.c: Likewise.
66094         * math/s_clogf.c: Likewise.
66095         * math/s_clogl.c: Likewise.
66096         * math/s_csin.c: Likewise.
66097         * math/s_csinf.c: Likewise.
66098         * math/s_csinh.c: Likewise.
66099         * math/s_csinhf.c: Likewise.
66100         * math/s_csinhl.c: Likewise.
66101         * math/s_csinl.c: Likewise.
66102         * math/s_csqrt.c: Likewise.
66103         * math/s_csqrtf.c: Likewise.
66104         * math/s_csqrtl.c: Likewise.
66105         * math/s_ctan.c: Likewise.
66106         * math/s_ctanf.c: Likewise.
66107         * math/s_ctanh.c: Likewise.
66108         * math/s_ctanhf.c: Likewise.
66109         * math/s_ctanhl.c: Likewise.
66110         * math/s_ctanl.c: Likewise.
66111         * math/s_ldexp.c: Likewise.
66112         * math/s_ldexpf.c: Likewise.
66113         * math/s_ldexpl.c: Likewise.
66114         * math/s_significand.c: Likewise.
66115         * math/s_significandf.c: Likewise.
66116         * math/s_significandl.c: Likewise.
66117         * math/w_acos.c: Likewise.
66118         * math/w_acosf.c: Likewise.
66119         * math/w_acosh.c: Likewise.
66120         * math/w_acoshf.c: Likewise.
66121         * math/w_acoshl.c: Likewise.
66122         * math/w_acosl.c: Likewise.
66123         * math/w_asin.c: Likewise.
66124         * math/w_asinf.c: Likewise.
66125         * math/w_asinl.c: Likewise.
66126         * math/w_atan2.c: Likewise.
66127         * math/w_atan2f.c: Likewise.
66128         * math/w_atan2l.c: Likewise.
66129         * math/w_atanh.c: Likewise.
66130         * math/w_atanhf.c: Likewise.
66131         * math/w_atanhl.c: Likewise.
66132         * math/w_cosh.c: Likewise.
66133         * math/w_coshf.c: Likewise.
66134         * math/w_coshl.c: Likewise.
66135         * math/w_dremf.c: Likewise.
66136         * math/w_exp10.c: Likewise.
66137         * math/w_exp10f.c: Likewise.
66138         * math/w_exp10l.c: Likewise.
66139         * math/w_exp2.c: Likewise.
66140         * math/w_exp2f.c: Likewise.
66141         * math/w_fmod.c: Likewise.
66142         * math/w_fmodf.c: Likewise.
66143         * math/w_fmodl.c: Likewise.
66144         * math/w_hypot.c: Likewise.
66145         * math/w_hypotf.c: Likewise.
66146         * math/w_hypotl.c: Likewise.
66147         * math/w_j0.c: Likewise.
66148         * math/w_j0f.c: Likewise.
66149         * math/w_j0l.c: Likewise.
66150         * math/w_j1.c: Likewise.
66151         * math/w_j1f.c: Likewise.
66152         * math/w_j1l.c: Likewise.
66153         * math/w_jn.c: Likewise.
66154         * math/w_jnf.c: Likewise.
66155         * math/w_jnl.c: Likewise.
66156         * math/w_lgamma.c: Likewise.
66157         * math/w_lgamma_r.c: Likewise.
66158         * math/w_lgammaf.c: Likewise.
66159         * math/w_lgammaf_r.c: Likewise.
66160         * math/w_lgammal.c: Likewise.
66161         * math/w_lgammal_r.c: Likewise.
66162         * math/w_log.c: Likewise.
66163         * math/w_log10.c: Likewise.
66164         * math/w_log10f.c: Likewise.
66165         * math/w_log10l.c: Likewise.
66166         * math/w_log2.c: Likewise.
66167         * math/w_log2f.c: Likewise.
66168         * math/w_log2l.c: Likewise.
66169         * math/w_logf.c: Likewise.
66170         * math/w_logl.c: Likewise.
66171         * math/w_pow.c: Likewise.
66172         * math/w_powf.c: Likewise.
66173         * math/w_powl.c: Likewise.
66174         * math/w_remainder.c: Likewise.
66175         * math/w_remainderf.c: Likewise.
66176         * math/w_remainderl.c: Likewise.
66177         * math/w_scalb.c: Likewise.
66178         * math/w_scalbf.c: Likewise.
66179         * math/w_scalbl.c: Likewise.
66180         * math/w_sinh.c: Likewise.
66181         * math/w_sinhf.c: Likewise.
66182         * math/w_sinhl.c: Likewise.
66183         * math/w_sqrt.c: Likewise.
66184         * math/w_sqrtf.c: Likewise.
66185         * math/w_sqrtl.c: Likewise.
66186         * math/w_tgamma.c: Likewise.
66187         * math/w_tgammaf.c: Likewise.
66188         * math/w_tgammal.c: Likewise.
66190         * po/ja.po: Update from translation team.
66192 2011-09-29  Andreas Jaeger  <aj@suse.de>
66194         [BZ #13179]
66195         * sunrpc/netname.c (netname2host): Fix logic.
66197         [BZ #6779]
66198         [BZ #6783]
66199         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66200         correctly.
66201         * math/w_remainder.c (__remainder): Likewise.
66202         * math/w_remainderf.c (__remainderf): Likewise.
66203         * math/libm-test.inc (remainder_test): Add test cases.
66205 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66207         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66208         sdiv_qrnnd.
66210 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66212         * string/test-memcmp.c: Avoid unncessary #defines.
66213         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66215 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66217         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66218         Use new sse2 version for core i3 - i7 as it's faster
66219         than sse42 version.
66220         (bit_Prefer_PMINUB_for_stringop): New.
66221         * sysdeps/x86_64/rawmemchr.S: Update.
66222         Replace with faster SSE2 version.
66223         * sysdeps/x86_64/memrchr.S: New file.
66224         * sysdeps/x86_64/memchr.S: Update.
66225         Replace with faster SSE2 version.
66227 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66229         * elf/dl-load.c (lose): Add cast to avoid warning.
66231 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66233         * po/ca.po: Update from translation team.
66235         * inet/getnetgrent_r.c: Hook up nscd.
66236         * nscd/Makefile (routines): Add nscd_netgroup.
66237         (nscd-modules): Add netgroupcache.
66238         (CFLAGS-netgroupcache.c): Define.
66239         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66240         (cache_search): Add const to second parameter.
66241         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66242         INNETGR.
66243         (dbs): Add netgrdb entry.
66244         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66245         (verify_persistent_db): Handle netgrdb.
66246         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66247         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66248         GETFDNETGR.
66249         (netgroup_response_header): Define.
66250         (innetgroup_response_header): Define.
66251         (datahead): Add netgroup_response_header and innetgroup_response_header
66252         elements.
66253         * nscd/nscd.conf: Add entries for netgroup cache.
66254         * nscd/nscd.h (dbtype): Add netgrdb.
66255         (_PATH_NSCD_NETGROUP_DB): Define.
66256         (netgroup_iov_disabled): Declare.
66257         (xmalloc, xcalloc, xrealloc): Move declarations here.
66258         (cache_search): Adjust prototype.
66259         Add netgroup-related prototypes.
66260         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66261         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66262         (__nscd_innetgr): Declare.
66263         * nscd/selinux.c (perms): Use access_vector_t as element type and
66264         add netgroup-related initializers.
66265         * nscd/netgroupcache.c: New file.
66266         * nscd/nscd_netgroup.c: New file.
66267         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66268         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66269         For four parameters use innetgr.
66270         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66271         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66272         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66273         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66275         * nscd/connections.c (register_traced_file): Don't register file
66276         for disabled databases.
66278 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66280         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66282         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66283         from tree and freeing node.
66285 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66287         * nss/nsswitch.c (__nss_database_lookup): Handle
66288         nss_parse_service_list out of memory case.
66290 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66292         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66293         out of memory case.
66295 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66297         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66298         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66299         pass it down.
66300         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66301         elf_machine_rela, elf_machine_lazy_rel.
66302         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66303         (ELF_DYNAMIC_DO_REL): Likewise.
66304         (ELF_DYNAMIC_DO_RELA): Likewise.
66305         (ELF_DYNAMIC_RELOCATE): Likewise.
66306         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66307         to ELF_DYNAMIC_DO_REL.
66308         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66309         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66310         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66311         elf_machine_rela.
66312         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66313         skip_ifunc, don't call ifunc function if non-zero.
66314         (elf_machine_rela): Likewise.
66315         (elf_machine_lazy_rel): Likewise.
66316         (elf_machine_lazy_rela): Likewise.
66317         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66318         (elf_machine_lazy_rel): Likewise.
66319         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66320         Likewise.
66321         (elf_machine_lazy_rel): Likewise.
66322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66323         Likewise.
66324         (elf_machine_lazy_rel): Likewise.
66325         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66326         (elf_machine_lazy_rel): Likewise.
66327         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66328         (elf_machine_lazy_rel): Likewise.
66329         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66330         (elf_machine_lazy_rel): Likewise.
66331         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66332         (elf_machine_lazy_rel): Likewise.
66333         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66334         (elf_machine_lazy_rel): Likewise.
66335         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66336         (elf_machine_lazy_rel): Likewise.
66338 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66340         * nss/nss_files/files-init.c (_nss_files_init): Use static
66341         initialization for all the *_traced_file variables.
66343 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66345         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66347 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66349         [BZ #13226]
66350         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66352 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66355         Reread the line before reparsing it.
66357 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66359         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66361 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66362             Maxim Kuvyrkov  <maxim@codesourcery.com>
66363             Joseph Myers  <joseph@codesourcery.com>
66365         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66366         if needed for __stack_chk_guard.
66368 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66370         * sysdeps/posix/spawni.c (script_execute): Always define it.
66371         It will be optimized away if unused.
66372         (maybe_script_execute): New function.
66373         (__spawni): Call it.
66375         * Makerules: Don't include tls.make.
66376         (config-tls): Always set to thread.
66377         * tls.make.c: File removed.
66379 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66381         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66382         * config.make.in (CPPFLAGS-config): New substituted variable.
66384 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66386         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66388         [BZ #13192]
66389         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66390         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66392 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66394         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66395         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66396         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66397         (CALL_FAIL): Likewise.
66398         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66399         (CALL_FAIL): Macro removed.
66400         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66402 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66404         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66405         for __FINITE_MATH_ONLY__ == 1.
66407 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66409         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66410         __ieee754_sqrt instead of sqrt.
66411         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66412         __ieee754_sqrtf instead of sqrtf.
66413         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66414         __floorf instead of floorf.
66415         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66416         __floorf, __truncf instead of floorf, truncf.
66418 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66420         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66422         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66423         __extern_always_inline.
66424         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66425         32-bit.
66427 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66429         * elf/rtld.c (dl_main): Also relocate in dependency order when
66430         doing symbol dependency testing.
66432 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66434         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66435         Always define `refsym'.
66437 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66439         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66440         (__FD_ELT): Renamed from __FDELT.
66441         * misc/bits/select2.h (__FD_ELT): Likewise.
66442         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66443         __FD_MASK instead of __FDELT, __FDMASK.
66444         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66445         Likewise.
66446         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66447         Likewise.
66449         * elf/Makefile (gen-ldd): Fix pattern.
66451         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66452         (init_tls): Likewise.
66454 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66458 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66460         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66461         `struct cmsghdr *' instead of `void *'.
66462         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66463         Likewise.
66465 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66467         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66468         if non-absolute.
66469         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66470         ldd_rewrite_script.
66472 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66474         * configure.in: Remove --with-tls option.
66475         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66476         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66477         out in case it is missing.
66478         * sysdeps/ia64/elf/configure.in: Likewise.
66479         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66480         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66481         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66482         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66483         * sysdeps/sh/elf/configure.in: Likewise.
66484         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66485         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66486         * sysdeps/x86_64/elf/configure.in: Likewise.
66487         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66488         * sysdeps/mach/hurd/tls.h: Likewise.
66490         [BZ #13067]
66491         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66493         [BZ #13090]
66494         * configure.in: Fix use of AC_INIT.
66496         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66498 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66500         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66501         __set_errno.
66502         * malloc/hooks.c: Likewise.
66504         [BZ #11929]
66505         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
66506         variables statically.
66507         (narenas): Initialize.
66508         (list_lock): Initialize.
66509         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
66510         initializtion of main_arena and list_lock.  Small cleanups.
66511         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
66512         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
66513         Add initializers to main_arena and mp_.
66514         (malloc_state): Remove pagesize member.  Change all users to use
66515         GLRO(dl_pagesize).
66517         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
66518         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
66519         is always initialized.
66521         * malloc/malloc.c: Removed unused configurations and dead code.
66522         * malloc/arena.c: Likewise.
66523         * malloc/hooks.c: Likewise.
66524         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
66526         * include/tls.h: Removed.  USE___THREAD must always be defined.
66527         * bits/libc-tsd.h: Don't handle !USE___THREAD.
66528         * elf/dl-libc.c: Likewise.
66529         * elf/dl-tsd.c: Likewise.
66530         * include/errno.h: Likewise.
66531         * include/netdb.h: Likewise.
66532         * include/resolv.h: Likewise.
66533         * inet/herrno-loc.c: Likewise.
66534         * inet/herrno.c: Likewise.
66535         * malloc/arena.c: Likewise.
66536         * malloc/hooks.c: Likewise.
66537         * malloc/malloc.c: Likewise.
66538         * resolv/res-state.c: Likewise.
66539         * resolv/res_libc.c: Likewise.
66540         * sysdeps/i386/dl-machine.h: Likewise.
66541         * sysdeps/ia64/dl-machine.h: Likewise.
66542         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
66543         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66544         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
66545         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
66546         * sysdeps/sh/dl-machine.h: Likewise.
66547         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66548         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66549         * sysdeps/unix/i386/sysdep.S: Likewise.
66550         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66551         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
66552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
66553         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
66554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
66555         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
66556         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
66557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
66560         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66561         * sysdeps/x86_64/dl-machine.h: Likewise.
66562         * tls.make.c: Likewise.
66564         * configure.in: Remove --with-__thread option.  Make tests for
66565         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
66566         tls_model attribute fail if no support is available.  Remove
66567         USE_IN_LIBIO.
66568         * Makeconfig: Adjust for dropped configure option.  All features are
66569         now mandatory.
66570         * Makerules: Likewise.
66571         * Versions.def: Likewise.
66572         * argp/argp-fmtstream.c: Likewise.
66573         * argp/argp-fmtstream.h: Likewise.
66574         * argp/argp-help.c: Likewise.
66575         * assert/assert.c: Likewise.
66576         * config.h.in: Likewise.
66577         * config.make.in: Likewise.
66578         * configure: Likewise.
66579         * configure.in: Likewise.
66580         * csu/Versions: Likewise.
66581         * csu/init.c: Likewise.
66582         * elf/tst-audit2.c: Likewise.
66583         * elf/tst-tls10.c: Likewise.
66584         * elf/tst-tls10.h: Likewise.
66585         * elf/tst-tls11.c: Likewise.
66586         * elf/tst-tls12.c: Likewise.
66587         * elf/tst-tls14.c: Likewise.
66588         * elf/tst-tlsmod11.c: Likewise.
66589         * elf/tst-tlsmod12.c: Likewise.
66590         * elf/tst-tlsmod13.c: Likewise.
66591         * elf/tst-tlsmod13a.c: Likewise.
66592         * elf/tst-tlsmod14a.c: Likewise.
66593         * elf/tst-tlsmod15b.c: Likewise.
66594         * elf/tst-tlsmod16a.c: Likewise.
66595         * elf/tst-tlsmod16b.c: Likewise.
66596         * elf/tst-tlsmod7.c: Likewise.
66597         * elf/tst-tlsmod8.c: Likewise.
66598         * elf/tst-tlsmod9.c: Likewise.
66599         * gmon/gmon.c: Likewise.
66600         * grp/fgetgrent_r.c: Likewise.
66601         * grp/putgrent.c: Likewise.
66602         * hurd/fopenport.c: Likewise.
66603         * include/libc-symbols.h: Likewise.
66604         * include/tls.h: Likewise.
66605         * intl/gettextP.h: Likewise.
66606         * intl/loadinfo.h: Likewise.
66607         * locale/global-locale.c: Likewise.
66608         * locale/localeinfo.h: Likewise.
66609         * mach/devstream.c: Likewise.
66610         * malloc/arena.c: Likewise.
66611         * malloc/set-freeres.c: Likewise.
66612         * misc/err.c: Likewise.
66613         * misc/getttyent.c: Likewise.
66614         * misc/mntent_r.c: Likewise.
66615         * posix/getopt.c: Likewise.
66616         * posix/wordexp.c: Likewise.
66617         * pwd/fgetpwent_r.c: Likewise.
66618         * resolv/Versions: Likewise.
66619         * resolv/res_hconf.c: Likewise.
66620         * shadow/fgetspent_r.c: Likewise.
66621         * shadow/putspent.c: Likewise.
66622         * stdio-common/printf_fphex.c: Likewise.
66623         * stdio-common/tmpfile.c: Likewise.
66624         * stdlib/abort.c: Likewise.
66625         * stdlib/fmtmsg.c: Likewise.
66626         * sunrpc/auth_unix.c: Likewise.
66627         * sunrpc/clnt_perr.c: Likewise.
66628         * sunrpc/clnt_tcp.c: Likewise.
66629         * sunrpc/clnt_udp.c: Likewise.
66630         * sunrpc/clnt_unix.c: Likewise.
66631         * sunrpc/openchild.c: Likewise.
66632         * sunrpc/svc_simple.c: Likewise.
66633         * sunrpc/svc_tcp.c: Likewise.
66634         * sunrpc/svc_udp.c: Likewise.
66635         * sunrpc/svc_unix.c: Likewise.
66636         * sunrpc/xdr.c: Likewise.
66637         * sunrpc/xdr_array.c: Likewise.
66638         * sunrpc/xdr_rec.c: Likewise.
66639         * sunrpc/xdr_ref.c: Likewise.
66640         * sunrpc/xdr_stdio.c: Likewise.
66642 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66644         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66646 2011-07-03  Andreas Jaeger  <aj@suse.de>
66648         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
66649         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
66650         regenerate with gen-libm-tests.pl.
66652 2010-05-12  Petr Baudis  <pasky@suse.cz>
66654         [BZ #11589]
66655         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
66656         around j0() zero points by switching to j1().
66657         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66658         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66659         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66660         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66664         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
66665         instead of 0.
66666         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
66667         instead of 0.
66668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66669         Patch in part by Pavel Roskin <proski@gnu.org>.
66671         [BZ #13138]
66672         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
66673         realloc.
66674         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
66675         Free memory block if necessary.
66677         [BZ #12847]
66678         * libio/genops.c (INTDEF): For string streams the _lock pointer can
66679         be NULL.  Don't lock in this case.
66681 2011-09-09  Roland McGrath  <roland@hack.frob.com>
66683         * elf/elf.h (ELFOSABI_GNU): New macro.
66684         (ELFOSABI_LINUX): Define to that.
66686 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
66688         * string/strncat.c (strncat): Undef the symbol in case it has been
66689         defined in bits/string.h.
66691 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
66693         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
66695         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
66696         link map.
66698 2011-08-17  Andreas Jaeger  <aj@suse.de>
66700         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
66702 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
66703             Ian Lance Taylor  <iant@google.com>
66705         * math/libm-test.inc (lround_test): New testcase.
66706         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
66708 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
66710         * Makefile: Remove support for automatic cvs check-ins.
66711         * Makerules: Likewise.
66712         * config.make.in: Likewise.
66713         * configure.in: Likewise.
66714         * intl/Makefile: Likewise.
66715         * locale/Makefile: Likewise.
66716         * po/Makefile: Likewise.
66717         * posix/Makefile: Likewise.
66718         * sysdeps/gnu/Makefile: Likewise.
66719         * sysdeps/mach/hurd/Makefile: Likewise.
66720         * sysdeps/sparc/sparc32/Makefile: Likewise.
66722         [BZ #13118]
66723         * posix/Makefile (bug-regex32-ENV): Define.
66724         Patch by John Stanley <jpsinthemix@verizon.net>.
66726         * misc/Makefile (headers): Add bits/select2.h.
66727         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
66728         * misc/bits/select2.h: New file.
66729         * include/bits/select2.h: New file.
66730         * debug/Makefile (routines): Add fdelt_chk.
66731         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
66732         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
66733         FD_ISSET.
66734         * debug/fdelt_chk.c: New file.
66736         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
66737         * wcsmbs/test-wmemcmp.c: Likewise.
66738         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
66739         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
66741 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66743         * string/Makefile (strop-tests): Add memcmp.
66744         * string/test-wmemcmp.c: New file.
66745         * string/test-memcmp.c: Add wmemcmp support.
66747 2011-09-08  Roland McGrath  <roland@hack.frob.com>
66749         [BZ #13153]
66750         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
66751         2011-07-19 change.
66753         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
66754         garbage value in a __mach_port_mod_refs call in the cases of the
66755         task-self and thread-self ports.
66757 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66759         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
66761 2011-09-08  Andreas Schwab  <schwab@redhat.com>
66763         * elf/dl-load.c (lose): Check for non-null L.
66765 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66767         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
66769         * elf/dl-libc.c (dlerror_run): Pass back error code from
66770         dl_catch_error.
66772         [BZ #13123]
66773         * elf/dl-load.c (lose): Free l_origin if it is valid.
66775         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
66776         names.
66777         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
66778         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66780         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66781         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
66782         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
66784 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66786         * sysdeps/powerpc/fpu/e_hypot.c: New file.
66787         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
66788         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
66789         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
66790         * sysdeps/powerpc/fpu/k_cosf.c: New file.
66791         * sysdeps/powerpc/fpu/k_sinf.c: New file.
66792         * sysdeps/powerpc/fpu/s_cosf.c: New file.
66793         * sysdeps/powerpc/fpu/s_sinf.c: New file.
66794         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
66795         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
66797 2011-08-15  Alan Modra  <amodra@gmail.com>
66799         [BZ #13092]
66800         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
66801         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
66802         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
66803         ppc_mcount to static-only-routines.
66804         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
66805         __mcount_internal.
66806         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
66807         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
66809 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
66811         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
66812         for finite and infinity parameters.
66814 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
66817         and add nop instructions for throughput optimization.
66818         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66820 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
66822         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
66823         aligned copy for power7 with vector-scalar instructions.
66824         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
66826 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
66828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
66829         AVX check.
66831 2011-09-07  Andreas Schwab  <schwab@redhat.com>
66833         [BZ #13144]
66834         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
66835         last change.
66837 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
66839         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66840         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
66841         syscall wrapper around clock_gettime in __vdso_clock_gettime.
66842         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
66843         clock_gettime.
66845 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66847         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
66848         Forgot to demangle the pointer.
66850         * sysdeps/i386/sysdep.h: Define atom_text_section.
66851         * sysdeps/x86_64/sysdep.h: Likewise.
66852         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
66853         section with atom_text_section.
66854         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
66855         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
66856         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
66857         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66858         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
66860         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
66861         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
66862         already be defined.  Change to take two parameters and don't assign
66863         result to variable.  Adjust all users.
66864         Define INTERNAL_GETTIME if not already defined.
66865         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
66866         call.
66867         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
66868         HAVE_CLOCK_GETTIME_VSYSCALL.
66869         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
66871         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
66872         gettimeofday vsyscall, just use time.
66874 2011-09-06  Andreas Schwab  <schwab@redhat.com>
66876         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
66877         <errno.h>.
66879 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
66881         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
66882         syscall on x86-64.
66883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
66884         syscall.
66885         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
66886         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
66887         syscall if possible.
66889 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66891         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
66892         e_ident.  Don't pass to find_mapsXX.
66893         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
66895 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66898         strchr-sse2-no-bsf strrchr-sse2-no-bsf
66899         * sysdeps/x86_64/multiarch/strchr.S: Update.
66900         Check bit_slow_BSF bit.
66901         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66902         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
66903         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
66905 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66907         [BZ #13134]
66908         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
66909         before glibc 2.15.
66910         (tryshell): Define.
66911         (__spawni): Change last parameter to be flag.  Test
66912         SPAWN_XFLAGS_USE_PATH flag to use path or not.
66913         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
66914         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
66915         * posix/spawni.c: Likewise.
66916         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
66917         * posix/spawnp.c: Likewise.  Change normal version to use
66918         SPAWN_XFLAGS_USE_PATH.
66919         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
66920         SPAWN_XFLAGS_TRY_SHELL.
66922         [BZ #13150]
66923         * posix/glob.h: Remove gcc 1.x support.
66925         [BZ #13068]
66926         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
66928 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66931         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
66932         strrchr-sse2-bsf
66933         * sysdeps/i386/i686/multiarch/strchr.S: New file.
66934         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
66935         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
66936         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66937         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66938         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66940 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66942         * sysdeps/x86_64/wcscmp.S: New file.
66944         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66945         wcscmp-c wcscmp-sse2
66946         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66947         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66948         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66949         * wcsmbs/wcscmp.c: Allow renaming.
66951 2011-09-05  David S. Miller  <davem@davemloft.net>
66953         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66954         stack slot, rather than the struct return pointer slot.
66955         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66956         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66958         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66960 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66962         * po/ja.po: Update from translation team.
66964         [BZ #13144]
66965         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66966         kernel in 64-bit binaries.
66968 2011-09-01  David S. Miller  <davem@davemloft.net>
66970         * elf/elf.h (HWCAP_SPARC_*): Move to..
66971         * sysdeps/sparc/sysdep.h: this new file and add new values.
66972         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66973         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66974         _DL_HWCAP_COUNT to 24.
66975         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66976         entries.
66977         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66978         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66979         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66980         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66981         instead of magic constants.
66982         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66984 2011-08-31  David S. Miller  <davem@davemloft.net>
66986         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66988         Reimplement to do errno handling inline.
66989         (SYSCALL_ERROR_HANDLER): New macro.
66990         (__SYSCALL_STRING): Do not do errno handling in asm.
66991         (__CLONE_SYSCALL_STRING): Delete.
66992         (__INTERNAL_SYSCALL_STRING): Delete.
66993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66994         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66995         (PSEUDO): Reimplement to do errno handling inline.
66996         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66997         (SYSCALL_ERROR_HANDLER): New macro.
66998         (__SYSCALL_STRING): Do not do errno handling in asm.
66999         (__CLONE_SYSCALL_STRING): Delete.
67000         (__INTERNAL_SYSCALL_STRING): Delete.
67001         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67002         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67003         i386.
67004         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67005         (inline_syscall*): Add 'err' argument.
67006         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67007         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67008         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67009         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67011         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67012         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67014 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67016         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67018 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67020         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67021         directive.
67023 2011-08-24  David S. Miller  <davem@davemloft.net>
67025         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67027 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67029         * elf/Makefile: Add rules to build and run unload8 test.
67030         * elf/unload8.c: New file.
67031         * elf/unload8mod1.c: New file.
67032         * elf/unload8mod1x.c: New file.
67033         * elf/unload8mod2.c: New file.
67034         * elf/unload8mod3.c: New file.
67036         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67037         it wasn't used.
67039 2011-08-23  David S. Miller  <davem@davemloft.net>
67041         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67042         subtract stack bias.
67043         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67044         %sp not %fp in calculations.
67045         (_JMPBUF_UNWINDS_ADJ): Likewise.
67047         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67048         (aio_suspend): Call it to force an exception region around the
67049         AIO_MISC_WAIT() invocation.
67051 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67053         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67054         backslash.
67056 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67058         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67059         protection macro.
67060         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67061         and <dl-machine.h>.
67062         (Elf64_FuncDesc): Remove.
67064 2011-08-22  David S. Miller  <davem@davemloft.net>
67066         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67067         sigaltstack check, add missing cfi directives.
67068         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67069         missing cfi directives, and sigaltstack handling.
67071 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67073         [BZ #11724]
67074         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67075         object is seen twice.
67076         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67078         * elf/Makefile (distribute): Add tst-initorder2.c.
67079         (tests): Add tst-initorder2.
67080         (modules-names): Add tst-initorder2a tst-initorder2b
67081         tst-initorder2c tst-initorder2d.  Add rules to build them.
67082         ($(objpfx)tst-initorder2.out): New rule.
67083         * elf/tst-initorder2.c: New file.
67084         * elf/tst-initorder2.exp: New file.
67086 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67088         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67090         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67091         dependencies back to end of function.
67093         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67094         $(elfobjdir)/ld.so.
67096 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67098         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67099         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67101         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67102         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67103         of __vdso_gettimeofday.
67104         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67105         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67106         attribute_hidden.
67107         (_libc_vdso_platform_setup): Remove initialization of
67108         __vdso_gettimeofday and __vdso_time.
67110 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67112         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67113         and fgetc_unlocked.
67114         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67115         getc_unlocked.
67117         * elf/dl-open.c (add_to_global): Report additions to the global scope
67118         for LD_DEBUG=scopes.
67119         (dl_open_worker): Also print scope of newly loaded dependencies.
67120         (_dl_show_scope): Indicate if there is no scope.
67122         [BZ #13114]
67123         * stdio-common/Makefile (tests): Add bug24.
67124         * stdio-common/bug24.c: New file.
67126 2011-08-19  Andreas Jaeger  <aj@suse.de>
67128         [BZ #13114]
67129         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67130         non-existant file when using close-on-exec mode.
67132 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67135         the very first instruction.
67137         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67138         the CFI state in the end.
67139         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67140         inclusion of dl-trampoline.h.
67141         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67143 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67145         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67146         expectations for long double.
67148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67149         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67151 2011-08-14  David S. Miller  <davem@davemloft.net>
67153         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67154         artificual limit depends upon the system page size.
67156 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67158         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67159         * resolv/Makefile: Define CFLAGS-libresolv.
67161 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67163         * nss/makedb.c (compute_tables): Make variables used in nested
67164         function static.
67166 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67168         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67169         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67170         if buffer was too small.
67172         * elf/pldd.c (main): Attach to all threads in the process.
67173         Rewrite /proc handling to use *at functions.
67175 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67177         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67178         specifies first scope to show.
67179         (dl_open_worker): Update callers.  Move printing scope of new
67180         object to before the relocation.
67181         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67182         * sysdeps/generic/ldsodefs.h: Update declaration.
67184         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67185         string for the scope number.
67187 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67189         * nscd/servicescache.c (cache_addserv): Make sure written is always
67190         initialized.
67192 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67194         * sysdeps/i386/i486/bits/atomic.h
67195         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67196         statement expression, so as to suppress "set but not used" warning.
67197         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67199         * string/strncat.c (STRNCAT): Use prototype definition.
67201         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67202         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67203         -Iprograms here.
67204         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67205         (localedef-modules): Add localedef.
67206         (locale-modules): Add locale.
67208         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67209         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67210         to avoid a warning.
67212 2011-08-14  David S. Miller  <davem@davemloft.net>
67214         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67215         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67217 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67219         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67220         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67221         * elf/rtld.c (dl_main): Set l_name of vDSO.
67222         Call _dl_show_scope when DL_DEBUG_SCOPES.
67223         (process_dl_debug): Recognize scopes flag and also set it for all.
67224         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67225         Declare _dl_show_scope.
67227         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67228         (do_dlopen): Pass caller_dlopen to dl_open.
67229         (__libc_dlopen_mode): Initialize caller_dlopen.
67231         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67232         of libc.  Make tolower call locale-independent.  Optimize a bit by
67233         using isdigit instead of isalnum.
67234         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67236 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67238         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67239         was a dependency or dynamically loaded.
67241 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67243         * intl/l10nflist.c: Allow architecture-specific pop function.
67244         * sysdeps/x86_64/l10nflist.c: New file.
67246         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67247         classification.
67249 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67251         * include/dirent.h: Add libc_hidden_proto for scandirat and
67252         scandirat64.  Don't declare __scandirat64.
67253         * dirent/scandirat.c: Add libc_hidden_def.
67254         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67255         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67257 2011-08-10  David S. Miller  <davem@davemloft.net>
67259         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67260         enum.
67261         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67262         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67263         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67265 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67267         * Versions.def [libc]: Add GLIBC_2.15.
67268         * dirent/Makefile (routines): Add scandirat and scandirat64.
67269         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67270         GLIBC_2.15.
67271         * dirent/dirent.h: Declare scandirat and scandirat64.
67272         * dirent/scandirat.c: New file.
67273         * dirent/scandirat64.c: New file.
67274         * sysdeps/wordsize-64/scandirat.c: New file.
67275         * sysdeps/wordsize-64/scandirat64.c: New file.
67276         * dirent/opendir.c: Define opendirat.
67277         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67278         using scandirat.
67279         * dirent/scandir64.c: Adjust for scandir.c change.
67280         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67281         __scandirat64, and __scandir_cancel_handler.
67282         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67283         additional parameter and use openat instead of open (outside of ld.so).
67284         Add new __opendir as wrapper around __opendirat.
67285         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67286         here without requiring old scandirat implementation.
67288 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67290         * dirent/scandir.c (cancel_handler): Renamed to
67291         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67292         defined.  Adjust users.
67293         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67294         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67296 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67298         * string/test-string.h (IMPL): Use __STRING to expand name and then
67299         stringify it.
67301         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67302         of cleanups.
67304 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67306         * string/Makefile: Update.
67307         (strop-tests): Append strncat.
67308         * string/test-wcscmp.c: New file.
67309         New comprehensive test for wcscmp.
67310         * string/test-strcmp.c: Update.
67311         (WIDE): New define.
67313 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67315         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67316         line.
67318 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67321         encoding to ACE if AI_IDN.
67323 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67326         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67328 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67330         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67331         Fix overflow bug in strncat.
67332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67334         * string/test-strncat.c: Update.
67335         Add new tests for checking overflow bugs.
67337 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67340         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67341         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67342         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67343         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67344         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67345         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67346         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67347         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67350         (USE_AS_STRCAT): Define.
67351         Add strcat and strncat support.
67352         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67354 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67356         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67357         __n bigger than INT_MAX+1.
67358         (__strncmp_g): Likewise.
67360 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67362         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67363         * libio/stido.h: Likewise.
67365         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67366         (AF_NFC): Define.
67367         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67368         (AF_NFC): Define.
67370         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67371         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67373         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67374         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67376         [BZ #13021]
67377         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67378         installed.
67380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67381         typo.
67382         (_dl_x86_64_save_sse): Likewise.
67384 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67387         OSXSAVE.
67388         (_dl_x86_64_save_sse): Likewise.
67390         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67392         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67394 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67397         change.
67398         (_dl_x86_64_save_sse): Use correct AVX check.
67400 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67402         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67403         bug in strncpy/strncat.
67404         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67406 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67408         * string/tester.c (test_strcat): Add tests for different alignments
67409         of source and destination.
67410         (test_strncat): Likewise.
67412 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67414         [BZ #12852]
67415         * posix/glob.c (glob): Check passed in values before using them in
67416         expressions to avoid some overflows.
67417         (glob_in_dir): Likewise.
67419         [BZ #13007]
67420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67421         check for AVX enablement so that we don't crash with old kernels and
67422         new hardware.
67423         * elf/tst-audit4.c: Add same checks here.
67424         * elf/tst-audit6.c: Likewise.
67426         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67428 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67430         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67434         * po/cs.po: Update from translation team.
67435         * po/bg.po: Likewise.
67437 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67439         * misc/sys/cdefs.h: Add support for const attribute.
67440         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67441         to gnu_dev_{major,minor,makedev} functions.
67443 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67445         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67447 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67449         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67450         strlen results.
67452 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67455         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67456         register in order to avoid conflicts with the soft frame pointer
67457         being held in r11 when necessary.
67458         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67459         (INTERNAL_VSYSCALL_NCS): Likewise.
67461 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67463         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67464         * elf/dl-fini.c (_dl_fini): Adjust caller.
67465         * elf/dl-close.c (_dl_close_worker): Likewise.
67466         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67468 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67470         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67471         "aux_cache->nlibs < 0".
67473         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67474         in the reload-count case.
67476 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67479         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67480         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67481         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67482         * sysdeps/x86_64/multiarch/strcat.S: New file.
67483         * sysdeps/x86_64/multiarch/strncat.S: New file.
67484         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67485         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67486         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67487         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67488         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67489         (USE_AS_STRCAT): Define.
67490         Add strcat and strncat support.
67491         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67493         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67494         * string/strncat.c: Update.
67495         (USE_AS_STRNCAT): Define.
67496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67497         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67498         and i7.
67499         * sysdeps/x86_64/multiarch/init-arch.h
67500         (bit_Prefer_PMINUB_for_stringop): New.
67501         (index_Prefer_PMINUB_for_stringop): Likewise.
67502         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
67503         bit_Prefer_PMINUB_for_stringop.
67505 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67507         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
67508         buffer64.
67509         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
67510         of casting of buffer.
67511         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
67512         buffer32 and buffer64.
67513         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
67514         writes instead of casting of buffer.
67515         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
67516         buffer32.
67517         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
67518         casting of buffer.
67520 2011-07-19  Andreas Schwab  <schwab@redhat.com>
67522         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
67524 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
67526         * nscd/nscd.c (termination_handler): Don't do anything for a database
67527         if it has not yet been initialized.
67529 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67531         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67533 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67535         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
67537 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
67539         * po/nl.po: Update from translation team.
67540         * po/sv.po: Likewise.
67542 2011-07-16  Roland McGrath  <roland@hack.frob.com>
67544         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
67545         now disallowed by GCC.
67547         * configure.in (use-default-link): Default to yes if a test -shared
67548         link meets our qualifications.
67549         * configure: Regenerated.
67551         * config.make.in (output-format): New variable.
67552         * configure.in: Check for ld --print-output-format support.
67553         * configure: Regenerated.
67554         * Makerules ($(common-objpfx)format.lds)
67555         [$(output-format) != unknown]: Just use $(output-format),
67556         instead of the linker-script munging.
67558 2011-07-14  Roland McGrath  <roland@hack.frob.com>
67560         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
67561         of $(common-objpfx)shlib.lds.
67562         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
67564         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
67565         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
67567         * configure.in (-z relro check): Adjust test code to add a large
67568         writable data section after it.
67569         * configure: Regenerated.
67571 2011-07-11  Roland McGrath  <roland@hack.frob.com>
67573         * configure.in (-z relro check): Fix test code to make the variable
67574         truly const.
67575         * configure: Regenerated.
67577 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
67579         * nscd/nscd.h (struct traced_file): Define.
67580         (struct database_dyn): Remove inotify_descr, reset_res, and filename
67581         elements.  Add traced_files.
67582         (inotify_fd): Declare.
67583         (register_traced_file): Declare.
67584         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
67585         (inotify_fd): Export.
67586         (resolv_conf_descr): Remove.
67587         (nscd_init): Move inotify descriptor creation to main.
67588         Don't register files for notification here.
67589         (register_traced_file): New function.
67590         (invalidate_cache): Don't use reset_res to determine whether to call
67591         res_init, go through the list of registered files.
67592         (main_loop_poll): The inotify descriptors are now stored in the
67593         structures for the traced files.
67594         (main_loop_epoll): Likewise
67595         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
67596         to __nss_disable_nscd.
67597         * nscd/cache.c (prune_cache): There is no single inotify descriptor
67598         for a database anymore.  Check the records for all the registered
67599         files instead.
67600         * nss/Makefile (libnss_files-routines): Add files-init.
67601         (libnss_db-routines): Add db-init.
67602         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
67603         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
67604         * nss/nss_db/db-init.c: New file.
67605         * nss/nss_files/files-init.c: New file.
67606         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
67607         __nss_lookup_function.
67608         (__nss_lookup_function): Call nss_load_library.
67609         (nss_load_all_libraries): New function.
67610         (__nss_disable_nscd): Take parameter with callback function for files
67611         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
67612         used for the cached services.
67613         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
67614         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
67615         options for features to all the files in nscd.
67617         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
67619 2011-07-10  Roland McGrath  <roland@hack.frob.com>
67621         * csu/elf-init.c (__libc_csu_init): Comment typo.
67623 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
67625         * po/pl.po: Update from translation team.
67626         * po/ja.po: Likewise.
67627         * po/ru.po: Likewise.
67628         * po/ko.po: Likewise.
67629         * po/fr.po: Likewise.
67631 2011-07-09  Roland McGrath  <roland@hack.frob.com>
67633         * configure.in (.ctors/.dtors header and trailer check):
67634         Use an empirical test on a built program.
67635         * configure: Regenerated.
67637         * configure.in (-z relro check): Use an empirical test on a built DSO.
67638         Detect, but do not require, on ia64.
67639         * configure: Regenerated.
67641         * configure.in (READELF): Find it with AC_CHECK_TOOL.
67642         Update tests that use readelf to use $READELF instead.
67643         * configure: Regenerated.
67645 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
67647         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
67648         if the result is not used.
67650 2011-07-05  Andreas Jaeger  <aj@suse.de>
67652         [BZ#9696]
67653         * stdlib/tst-strtod.c: Add testcase.
67655 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
67657         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
67658         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
67659         The latter has a higher limit.  Take additional parameter to pass to
67660         the new function.
67661         (__pathconf): Pass file to __statfs_link_max.
67662         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
67663         __statfs_link_max.
67664         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
67665         __statfs_link_max.
67667         [BZ #12868]
67668         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
67669         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
67670         Handle Lustre.
67671         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
67672         (__statfs_filesize_max): Likewise.
67673         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
67675 2011-07-05  Andreas Jaeger  <aj@suse.de>
67677         * resolv/res_comp.c (dn_skipname): Remove unused variable.
67679 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
67681         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
67682         `status' variable.
67683         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
67684         Likewise.
67686 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
67688         * Makefile (strop-tests): Add strncat.
67689         * string/test-strncat.c: New file.
67691 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
67693         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
67695 2011-06-21  Andreas Jaeger  <aj@suse.de>
67697         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
67698         Copy rule from iconvdata/Makefile.
67700 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67702         [BZ #12922]
67703         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
67704         but no long options are defined, just return 'W'.
67706 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
67708         [BZ #9696]
67709         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
67711 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
67713         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
67714         netgroups to read.
67715         (innetgr): Likewise.
67717 2011-07-05  Roland McGrath  <roland@hack.frob.com>
67719         * config.make.in (install_root): Default to $(DESTDIR).
67721 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
67723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
67725 2011-07-02  Roland McGrath  <roland@hack.frob.com>
67727         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
67729         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
67730         containing directory rather than embedding absolute directory names.
67732         * scripts/check-local-headers.sh: Rewritten using awk.
67733         Match by word, not by line.  Print error messages for matches.
67734         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
67736         * Makerules [shlib-lds-flags empty]:
67737         ($(common-objpfx)libc_pic.opts): New target.
67738         ($(common-objpfx)libc_pic.os.clean): New target.
67739         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
67741         * config.make.in (OBJCOPY): New variable.
67742         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
67743         * configure: Regenerated.
67745         * config.make.in (use-default-link): New variable.
67746         * configure.in (use_default_link): Grok --with-default-link to set it.
67747         * configure: Regenerated.
67748         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
67749         (shlib-lds, shlib-lds-flags): Define to empty.
67751         * Makerules (shlib-lds): New variable.
67752         (shlib-lds-flags): New variable.
67753         (build-shlib, build-moduile, build-module-asneeded): Use it.
67754         ($(common-objpfx)libc.so): Use $(shlib-lds).
67755         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
67756         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
67758         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
67759         DT_FLAGS/DT_FLAGS_1 with zero flags.
67761         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
67762         linker script munging.
67764 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
67766         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
67767         as 128-bit value.
67768         * crypt/sha512.c (sha512_process_block): Perform total addition using
67769         128-bit if possible.
67770         (__sha512_finish_ctx): Likewise.
67771         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
67772         as 64-bit value.
67773         * crypt/sha256.c (SWAP64): Define.
67774         (sha256_process_block): Perform total addition using 64-bit if
67775         possible.
67776         (__sha256_finish_ctx): Likewise.
67778 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
67780         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
67781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67782         * nscd/hstcache.c (cache_addhst): Likewise.
67783         * nscd/grpcache.c (cache_addgr): Likewise.
67784         * nscd/aicache.c (addhstaiX): Likewise
67785         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
67787 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
67789         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
67790         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67791         * nscd/hstcache.c (cache_addhst): Likewise.
67792         * nscd/grpcache.c (cache_addgr): Likewise.
67793         * nscd/aicache.c (addhstaiX): Likewise
67795 2011-07-01  Andreas Schwab  <schwab@redhat.com>
67797         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
67798         domain only when needed.
67800 2011-06-30  Andreas Schwab  <schwab@redhat.com>
67802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
67803         is always restored.
67805 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
67807         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
67808         are re-adding the entry.
67809         * nscd/servicescache.c (cache_addserv): Likewise.
67811 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
67813         * sysdeps/generic/dl-irel.h: fix protection against multiple
67814         inclusions.
67815         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
67817 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
67819         [BZ #12935]
67820         * malloc/memusage.sh: Fix quoting in message.
67821         * debug/xtrace.sh: Likewise.
67823         * configure.in: Remove support for --experimental-malloc option, make
67824         it the default.
67825         * config.make.in: Likewise.
67826         * malloc/Makefile: Likewise.
67828 2011-06-27  Andreas Schwab  <schwab@redhat.com>
67830         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
67831         two-byte characters.
67833 2011-06-27  Roland McGrath  <roland@hack.frob.com>
67835         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
67836         AC_CACHE_CHECK invocation.
67837         * configure: Regenerated.
67839         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
67841 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
67843         [BZ #12350]
67844         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
67845         bit from old_res_options.
67847         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
67849         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
67850         value type for setfct.
67852 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
67854         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67855         __gettimeofday instead of gettimeofday.
67857 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
67859         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
67861 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
67863         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
67865         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
67866         info.
67868 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67871         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67872         strcpy-sse2-unaligned strncpy-sse2-unaligned
67873         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
67874         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
67875         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
67876         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
67877         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
67878         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
67879         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
67880         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
67881         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
67882         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
67883         (STRCPY): Support SSE2 and SSSE3 versions.
67885 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
67887         [BZ #12874]
67888         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
67889         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
67890         kernels which artificially limit size of requests.
67892 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
67894         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67895         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
67896         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
67897         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
67898         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
67899         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
67900         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
67901         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
67902         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
67903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
67904         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
67905         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
67906         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
67907         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
67908         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
67909         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67910         Enable unaligned load optimization for Intel Core i3, i5 and i7
67911         processors.
67912         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
67913         Define.
67914         (index_Fast_Unaligned_Load): Define.
67915         (HAS_FAST_UNALIGNED_LOAD): Define.
67917 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
67919         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
67921 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67923         [BZ #12907]
67924         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
67925         until it is clear that the information is realy needed.
67926         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
67928 2011-06-22  Andreas Schwab  <schwab@redhat.com>
67930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
67932 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
67934         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
67935         /sys/devices/system/cpu/online if it is usable.
67937         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67938         reading the information from the /proc filesystem to once a second.
67940 2011-06-21  Andreas Jaeger  <aj@suse.de>
67942         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67943         NULL after inclusion of kernel headers.
67945 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67947         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67948         calls to internal_setent.
67950         [BZ #12885]
67951         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67952         addresses using gethostbyname4_r ignore IPv4 addresses.
67954         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67955         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67957         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67959 2011-06-20  David S. Miller  <davem@davemloft.net>
67961         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67962         inclusions.
67963         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67965         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67966         (elf_irel): Use it.
67967         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67968         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67969         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67970         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67971         * sysdeps/x86_64/dl-irel.h: Likewise.
67973         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67974         * elf/dl-sym.c: Likewise.
67976 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67978         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67979         need to dereference resplen2.
67981 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67983         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67985 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67987         * Makeconfig: Define vardbdir and inst_vardbdir.
67988         * nss/Makefile: Add rules to install db-Makefile.
67990         * nss/nss_db/db-XXX.c: Cleanup.
67992         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67993         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67994         GLIBC_PRIVATE.
67995         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67996         * nss/makedb.c: Implement -g option to specify that value strings
67997         are generated and should not be added to table iterated over for
67998         get*ent calls.
67999         * nss/nss_db/db-initgroups.c: New file.
68001         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68002         interface.
68004         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68005         (internal_getgrouplist): Adjust to name change.
68006         Update use_initgroups_entry if this is not the first call.
68007         * nss/databases.def: Add initgroups entry.
68009         * nss/makedb.c (compute_tables): Check result of multiple hash table
68010         sizes to minimize maximum chain length.
68012 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68014         * Versions.def: Add entry for libnss_db.
68015         * shlib-versions: Likewise.
68016         * nss/Makefile: Add rules to build libnss_db.
68017         * nss/Versions: Add libnss_db information.  Organize libnss_files
68018         entries better.
68019         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68020         makedb progra.  Some minor improvements to generate smaller files.
68021         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68022         here from...
68023         * nss/makedb.c: ...here.
68024         Improve database format to be smaller and require less memory at
68025         runtime.
68026         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68027         db anymore.
68028         * nss/nss_db/db-netgrp.c: Likewise.
68029         * nss/nss_db/db-open.c: Likewise.
68030         * nss/nss_files/flies-XXX.x: Adjust comments.
68031         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68032         * nss/nss_files/files-grp.c: Likewise.
68033         * nss/nss_files/files-hosts.c: Likewise.
68034         * nss/nss_files/files-network.c: Likewise.
68035         * nss/nss_files/files-proto.c: Likewise.
68036         * nss/nss_files/files-pwd.c: Likewise.
68037         * nss/nss_files/files-rpc.c: Likewise.
68038         * nss/nss_files/files-service.c: Likewise.
68039         * nss/nss_files/files-sgrp.c: Likewise.
68040         * nss/nss_files/files-spwd.c: Likewise.
68041         * nss/nss_db/db-alias.c: Removed.
68042         * nss/nss_db/dummy-db.h: Removed.
68044 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68046         * nss/makedb.c: Rewritten to not use database library.
68047         * nss/Makefile: Update to build new makedb program.
68049 2011-06-14  Andreas Jaeger  <aj@suse.de>
68051         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68052         memset declaration.
68054 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68057         tmpbuf.
68059 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68061         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68062         * elf/Makefile ($(objpfx)ld.so): Likewise.
68064         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68065         Don't list ld.so twice in dependencies.
68067         * posix/bug-regex31.c: Include <stdlib.h>.
68069         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68071         * nis/nss_compat/compat-spwd.c
68072         (getspent_next_nss_netgr): Remove unused variable.
68073         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68075         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68076         nonmembers" output to use the right array.
68078         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68080         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68082         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68083         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68084         * catgets/gencat.c (read_input_file): Likewise.
68085         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68087         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68088         variable definition inside #if's controlling its use.
68090         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68092         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68094         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68096         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68097         unreachable code.
68099         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68101         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68102         * configure: Regenerated.
68104         * Makerules: Revert last change.
68105         * elf/Makefile: Likewise.
68107 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68109         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68110         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68111         (reloc-link): Likewise.
68113 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68115         * elf/Makefile: Add rules to build pldd.
68116         * elf/pldd.c: New file.
68117         * elf/pldd-xx.c: New file.
68119 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68121         * version.h: Update for 2.15 development version.
68123 2011-06-07  David S. Miller  <davem@davemloft.net>
68125         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68126         ifuncs.
68127         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68128         elf_machine_lazy_rel): Likewise.
68129         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68130         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68131         elf_machine_lazy_rel): Likewise.
68132         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68133         dl_hwcap via passed in argument.
68134         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68135         Likewise.
68137 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68139         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68141 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68143         [BZ #12849]
68144         * manual/fdl-1.1.texi: New file, verbatim from:
68145         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68146         * manual/lgpl-2.1.texi: New file, verbatim from:
68147         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68148         * manual/Makefile (licenses): New variable, list those new file names.
68149         (texis): Use it.
68150         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68152         * manual/fdl.texi: File removed.
68153         * manual/lesser.texi: File removed.
68154         * manual/libc.texinfo (Copying, Documentation License):
68155         Use new @include file names, put @appendix directive before @include.
68157 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68159         [BZ #12841]
68160         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68161         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68162         (mq_open): Add __NTH.
68164 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68167         Assume Intel Core i3/i5/i7 processor if AVX is available.
68169 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68171         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68172         typo.
68174 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68176         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68177         memory.  Use alloca_account.  Fix memory leak when retrying.
68179 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68181         * version.h (RELEASE): Bump for 2.14 release.
68182         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68184         * config.make.in (RANLIB): Remove entry.
68186 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68188         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68189         (libc.pot): Work around missing support for .ksh extension in xgettext.
68191         [BZ #12684]
68192         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68193         if both request failed.
68194         (send_dg): In case of server errors clear resplen or *resplen2.
68196         [BZ #12454]
68197         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68198         when there are multiple maps.
68199         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68200         (_dl_fini): Remove test here.
68202         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68204 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68206         [BZ #12350]
68207         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68208         bit from old_res_options.
68209         (gaih_inet): Likewise.
68211         [BZ #11099]
68212         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68213         as signed.
68215         * resolv/res_init.c (res_setoptions): Make the code more compact.
68217         [BZ #11558]
68218         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68219         set RES_USEVC.
68221         [BZ #11634]
68222         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68224         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68226         [BZ #11781]
68227         * malloc/malloc.h: Declare malloc hook variables as volatile.
68229         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68230         in last patch.
68232         [BZ #11799]
68233         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68234         raise in the comment.
68235         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68236         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68237         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68239 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68241         [BZ #12811]
68242         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68243         grow the buffers more if it already has to be sufficient.
68244         (build_wcs_upper_buffer): Likewise.
68245         * posix/regexec.c (check_matching): Likewise.
68246         (clean_state_log_if_needed): Likewise.
68247         (extend_buffers): Don't enlarge buffers beyond size of the input
68248         buffer.
68249         Patches mostly by Emil Wojak <emil@wojak.eu>.
68250         * posix/bug-regex32.c: New file.
68251         * posix/Makefile (tests): Add bug-regex32.
68253         * locale/findlocale.c (_nl_find_locale): Return right away if
68254         _nl_explode_name failed.
68255         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68257         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68259         * debug/xtrace.sh: Unify messages.
68260         * malloc/memusage.sh: Likewise.
68262         [BZ #12813]
68263         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68264         time symbol from vDSO.  Substitute with vsyscall if not available.
68265         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68266         __vdso_time.
68268         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68269         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68270         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68271         Add sendmmsg and internal_sendmmsg.
68272         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68273         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68274         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68276         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68277         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68278         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68280 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68282         [BZ #12813]
68283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68284         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68285         available.
68286         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68287         __vdso_getcpu.
68289         [BZ #12814]
68290         * iconvdata/Makefile (tests): Add bug-iconv9.
68291         * iconvdata/bug-iconv9.c: New file.
68293 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68295         [BZ #12814]
68296         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68298 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68300         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68301         (struct user_regs_struct): Change intcs field back to cs.
68303 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68305         * po/ja.po: Update from translation team.
68307 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68309         [BZ #12795]
68310         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68311         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68313 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68315         * stdlib/longlong.h: Update from GCC.
68317 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68319         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68320         parameter name.
68321         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68322         Add parameter name.
68323         (__sysconf): Pass it down.
68325 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68327         [BZ #12671]
68328         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68329         some situations.
68330         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68331         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68332         add in in __libc_use_alloca calls.  Adjust callers.
68333         (glob): Use malloc in some situations.
68335         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68336         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68337         pltexit.
68339 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68341         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68342         and CLOCK_BOOTTIME_ALARM.
68344         [BZ #12782]
68345         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68346         is returned.
68348         * string/_strerror.c (__strerror_r): Print negative errors as signed
68349         numbers.
68351         [BZ #12777]
68352         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68353         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68354         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68356         * configure.in: Fix typo in redirection and correct removal of test
68357         files in two cases.
68359         [BZ #12788]
68360         * locale/setlocale.c (new_composite_name): Fix test to check for
68361         identical name of all categories.
68363         [BZ #12792]
68364         * libio/filedoalloc.c (local_isatty): New function.
68365         (_IO_file_doallocate): Use local_isatty.
68366         * stdio-common/perror.c (perror): In case a new stream is used
68367         forward the stream error.
68368         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68369         error flag.
68371 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68373         [BZ #11869]
68374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68375         alloca.
68376         * include/alloca.h (extend_alloca_account): Define.
68378         [BZ #11857]
68379         * posix/regex.h: Fix comments with documentation of user-accessible
68380         fields after compilation and describe correct free'ing of pattern
68381         after re_compile_pattern.
68382         Patch by Reuben Thomas <rrt@sc3d.org>.
68384 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68386         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68387         and -mno-altivec to prevent the compiler from using Altivec and/or
68388         VSX instructions when the corresponding registers are not available.
68390 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68392         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68394 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68396         * libio/freopen.c (freopen): Use __dup2, not dup2.
68397         * libio/freopen64.c (freopen64): Likewise.
68399 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68401         [BZ #12775]
68402         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68403         * math/Makefile (tests): Add test-powl.
68404         (CFLAGS-test-powl.c): Define.
68405         * math/test-powl.c: New file.
68407 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68409         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68411 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68413         [BZ #11837]
68414         * iconvdata/gb18030.c: Update to GB18020-2005.
68416 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68418         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68419         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68420         Patch by Aharon Robbins <arnold@skeeve.com>.
68422         [BZ #11892]
68423         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68424         on the stack.
68426         [BZ #11895]
68427         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68428         through underflows.
68430         [BZ #12766]
68431         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68432         point to strings before performing equality test for error_one_per_line
68433         mode.
68435         [BZ #11697]
68436         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68438         [BZ #11820]
68439         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68440         (struct user_fpregs_struct): Avoid __uint*_t types.
68442         [BZ #6420]
68443         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68444         symbol info.  Use it instead of calling _dl_addr locally.
68445         (lock_and_info): New function.
68446         (tr_freehook): Call lock_and_info and pass symbol info as additional
68447         parameter to tr_where.
68448         (tr_mallochook): Likewise.
68449         (tr_reallochook): Likewise.
68450         (tr_memalignhook): Likewise.
68452         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68453         used and couldn't be at all thread-safe.
68455 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68457         * libio/freopen.c (freopen): Don't close old file descriptor
68458         before the new one is opened.  Instead dup the new file descriptor
68459         to the old one after the new stream is created.
68460         * libio/freopen64.c (freopen64): Likewise.
68461         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68462         * libio/fileops.c (_IO_new_file_close_it): Handle new
68463         _IO_FLAGS2_NOCLOSE flag.
68464         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68465         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68466         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68467         _IO_FLAGS2_NOCLOSE flag.
68468         * include/unistd.h: Add hidden_proto for dup3.
68469         Define __have_dup3.
68470         * io/dup3.c: Define hidden symbol.
68471         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68473         [BZ #7101]
68474         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68475         when an incomplete long option is used.
68476         * posix/tst-getopt_long1.c: New file.
68477         * posix/Makefile (tests): Add tst-getopt_long1.
68479         [BZ #10138]
68480         * scripts/config.guess: Update from autoconf-2.68.
68481         * scripts/config.sub: Likewise.
68483         [BZ #10157]
68484         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68485         tests into ...
68486         (has_cpuclock): ...this.  New function.
68487         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68488         macro here based on has_cpuclock code.
68490         [BZ #10149]
68491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68492         First byte (not low byte) is now always NUL.
68493         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68496         Use non-cancelable interfaces.
68498         [BZ #9809]
68499         * locale/iso-639.def: Add entry for Sorani.
68501         [BZ #11901]
68502         * include/stdlib.h: Move include protection to the right place.
68503         Define abort_msg_s.  Declare __abort_msg with it.
68504         * stdlib/abort.c (__abort_msg): Adjust type.
68505         * assert/assert.c (__assert_fail_base): New function.  Majority
68506         of code from __assert_fail.  Allocate memory for __abort_msg with
68507         mmap.
68508         (__assert_fail): Now call __assert_fail_base.
68509         * assert/assert-perr.c: Remove bulk of implementation.  Use
68510         __assert_fail_base.
68511         * include/assert.hL Declare __assert_fail_base.
68512         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
68513         mmap.
68514         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
68516 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
68518         [BZ #11952]
68519         [BZ #12453]
68520         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
68521         until all modules are registered in the DTV.
68522         * elf/Makefile: Add rules to build and run tst-tls19.
68523         * elf/tst-tls19.c: New file.
68524         * elf/tst-tls19mod1.c: New file.
68525         * elf/tst-tls19mod2.c: New file.
68526         * elf/tst-tls19mod3.c: New file.
68527         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
68529         [BZ #12083]
68530         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
68531         correctly.
68533         [BZ #12601]
68534         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
68535         two-byte sequence errors.
68536         * iconvdata/Makefile (tests): Add bug-iconv8.
68537         * iconvdata/bug-iconv8.c: New file.
68539         [BZ #12626]
68540         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
68541         buf2 definition.
68543         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
68545         [BZ #12432]
68546         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
68547         (dummy_getcfa): New function.
68548         (init): Get _Unwind_GetCFA address, use dummy if not found.
68549         (backtrace_helper): In recursion check, also check whether CFA changes.
68550         (__backtrace): Completely initialize arg.
68552         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
68553         storing incomplete byte sequence in state object.  Avoid testing for
68554         guaranteed too small input if we know there is enough data available.
68556 2011-05-11  Andreas Schwab  <schwab@redhat.com>
68558         * Makeconfig (+link-pie): Indent.
68559         * Rules (binaries-pie): Define if $(have-fpie) and
68560         $(build-shared).
68561         (binaries-shared): Also filter out $(binaries-pie).
68562         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
68563         * nscd/Makefile (others-pie): Add nscd.
68564         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
68565         ($(objpfx)nscd): Remove command override.
68566         * login/Makefile (others-pie): Add pt_chown.
68567         ($(objpfx)pt_chown): Remove command override.
68568         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
68569         remove command overrides.
68571 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
68573         * libio/tst_putwc.c: Fix error messages.
68575         [BZ #12724]
68576         * libio/fileops.c (_IO_new_file_close_it): Always flush when
68577         currently writing and seek to current position when not.
68578         * libio/Makefile (tests): Add bug-fclose1.
68579         * libio/bug-fclose1.c: New file.
68581 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
68583         [BZ #12511]
68584         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
68585         don't set DF_1_NODELETE here.
68586         (do_lookup_x): When entering new entry test for copy relocation
68587         and if necessary set DF_1_NODELETE flag.
68588         * elf/tst-unique4.cc: New file.
68589         * elf/tst-unique4.h: New file.
68590         * elf/tst-unique4lib.cc: New file.
68591         * elf/Makefile: Add rules to build and run tst-unique4.
68592         Patch by Piotr Bury <pbury@goahead.com>.
68594 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
68596         [BZ #12052]
68597         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
68599         [BZ #12625]
68600         * misc/mntent_r.c (addmntent): Flush the stream after the output
68602         [BZ #12393]
68603         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
68604         (is_trusted_path_normalize): Skip initial colon.  Append slash
68605         to empty buffer.  Duplicate is_trusted_path code but allow
68606         constructed patch to be prefix.
68607         (is_dst): Allow $ORIGIN followed by /.
68608         (_dl_dst_substitute): Correct clearing of check_for_trusted.
68609         Correct testing of result of is_trusted_path_normalize
68610         (decompose_rpath): Fix warning.
68612 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
68614         [BZ #11257]
68615         * grp/initgroups.c (internal_getgrouplist): When we found the service
68616         list through the initgroups entry in nsswitch.conf do not always
68617         continue on a successful lookup.  Don't always use the
68618         __nss_group_database value if it is set.
68619         * nss/nsswitch.conf (initgroups): Change action for successful db
68620         lookup to continue for compatibility.
68622 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
68624         [BZ #11532]
68625         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
68626         and CP774 modules.
68627         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
68628         and CP774 modules.
68629         * iconvdata/tst-tables.sh: Likewise.
68630         * iconvdata/cp770.c: New file.
68631         * iconvdata/cp771.c: New file.
68632         * iconvdata/cp772.c: New file.
68633         * iconvdata/cp773.c: New file.
68634         * iconvdata/cp774.c: New file.
68635         * iconvdata/testdata/CP770: New file.
68636         * iconvdata/testdata/CP770..UTF8: New file.
68637         * iconvdata/testdata/CP771: New file.
68638         * iconvdata/testdata/CP771..UTF8: New file.
68639         * iconvdata/testdata/CP772: New file.
68640         * iconvdata/testdata/CP772..UTF8: New file.
68641         * iconvdata/testdata/CP773: New file.
68642         * iconvdata/testdata/CP773..UTF8: New file.
68643         * iconvdata/testdata/CP774: New file.
68644         * iconvdata/testdata/CP774..UTF8: New file.
68646         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
68647         END CHARMAP line.
68648         * iconvdata/gen-8bit-gap.sh: Likewise.
68649         * iconvdata/gen-8bit.sh: Likewise.
68651         * locale/iso-639.def: Add ary entry.
68653         [BZ #11258]
68654         * locale/C-translit.h.in: Add U20A1 transliteration.
68656         [BZ #12178]
68657         * locale/iso-639.def: Add wae entry.
68658         Patch by Kevin Bortis <bortis@translate-wae.ch>.
68660         [BZ #12545]
68661         * locale/programs/localedef.c (construct_output_path): Use ssize_t
68662         for n.
68664         [BZ #12711]
68665         * locale/C-translit.h.in: Add entry for U20B9.
68666         Patch by pravin.d.s@gmail.com.
68668 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
68670         [BZ #12713]
68671         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
68672         ENAMETOOLONG use generic getcwd.
68673         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
68674         in rtld.  Use *stat64.
68675         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
68676         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
68677         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
68678         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
68679         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
68680         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
68681         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
68682         __fstatat64 macros.
68683         * include/dirent.h: Add libc_hidden_proto for rewinddir.
68684         * dirent/rewinddir.c: Add libc_hidden_def.
68685         * sysdeps/mach/hurd/rewinddir.c: Likewise.
68686         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
68688         * include/dirent.h (__alloc_dir): Add flags parameter.
68689         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
68690         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
68691         __alloc_dir.
68692         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
68693         from fdopendir if O_CLOEXEC is already set.
68695 2011-03-15  Alan Modra  <amodra@gmail.com>
68697         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
68698         l_tls_firstbyte_offset non-zero.  Save padding offset in
68699         l_tls_firstbyte_offset for later use.
68700         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
68701         freeing static tls block.
68703 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
68705         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
68706         where #ifdef was intended.  The intent is to prevent ARG_MAX from
68707         being defined by the kernel headers.
68709 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
68711         [BZ #12734]
68712         * resolv/resolv.h: Define RES_NOTLDQUERY.
68713         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
68714         no-tld-query and set RES_NOTLDQUERY.
68715         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
68716         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
68717         modern BIND to search name as TLD unless forbidden.
68719 2011-05-07  Petr Baudis  <pasky@suse.cz>
68720             Ulrich Drepper  <drepper@gmail.com>
68722         [BZ #12393]
68723         * elf/dl-load.c (fillin_rpath): Move trusted path check...
68724         (is_trusted_path): ...to here.
68725         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
68726         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
68727         using is_trusted_path_normalize() in setuid scripts.
68729 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68731         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
68732         __BEGIN/__END_DECLS.
68734 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
68736         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
68737         NSS_STATUS_NOTFOUND if no record was found.
68739 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68741         * sunrpc/Makefile (headers): Add rpc/netdb.h.
68742         (headers-not-in-tirpc): Remove rpc/netdb.h
68743         * resolv/netdb.h: Revert last change.
68745 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68747         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
68748         circular dependency between libgcc.a and libc.a.
68750 2011-05-05  Andreas Schwab  <schwab@redhat.com>
68752         * resolv/netdb.h: Don't include <rpc/netdb.h>.
68753         * nis/Makefile: Don't install rpcsvc/*.
68754         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
68755         instead of <rpc/types.h>.
68756         (MAXHOSTNAMELEN): Define.
68758 2011-05-03  Andreas Schwab  <schwab@redhat.com>
68760         * elf/ldconfig.c (add_dir): Don't crash on empty path.
68762 2011-04-28  Maciej Babinski  <mbabinski@google.com>
68764         [BZ #12714]
68765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
68766         gethostbyname4_r when IPv6 results are possible.
68768 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
68770         [BZ #12723]
68771         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
68772         _PC_PIPE_BUF handling.
68774 2011-04-30  Bruno Haible  <bruno@clisp.org>
68776         [BZ #12717]
68777         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
68778         * resolv/netdb.h (getnameinfo): Change type of flags parameter
68779         to 'int'.
68780         * inet/getnameinfo.c (getnameinfo): Likewise.
68782 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
68784         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
68785         to groups setting in database lookup.
68786         * nss/nsswitch.conf: Add initgroups entry.
68788 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
68790         [BZ #12685]
68791         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
68792         mode string.
68793         Patch by Eric Blake <eblake@redhat.com>.
68795 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
68797         * sunrpc/Makefile (need-export-routines): Add svc_run.
68798         (routines): Remove svc_run.
68799         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
68800         * sunrpc/clnt_perr.c (clnt_perrno): Export.
68801         * sunrpc/svc_run.c (svc_run): Likewise.
68802         * sunrpc/svc_udp.c (svcudp_create): Likewise.
68804 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
68806         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
68807         problem in reallocation in last patch.
68809 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
68811         * sunrpc/Makefile: Move inclusion of Rules.
68813 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68815         * nss/nss_files/files-initgroups.c: New file.
68816         * nss/Makefile (libnss_files-routines): Add files-initgroups.
68817         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
68818         _nss_files_initgroups_dyn.
68820 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
68822         * elf/elf.h (R_ARM_IRELATIVE): Define.
68824 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
68826         * po/ru.po: Update from translation team.
68828 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68830         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
68831         dependencies.
68833 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
68835         [BZ #12653]
68836         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
68837         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
68838         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
68840         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
68842 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
68844         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
68845         differing bytes.
68846         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
68847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
68848         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
68850 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
68852         [BZ #12420]
68853         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
68854         storing it.
68855         * stdlib/bug-getcontext.c: New file.
68856         * stdlib/Makefile: Add rules to build and run bug-getcontext.
68858 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68860         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
68861         instructions into .machine "z9-109".
68862         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
68863         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
68865 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68867         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
68868         between environment variables and auxiliary vector.
68870 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
68872         * Makefile: Add rules to build linkobj/libc.so.
68873         * include/libc-symbols.h: Define libc_hidden_nolink.
68874         * include/rpc/auth.h: Mark functions which are to be hidden.
68875         * include/rpc/auth_des.h: Likewise.
68876         * include/rpc/auth_unix.h: Likewise.
68877         * include/rpc/clnt.h: Likewise.
68878         * include/rpc/des_crypt.h: Likewise.
68879         * include/rpc/key_prot.h: Likewise.
68880         * include/rpc/pmap_clnt.h: Likewise.
68881         * include/rpc/pmap_prot.h: Likewise.
68882         * include/rpc/pmap_rmt.h: Likewise.
68883         * include/rpc/rpc_msg.h: Likewise.
68884         * include/rpc/svc.h: Likewise.
68885         * include/rpc/svc_auth.h: Likewise.
68886         * include/rpc/xdr.h: Likewise.
68887         * nis/Makefile: Link all DSOs against linkobj/libc.so.
68888         * nss/Makefile: Likewise.
68889         * sunrpc/Makefile: Don't install headers.  Build library with normal
68890         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
68891         * sunrpc/auth_des.c: Hide exported symbols by default, export some
68892         for the compat linking library.  Remove use of INTDEF/INTUSE.
68893         * sunrpc/auth_none.c: Likewise.
68894         * sunrpc/auth_unix.c: Likewise.
68895         * sunrpc/authdes_prot.c: Likewise.
68896         * sunrpc/authuxprot.c: Likewise.
68897         * sunrpc/clnt_gen.c: Likewise.
68898         * sunrpc/clnt_perr.c: Likewise.
68899         * sunrpc/clnt_raw.c: Likewise.
68900         * sunrpc/clnt_simp.c: Likewise.
68901         * sunrpc/clnt_tcp.c: Likewise.
68902         * sunrpc/clnt_udp.c: Likewise.
68903         * sunrpc/clnt_unix.c: Likewise.
68904         * sunrpc/des_crypt.c: Likewise.
68905         * sunrpc/des_soft.c: Likewise.
68906         * sunrpc/get_myaddr.c: Likewise.
68907         * sunrpc/key_call.c: Likewise.
68908         * sunrpc/key_prot.c: Likewise.
68909         * sunrpc/netname.c: Likewise.
68910         * sunrpc/pm_getmaps.c: Likewise.
68911         * sunrpc/pm_getport.c: Likewise.
68912         * sunrpc/pmap_clnt.c: Likewise.
68913         * sunrpc/pmap_prot.c: Likewise.
68914         * sunrpc/pmap_prot2.c: Likewise.
68915         * sunrpc/pmap_rmt.c: Likewise.
68916         * sunrpc/publickey.c: Likewise.
68917         * sunrpc/rpc_cmsg.c: Likewise.
68918         * sunrpc/rpc_common.c: Likewise.
68919         * sunrpc/rpc_dtable.c: Likewise.
68920         * sunrpc/rpc_prot.c: Likewise.
68921         * sunrpc/rpc_thread.c: Likewise.
68922         * sunrpc/rtime.c: Likewise.
68923         * sunrpc/svc.c: Likewise.
68924         * sunrpc/svc_auth.c: Likewise.
68925         * sunrpc/svc_authux.c: Likewise.
68926         * sunrpc/svc_raw.c: Likewise.
68927         * sunrpc/svc_run.c: Likewise.
68928         * sunrpc/svc_simple.c: Likewise.
68929         * sunrpc/svc_tcp.c: Likewise.
68930         * sunrpc/svc_udp.c: Likewise.
68931         * sunrpc/svc_unix.c: Likewise.
68932         * sunrpc/svcauth_des.c: Likewise.
68933         * sunrpc/xcrypt.c: Likewise.
68934         * sunrpc/xdr.c: Likewise.
68935         * sunrpc/xdr_array.c: Likewise.
68936         * sunrpc/xdr_float.c: Likewise.
68937         * sunrpc/xdr_intXX_t.c: Likewise.
68938         * sunrpc/xdr_mem.c: Likewise.
68939         * sunrpc/xdr_rec.c: Likewise.
68940         * sunrpc/xdr_ref.c: Likewise.
68941         * sunrpc/xdr_sizeof.c: Likewise.
68942         * sunrpc/xdr_stdio.c: Likewise.
68944 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68946         [BZ #12650]
68947         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68948         * sysdeps/ia64/dl-tls.h: Likewise.
68949         * sysdeps/powerpc/dl-tls.h: Likewise.
68950         * sysdeps/s390/dl-tls.h: Likewise.
68951         * sysdeps/sh/dl-tls.h: Likewise.
68952         * sysdeps/sparc/dl-tls.h: Likewise.
68953         * sysdeps/x86_64/dl-tls.h: Likewise.
68954         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68956 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68958         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68959         rpath element also skip the following colon.
68960         (expand_dynamic_string_token): Add is_path parameter and pass
68961         down to DL_DST_REQUIRED and _dl_dst_substitute.
68962         (decompose_rpath): Call expand_dynamic_string_token with
68963         non-zero is_path.  Ignore empty rpaths.
68964         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68965         with zero is_path.
68967 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68970         Make cancelable.
68972 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68974         [BZ #12655]
68975         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68976         Patch by Filipe David Manana <fdmanana@apache.org>.
68978 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68980         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68981         Maintain aligned stack.
68982         (CHECK_RSP): Remove unused macro.
68984 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68986         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68987         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68989 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68991         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68993         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68995 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68997         [BZ #12518]
68998         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68999         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69000         * sysdeps/x86_64/memmove.c: New file.
69001         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69002         (memcpy): Renamed to ...
69003         (__new_memcpy): This.
69004         (memcpy): Provide GLIBC_2_14 memcpy.
69005         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69006         (memcpy): Provide GLIBC_2_2_5 memcpy.
69008 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69010         [BZ #12631]
69011         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69013 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69015         * misc/syncfs.c: New file.
69016         * misc/Makefile (routines): Add syncfs.
69017         * posix/unistd.h: Declare syncfs.
69018         * sysdeps/unix/syscalls.list: Add syncfs.
69020 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69022         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69023         open_by_handle_at.
69024         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69025         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69026         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69027         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69029         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69032 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69034         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69035         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69036         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69037         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69038         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69040         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69042         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69043         sync_file_range.c with -fexceptions.
69044         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69045         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69046         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69047         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69048         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69049         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69050         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69051         sync_file_range as cancellation point
69052         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69053         now a wrapper around __call_sync_file_range with cancellation handling.
69054         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69055         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69056         function name to __call_sync_file_range.
69057         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69058         Add call_sync_file_range.
69060 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69063         bits/timex.h.
69065 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69067         * iconv/iconv.h: Fix typo in comment.
69068         * io/fcntl.h: Likewise.
69069         * libio/stdio.h: Likewise.
69070         * posix/spawn.h: Likewise.
69071         * posix/unistd.h: Likewise.
69072         * stdlib/stdlib.h: Likewise.
69073         * time/time.h: Likewise.
69074         * wcsmbs/wchar.h: Likewise.
69076         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69077         open_by_handle): Add.
69078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69079         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69080         Augment a few comments.
69081         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69083         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69086         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69087         open_by_handle.
69089         * io/fcntl.h (AT_EMPTY_PATH): Define.
69091 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69093         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69094         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69095         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69096         to...
69097         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69098         * Versions.def: Add GLIBC_2.14.
69099         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69100         Export.
69102 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69104         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69105         round counter.
69106         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69108 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69110         [BZ #12597]
69111         * string/test-strncmp.c (do_page_test): New function.
69112         (check2): Likewise.
69113         (test_main): Call check2.
69114         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69116 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69118         [BZ #12587]
69119         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69120         Handle cache information in CPU leaf 4.
69121         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69123 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69125         [BZ #12583]
69126         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69127         character representation.
69128         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69130 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69132         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69133         END(__isnan) to END(__isnanf) to match function entry point/label
69134         EALIGN(__isnanf,...).
69136 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69138         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69140 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69142         [BZ #12510]
69143         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69144         copy from the symbol referenced in the relocation to initialize the
69145         used variable.
69146         Patch by Piotr Bury <pbury@goahead.com>.
69147         * elf/Makefile: Add rules to build and tst-unique3.
69148         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69149         * elf/tst-unique3.cc: New file.
69150         * elf/tst-unique3.h: New file.
69151         * elf/tst-unique3lib.cc: New file.
69152         * elf/tst-unique3lib2.cc: New file.
69154         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69156 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69158         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69159         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69160         to _start.
69162 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69164         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69165         to-be-loaded object along a path to loader is ld.so.
69167 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69168             Ulrich Drepper  <drepper@gmail.com>
69170         * sysdeps/x86_64/memset.S: After aligning destination, code
69171         branches to different locations depending on the value of
69172         misalignment, when multiarch is enabled. Fix this.
69174 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69176         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69177         Set _x86_64_preferred_memory_instruction for AMD processsors.
69178         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69179         Set bit_Prefer_SSE_for_memop for AMD processors.
69181 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69183         * libio/fmemopen.c (fmemopen): Optimize a bit.
69185 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69187         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69189 2011-03-03  Roland McGrath  <roland@redhat.com>
69191         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69193 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69195         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69196         __bzero_ultra1 instead of __memset_ultra1.
69198 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69199             Ulrich Drepper  <drepper@gmail.com>
69201         [BZ #12509]
69202         * include/link.h (struct link_map): Add l_orig_initfini.
69203         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69204         returning unsuccessfully.
69205         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69206         close of a file loaded at startup, restore the original l_initfini
69207         list.
69208         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69209         list, store the pointer.
69210         * elf/Makefile ($(objpfx)noload-mem): New rule.
69211         (noload-ENV): Define.
69212         (tests): Add $(objpfx)noload-mem.
69213         * elf/noload.c: Include <memcheck.h>.
69214         (main): Call mtrace.  Close all opened handles.
69216 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69218         [BZ #12454]
69219         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69220         dependencies are missing.
69222 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69224         Fix __if_freereq crash: Unlike the generic version which uses free,
69225         Hurd needs munmap.
69226         * sysdeps/mach/hurd/ifreq.h: New file.
69228 2011-01-27  Petr Baudis  <pasky@suse.cz>
69229             Ulrich Drepper  <drepper@gmail.com>
69231         [BZ 12445]#
69232         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69233         to extend_alloca().
69234         * stdio-common/bug23.c: New file.
69235         * stdio-common/Makefile (tests): Add bug23.
69237 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69238             Ulrich Drepper  <drepper@gmail.com>
69240         [BZ #12489]
69241         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69242         before performing relro protection.  At old place add assertion
69243         to make sure nothing changed.
69245 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69246             Glauber de Oliveira Costa  <glommer@gmail.com>
69248         * elf/elf.h: Add new ARM TLS relocs.
69250 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69253         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69254         cast from r3.
69255         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69256         'tests' variable.
69257         * sysdeps/wordsize-64/tst-writev.c: New file.
69259 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69261         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69262         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69263         insns in _dl_start to prevent a TOC reference before relocs are
69264         resolved.
69266 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69268         [BZ #12469]
69269         * Makeconfig: Remove RANLIB definition.
69270         * Makerules: Don't use RANLIB.
69271         * aclocal.m4: Remove ranlib test.
69272         * configure.in: No need to check for ranlib.
69273         * elf/rtld-Rules: Don't use RANLIB.
69275 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69277         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69278         protection macro.
69279         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69280         inclusion protection macro.
69282         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69283         SIGRTMIN and SIGRTMAX and print information in that case only when
69284         SIGRTMIN is defined.
69286 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69288         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69289         arginfo fn returning -1.
69291         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69292         and thousands string is zero terminated.
69294 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69296         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69297         sysdeps/unix/sysv/linux/bits/socket.h.
69299 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69301         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69302         (__CPU_COUNT): Remove old macros.
69303         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69304         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69305         (__CPU_ALLOC, __CPU_FREE): Add macros.
69306         (__sched_cpualloc, __sched_cpufree): Add declarations.
69308 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69310         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69311         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69312         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69313         (readdhstai): Return value of addhstaiX call.
69314         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69315         (addgrbyX): Return value returned by cache_addgr.
69316         (readdgrbyname): Return value returned by addgrbyX.
69317         (readdgrbygid): Likewise.
69318         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69319         (addpwbyX): Return value returned by cache_addpw.
69320         (readdpwbyname): Return value returned by addhstbyX.
69321         (readdpwbyuid): Likewise.
69322         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69323         (addservbyX): Return value returned by cache_addserv.
69324         (readdservbyname): Return value returned by addservbyX:
69325         (readdservbyport): Likewise.
69326         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69327         (addhstbyX): Return value returned by cache_addhst.
69328         (readdhstbyname): Return value returned by addhstbyX.
69329         (readdhstbyaddr): Likewise.
69330         (readdhstbynamev6): Likewise.
69331         (readdhstbyaddrv6): Likewise.
69332         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69333         (readdinitgroups): Return value returned by addinitgroupsX.
69334         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69335         (prune_cache): Keep track of timeout value of re-added entries.
69336         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69337         * nscd/nscd.h: Adjust prototypes of readd* functions.
69339 2011-02-04  Roland McGrath  <roland@redhat.com>
69341         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69342         (nis_stats): Likewise.
69343         * nis/nis_modify.c (nis_modify): Likewise.
69344         * nis/nis_remove.c (nis_remove): Likewise.
69345         * nis/nis_add.c (nis_add): Likewise.
69347         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69349         * posix/fnmatch_loop.c: Add some consts.
69351         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69353 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69355         [BZ #12460]
69356         * config.make.in (config-cflags-novzeroupper): Define.
69357         * configure.in: Substitute libc_cv_cc_novzeroupper.
69358         * elf/Makefile (AVX-CFLAGS): Define.
69359         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69360         (CFLAGS-tst-auditmod4a.c): Likewise.
69361         (CFLAGS-tst-auditmod4b.c): Likewise.
69362         (CFLAGS-tst-auditmod6b.c): Likewise.
69363         (CFLAGS-tst-auditmod6c.c): Likewise.
69364         (CFLAGS-tst-auditmod7b.c): Likewise.
69365         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69367 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69369         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69370         function to the callback.
69371         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69373 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69375         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69376         of errno.
69378 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69380         [BZ #11724]
69381         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69382         of constructors.
69383         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69384         of destructors.
69385         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69387         [BZ #11724]
69388         * elf/Makefile: Add rules to build and run new test.
69389         * elf/tst-initorder.c: New file.
69390         * elf/tst-initorder.exp: New file.
69391         * elf/tst-initordera1.c: New file.
69392         * elf/tst-initordera2.c: New file.
69393         * elf/tst-initordera3.c: New file.
69394         * elf/tst-initordera4.c: New file.
69395         * elf/tst-initorderb1.c: New file.
69396         * elf/tst-initorderb2.c: New file.
69397         * elf/tst-order-a1.c: New file.
69398         * elf/tst-order-a2.c: New file.
69399         * elf/tst-order-a3.c: New file.
69400         * elf/tst-order-a4.c: New file.
69401         * elf/tst-order-b1.c: New file.
69402         * elf/tst-order-b2.c: New file.
69403         * elf/tst-order-main.c: New file.
69404         New test case by George Gensure <werkt0@gmail.com>.
69406 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69408         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69409         decoding ACE if AI_CANONIDN.
69411 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69413         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69415 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69417         * version.h (RELEASE): Bump for 2.13 release.
69418         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69420         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69422         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69423         MADV_NOHUGEPAGE.
69424         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69425         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69426         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69427         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69428         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69429         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69431         * posix/getconf.c: Update copyright year.
69432         * catgets/gencat.c: Likewise.
69433         * csu/version.c: Likewise.
69434         * debug/catchsegv.sh: Likewise.
69435         * debug/xtrace.sh: Likewise.
69436         * elf/ldconfig.c: Likewise.
69437         * elf/ldd.bash.in: Likewise.
69438         * elf/sprof.c (print_version): Likewise.
69439         * iconv/iconv_prog.c: Likewise.
69440         * iconv/iconvconfig.c: Likewise.
69441         * locale/programs/locale.c: Likewise.
69442         * locale/programs/localedef.c: Likewise.
69443         * malloc/memusage.sh: Likewise.
69444         * malloc/mtrace.pl: Likewise.
69445         * nscd/nscd.c (print_version): Likewise.
69446         * nss/getent.c: Likewise.
69448         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69449         PF_CAIF, and PF_ALG.
69450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69452 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69454         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69455         (modules-names): Use them.
69456         (ifunc-test-modules, ifunc-pie-tests): Define.
69457         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69458         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69459         (test-extras): Likewise.
69460         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69461         $(compile-command.c).
69462         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69463         (all-built-dso): Define.
69464         (check-textrel.out, check-execstack.out): Depend on it.
69466         * configure.in: Don't override --enable-multi-arch.
69468 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69470         [BZ #6812]
69471         * nscd/hstcache.c (tryagain): Define.
69472         (cache_addhst): Return tryagain not notfound for temporary errors.
69473         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69474         failed.
69476 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69478         [BZ #10563]
69479         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69480         to make the syscall.
69481         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69483         [BZ #12378]
69484         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69485         and fall back to matching as normal character if the string ends before
69486         the matching ']' is found.  This is what POSIX requires.
69487         * posix/testfnm.c: Adjust test result.
69488         * posix/globtest.sh: Adjust test result.  Add new test.
69489         * posix/tst-fnmatch.input: Likewise.
69490         * posix/tst-fnmatch2.c: Add new test.
69492 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69494         * elf/Makefile (check-execstack): Revert last change.  Depend on
69495         check-execstack.h.
69496         (check-execstack.h): New target.
69497         (generated): Add check-execstack.h.
69498         * elf/check-execstack.c: Include "check-execstack.h".
69499         (main): Revert last change.
69500         (handle_file): Return zero if GNU_STACK is absent and
69501         DEFAULT_STACK_PERMS doesn't include PF_X.
69503 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
69505         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
69506         in child fails because the descriptor is already closed.
69507         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
69508         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
69509         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
69511         [BZ #12397]
69512         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
69513         syscall.
69515         [BZ #10484]
69516         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
69517         temporary buffer used to handle multi lookups locally.
69518         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
69520 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69522         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
69523         loader is ld.so.
69525 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
69527         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
69528         alignment for SSE2.
69530 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
69532         [BZ #12394]
69533         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
69534         characters.  When rounding increased number of integer digits recompute
69535         number of groups.
69536         * stdio-common/tst-grouping.c: New file.
69537         * stdio-common/Makefile: Add rules to build and run tst-grouping.
69539 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
69541         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
69542         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
69544         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
69545         void.
69546         * bits/select.h: Likewise.
69548 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
69550         * po/ja.po: Update from translation team.
69552 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
69554         [BZ #11155]
69555         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
69556         implementation just like for lxstat, fxstatat, et al.
69558 2010-12-27  Jim Meyering  <meyering@redhat.com>
69560         [BZ #12348]
69561         * posix/regexec.c (build_trtable): Return failure indication upon
69562         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
69564 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
69566         [BZ #12201]
69567         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
69568         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
69569         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
69570         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
69572         [BZ #12207]
69573         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
69575         [BZ #12204]
69576         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
69577         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
69579 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
69581         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
69582         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
69583         script has SORT_BY_INIT_PRIORITY.
69584         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
69585         NO_CTORS_DTORS_SECTIONS is defined.
69586         * elf/soinit.c: Likewise.
69587         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
69588         NO_CTORS_DTORS_SECTIONS is defined.
69589         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
69590         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
69591         * sysdeps/sh/init-first.c: Likewise.
69592         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
69594 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
69596         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
69597         always use the slow path.
69599 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
69601         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
69602         similar rule which adds the sysdep directories to the header search in
69603         order to pick up the correct platform stackinfo.h.
69604         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
69605         perform test if it is, otherwise return successfully without testing.
69606         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
69607         DEFAULT_STACK_PERMS define in stackinfo.h.
69608         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
69609         defined in stackinfo.h.
69610         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
69611         DEFAULT_STACK_PERMS defined in stackinfo.h.
69612         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
69613         * sysdeps/ia64/stackinfo.h: Likewise.
69614         * sysdeps/s390/stackinfo.h: Likewise.
69615         * sysdeps/sh/stackinfo.h: Likewise.
69616         * sysdeps/sparc/stackinfo.h: Likewise.
69617         * sysdeps/x86_64/stackinfo.h: Likewise.
69618         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
69619         PF_X for powerpc64.  Retain PF_X for powerpc32.
69621 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
69623         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
69624         accurately.
69625         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
69626         GETDENTS_64BIT_ALIGNED.
69628 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
69630         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
69632 2010-12-10  Andreas Schwab  <schwab@redhat.com>
69634         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
69635         _GNU_SOURCE.
69637         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
69638         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
69639         Remove __restrict.
69640         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
69641         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
69643 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
69645         [BZ #11655]
69646         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
69647         are initialized.
69649 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
69651         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
69653 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
69655         * po/it.po: Update from translation team.
69657 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
69659         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
69660         unused codes.
69662 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
69664         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
69666 2010-11-24  Andreas Schwab  <schwab@redhat.com>
69668         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
69669         specially.
69670         (gaih_getanswer_slice): Likewise.
69672 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
69674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
69676 2010-05-31  Petr Baudis  <pasky@suse.cz>
69678         [BZ #11149]
69679         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
69680         silently even in the chroot mode.
69682 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
69684         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
69685         last patch a bit.  Pretty printing
69687 2010-05-31  Petr Baudis <pasky@suse.cz>
69689         [BZ #10085]
69690         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
69691         initialization of skip_initgroups_dyn.
69693 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
69695         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
69696         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69698 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
69700         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
69702 2010-11-11  Andreas Schwab  <schwab@redhat.com>
69704         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
69705         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
69706         (tst-fnmatch-ENV): Set MALLOC_TRACE.
69707         ($(objpfx)tst-fnmatch-mem): New rule.
69708         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
69709         * posix/tst-fnmatch.c (main): Call mtrace.
69711 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
69713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69714         Support Intel processor model 6 and model 0x2c.
69716 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
69718         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
69719           signed comparison.
69721 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
69723         [BZ #12205]
69724         * string/test-strncasecmp.c (check_result): New function.
69725         (do_one_test): Use it.
69726         (check1): New function.
69727         (test_main): Use it.
69728         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
69729         Support strcasecmp and strncasecmp.
69731 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
69733         [BZ #12194]
69734         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
69735         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69737 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
69739         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
69740         IFUNC support.
69741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69742         memset-x86-64.
69743         * sysdeps/x86_64/multiarch/bzero.S: New file.
69744         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
69745         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
69746         * sysdeps/x86_64/multiarch/memset.S: New file.
69747         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
69748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69749         Set bit_Prefer_SSE_for_memop for Intel processors.
69750         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
69751         Define.
69752         (index_Prefer_SSE_for_memop): Define.
69753         (HAS_PREFER_SSE_FOR_MEMOP): Define.
69755 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
69757         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
69758         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
69760 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
69762         [BZ #12191]
69763         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69764         (__x86_64_raw_data_cache_size_half): Likewise.
69765         (__x86_64_raw_shared_cache_size): Likewise.
69766         (__x86_64_raw_shared_cache_size_half): Likewise.
69768         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
69769         (__x86_64_raw_data_cache_size_half): Likewise.
69770         (__x86_64_raw_shared_cache_size): Likewise.
69771         (__x86_64_raw_shared_cache_size_half): Likewise.
69772         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
69773         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
69774         and __x86_64_raw_shared_cache_size_half.  Round
69775         __x86_64_data_cache_size_half, __x86_64_data_cache_size
69776         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
69777         to multiple of 256 bytes.
69779 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
69781         [BZ #12167]
69782         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
69783         of inacessible symlinks.  Verify result of symlink before returning it.
69784         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
69785         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
69787 2010-10-28  Erich Ritz  <erichritz@gmail.com>
69789         * math/math.h (isinf): Fix typo in comment.
69791 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
69793         * po/da.po: Update from translation team.
69795 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
69797         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
69798         is added to the list.
69800 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69801             Ulrich Drepper  <drepper@gmail.com>
69803         * elf/dl-object.c (_dl_new_object): Don't append the new object to
69804         the global list here.  Move code to...
69805         (_dl_add_to_namespace_list): ...here.  New function.
69806         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
69807         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
69808         * elf/dl-load.c (lose): Don't remove the element from the list.
69809         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
69810         (_dl_map_object): Likewise.
69812 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
69814         [BZ #12159]
69815         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
69816         into all bytes of SSE register.
69817         Patch by Richard Li <richardpku@gmail.com>.
69819 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
69821         [BZ #12140]
69822         * malloc/malloc.c (_int_free): Fill correct number of bytes when
69823         perturbing.
69825 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
69827         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
69828         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
69829         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
69830         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
69831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
69832         submachine.
69833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
69835 2010-10-22  Andreas Schwab  <schwab@redhat.com>
69837         * include/dlfcn.h (__RTLD_SECURE): Define.
69838         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
69839         mode & __RTLD_SECURE instead.
69840         (open_path): Rename preloaded parameter to secure.
69841         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
69842         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
69843         * elf/dl-deps.c (openaux): Likewise.
69844         * elf/rtld.c (struct map_args): Remove is_preloaded.
69845         (map_doit): Don't use it.
69846         (dl_main): Likewise.
69847         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
69848         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
69850 2010-09-09  Andreas Schwab  <schwab@redhat.com>
69852         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
69853         (sysd-rules-targets): Remove duplicates.
69854         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
69855         rtld-%.$o dependency.
69857 2010-10-18  Andreas Schwab  <schwab@redhat.com>
69859         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
69860         _dl_map_object do it.
69862 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
69864         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
69865         fast fma builtins, define the macros in the C99 standard.
69866         (FP_FAST_FMAF): Likewise.
69867         (FP_FAST_FMAL): Likewise.
69868         * sysdeps/x86_64/bits/mathdef.h: Likewise.
69870         * bits/mathdef.h: Update copyright year.
69871         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69873 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
69875         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
69876         builtins, define the macros in the C99 standard.
69877         (FP_FAST_FMAF): Likewise.
69878         (FP_FAST_FMAL): Likewise.
69879         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
69880         multiply/add.
69881         (FP_FAST_FMAF): Likewise.
69883 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
69885         [BZ #3268]
69886         * math/libm-test.inc (fma_test): Some new testcases.
69887         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
69888         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
69889         y and infinite z.  Do multiplication by C already in long double.
69890         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
69891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
69892         y and infinite z.  Do bitwise or of inexact bit into u.d.
69893         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
69894         * sysdeps/i386/fpu/s_fmaf.S: Removed.
69895         * sysdeps/i386/fpu/s_fma.S: Removed.
69896         * sysdeps/i386/fpu/s_fmal.S: Removed.
69898 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
69900         [BZ #3268]
69901         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
69902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
69903         computation is not scheduled after fetestexcept.  Fix value
69904         of minimum denormal long double.
69906 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
69908         [BZ #3268]
69909         * math/libm-test.inc (fma_test): Add some more tests.
69910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
69911         correctly.
69913 2010-10-15  Andreas Schwab  <schwab@redhat.com>
69915         * scripts/data/localplt-s390-linux-gnu.data: New file.
69916         * scripts/data/localplt-s390x-linux-gnu.data: New file.
69918 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
69920         [BZ #3268]
69921         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
69922         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
69923         instead of dbl-64.
69924         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
69925         inlines.
69926         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
69927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
69928         if one of x and y is very large and the other is subnormal.
69929         * sysdeps/s390/fpu/s_fmaf.c: New file.
69930         * sysdeps/s390/fpu/s_fma.c: New file.
69931         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
69932         * sysdeps/powerpc/fpu/s_fma.S: New file.
69933         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
69934         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
69935         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69937 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69939         [BZ #3268]
69940         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69941         fma tests.
69942         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69943         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69944         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69945         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69946         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69947         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69948         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69950 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69952         [BZ #12078]
69953         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69954         * posix/bug-regex31.input: Add test case.
69956 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69958         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69959         * posix/bug-regex31.input: New file.
69961         [BZ #12078]
69962         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69963         (parse_sub_exp): Fix last change, use postorder.
69965         * posix/bug-regex31.c: New file.
69966         * posix/Makefile: Add rules to build and run bug-regex31.
69968         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69970         [BZ #12078]
69971         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69973         [BZ #12108]
69974         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69975         to have entries in sys_siglist.
69977         [BZ #12093]
69978         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69979         be NULL.
69981 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69983         [BZ #3268]
69984         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69985         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69986         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69987         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69988         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69989         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69990         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69991         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69992         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69993         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69994         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69995         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69996         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69997         * math/ftestexcept.c (fetestexcept): Likewise.
69998         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69999         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70000         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70001         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70002         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70003         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70004         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70006 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70008         [BZ #12107]
70009         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70010         newline.
70012 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70014         * string/bug-strstr1.c: New file.
70015         * string/Makefile: Add rules to build and run bug-strstr1.
70017 2010-10-05  Eric Blake  <eblake@redhat.com>
70019         [BZ #12092]
70020         * string/str-two-way.h (two_way_long_needle): Always clear memory
70021         when skipping input due to the shift table.
70023 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70025         [BZ #12005]
70026         * malloc/mcheck.c: Handle large requests.
70028         [BZ #12077]
70029         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70030         for strncmp and strncasecmp.
70031         * string/stratcliff.c: Add tests for strcmp and strncmp.
70032         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70034 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70036         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70037         __set_fpscr.
70039 2010-09-30  Andreas Jaeger  <aj@suse.de>
70041         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70042         (CGROUP_SUPER_MAGIC): Define.
70043         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70044         Handle btrfs and cgroup file systems.
70045         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70046         Likewise.
70048 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70050         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70051         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70053 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70055         [BZ #12067]
70056         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70057         trying to locate the ELF header.
70059 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70061         [BZ #11611]
70062         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70063         Mask out sign-bit copies when constructing f_fsid.
70065 2010-09-24  Petr Baudis <pasky@suse.cz>
70067         * debug/stack_chk_fail_local.c: Add missing licence exception.
70068         * debug/warning-nop.c: Likewise.
70070 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70072         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70073         implementing getdents64 using getdents syscall, set d_type if
70074         __ASSUME_GETDENTS32_D_TYPE.
70076 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70078         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70079         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70081 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70083         [BZ #12037]
70084         * posix/unistd.h: Undo change of feature selection for ftruncate from
70085         2010-01-11.
70087 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70089         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70090         detection.
70092 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70094         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70095         fanotify_mark.
70096         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70098 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70100         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70101         variables after CHECK_SP call.
70102         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70104 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70105             Ulrich Drepper  <drepper@redhat.com>
70107         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70108         re-relocationg ld.so.
70109         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70110         _dl_init_paths call.
70111         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70112         here anymore.
70114 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70116         * resolv/res_init.c (__res_vinit): Count the default server we added.
70118 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70119             Ulrich Drepper  <drepper@redhat.com>
70121         [BZ #11968]
70122         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70123         (____longjmp_chk): Use %ebx for saving value across system call.
70124         Add unwind info.
70126 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70128         * manual/Makefile: Don't mix pattern rules with normal rules.
70130 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70132         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70133         operation.
70134         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70135         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70136         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70137         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70139         Likewise.
70141 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70143         [BZ #11979]
70144         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70145         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70147 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70149         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70150         * sysdeps/x86_64/addmul_1.S: Likewise.
70151         * sysdeps/x86_64/lshift.S: Likewise.
70152         * sysdeps/x86_64/mul_1.S: Likewise.
70153         * sysdeps/x86_64/rshift.S: Likewise.
70154         * sysdeps/x86_64/sub_n.S: Likewise.
70155         * sysdeps/x86_64/submul_1.S: Likewise.
70157 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70159         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70160         Define __sched_param instead of SCHED_* and sched_param when
70161         <bits/sched.h> is included with __need_schedparam defined.
70162         * bits/sched.h [__need_schedparam]
70163         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70164         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70165         (__defined_schedparam): Define to 1.
70166         (__sched_param): New structure, identical to sched_param.
70167         (__need_schedparam): Undefine.
70169 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70171         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70172         (epoll_create1): Declare.
70174         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70176 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70178         [BZ #7066]
70179         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70180         shifting retval into place.
70182 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70184         * nis/rpcsvc/nis.h: Update copyright notice.
70185         * nis/rpcsvc/nis.x: Likewise.
70186         * nis/rpcsvc/nis_callback.h: Likewise.
70187         * nis/rpcsvc/nis_callback.x: Likewise.
70188         * nis/rpcsvc/nis_object.x: Likewise.
70189         * nis/rpcsvc/nis_tags.h: Likewise.
70190         * nis/rpcsvc/yp.h: Likewise.
70191         * nis/rpcsvc/yp.x: Likewise.
70192         * nis/rpcsvc/ypupd.h: Likewise.
70193         * nis/yp_xdr.c: Likewise.
70194         * nis/ypupdate_xdr.c: Likewise.
70196         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70197         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70198         (pmap_getport): Use __libc_rpc_getport.
70199         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70200         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70201         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70203 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70206         fanotify_mark.
70208 2010-08-27  Roland McGrath  <roland@redhat.com>
70210         * sysdeps/i386/i686/multiarch/Makefile
70211         (CFLAGS-varshift.c): New variable.
70213 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70215         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70216         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70218         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70220         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70222 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70224         * sysdeps/x86_64/strlen.S: Unroll the loop.
70225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70226         strlen-sse2 strlen-sse2-bsf.
70227         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70228         __strlen_no_bsf if bit_Slow_BSF is set.
70229         (__strlen_sse42): Removed.
70230         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70231         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70233 2010-08-25  Roland McGrath  <roland@redhat.com>
70235         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70236         * sysdeps/x86_64/multiarch/varshift.c: New file.
70237         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70238         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70239         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70240         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70242 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70245         strlen-sse2 strlen-sse2-bsf.
70246         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70247         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70248         (__strlen_sse2): Removed.
70249         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70250         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70252         bit_Slow_BSF for Atom.
70253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70254         (index_Slow_BSF): Define.
70255         (HAS_SLOW_BSF): Define.
70257 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70259         [BZ #10851]
70260         * resolv/res_init.c (__res_vinit): When no server address at all
70261         is given default to loopback.
70263 2010-08-24  Roland McGrath  <roland@redhat.com>
70265         * configure.in: Remove config-name.h generation.
70266         * configure: Regenerated.
70267         * config-name.in: File removed.
70268         * scripts/config-uname.sh: New file.
70269         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70270         ($(objdir)config-name.h): New target.
70272         * sunrpc/rpc_parse.h: Avoid nested comment.
70274 2010-08-24  Richard Henderson  <rth@redhat.com>
70275             Ulrich Drepper  <drepper@redhat.com>
70276             H.J. Lu  <hongjiu.lu@intel.com>
70278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70280         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70281         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70282         _mm_alignr_epi8 with _mm_loadu_si128.
70283         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70284         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70285         (__m128i_shift_right): Removed.
70286         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70287         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70288         * sysdeps/x86_64/multiarch/varshift.h: New file.
70289         * sysdeps/x86_64/multiarch/varshift.S: New file.
70291 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70293         * configure.in: Move assembler checks to before sysdep dir checking.
70295 2010-08-20  Petr Baudis  <pasky@suse.cz>
70297         * LICENSES: Sync the sunrpc license.
70299 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70301         * sunrpc/auth_des.c: Update copyright notice once again.
70302         * sunrpc/auth_none.c: Likewise.
70303         * sunrpc/auth_unix.c: Likewise.
70304         * sunrpc/authdes_prot.c: Likewise.
70305         * sunrpc/authuxprot.c: Likewise.
70306         * sunrpc/bindrsvprt.c: Likewise.
70307         * sunrpc/clnt_gen.c: Likewise.
70308         * sunrpc/clnt_perr.c: Likewise.
70309         * sunrpc/clnt_raw.c: Likewise.
70310         * sunrpc/clnt_simp.c: Likewise.
70311         * sunrpc/clnt_tcp.c: Likewise.
70312         * sunrpc/clnt_udp.c: Likewise.
70313         * sunrpc/clnt_unix.c: Likewise.
70314         * sunrpc/des_crypt.c: Likewise.
70315         * sunrpc/des_soft.c: Likewise.
70316         * sunrpc/get_myaddr.c: Likewise.
70317         * sunrpc/getrpcport.c: Likewise.
70318         * sunrpc/key_call.c: Likewise.
70319         * sunrpc/key_prot.c: Likewise.
70320         * sunrpc/openchild.c: Likewise.
70321         * sunrpc/pm_getmaps.c: Likewise.
70322         * sunrpc/pm_getport.c: Likewise.
70323         * sunrpc/pmap_clnt.c: Likewise.
70324         * sunrpc/pmap_prot.c: Likewise.
70325         * sunrpc/pmap_prot2.c: Likewise.
70326         * sunrpc/pmap_rmt.c: Likewise.
70327         * sunrpc/rpc/auth.h: Likewise.
70328         * sunrpc/rpc/auth_unix.h: Likewise.
70329         * sunrpc/rpc/clnt.h: Likewise.
70330         * sunrpc/rpc/des_crypt.h: Likewise.
70331         * sunrpc/rpc/key_prot.h: Likewise.
70332         * sunrpc/rpc/netdb.h: Likewise.
70333         * sunrpc/rpc/pmap_clnt.h: Likewise.
70334         * sunrpc/rpc/pmap_prot.h: Likewise.
70335         * sunrpc/rpc/pmap_rmt.h: Likewise.
70336         * sunrpc/rpc/rpc.h: Likewise.
70337         * sunrpc/rpc/rpc_des.h: Likewise.
70338         * sunrpc/rpc/rpc_msg.h: Likewise.
70339         * sunrpc/rpc/svc.h: Likewise.
70340         * sunrpc/rpc/svc_auth.h: Likewise.
70341         * sunrpc/rpc/types.h: Likewise.
70342         * sunrpc/rpc/xdr.h: Likewise.
70343         * sunrpc/rpc_clntout.c: Likewise.
70344         * sunrpc/rpc_cmsg.c: Likewise.
70345         * sunrpc/rpc_common.c: Likewise.
70346         * sunrpc/rpc_cout.c: Likewise.
70347         * sunrpc/rpc_dtable.c: Likewise.
70348         * sunrpc/rpc_hout.c: Likewise.
70349         * sunrpc/rpc_main.c: Likewise.
70350         * sunrpc/rpc_parse.c: Likewise.
70351         * sunrpc/rpc_parse.h: Likewise.
70352         * sunrpc/rpc_prot.c: Likewise.
70353         * sunrpc/rpc_sample.c: Likewise.
70354         * sunrpc/rpc_scan.c: Likewise.
70355         * sunrpc/rpc_scan.h: Likewise.
70356         * sunrpc/rpc_svcout.c: Likewise.
70357         * sunrpc/rpc_tblout.c: Likewise.
70358         * sunrpc/rpc_util.c: Likewise.
70359         * sunrpc/rpc_util.h: Likewise.
70360         * sunrpc/rpcinfo.c: Likewise.
70361         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70362         * sunrpc/rpcsvc/key_prot.x: Likewise.
70363         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70364         * sunrpc/rpcsvc/mount.x: Likewise.
70365         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70366         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70367         * sunrpc/rpcsvc/rex.x: Likewise.
70368         * sunrpc/rpcsvc/rstat.x: Likewise.
70369         * sunrpc/rpcsvc/rusers.x: Likewise.
70370         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70371         * sunrpc/rpcsvc/spray.x: Likewise.
70372         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70373         * sunrpc/rtime.c: Likewise.
70374         * sunrpc/svc.c: Likewise.
70375         * sunrpc/svc_auth.c: Likewise.
70376         * sunrpc/svc_authux.c: Likewise.
70377         * sunrpc/svc_raw.c: Likewise.
70378         * sunrpc/svc_run.c: Likewise.
70379         * sunrpc/svc_simple.c: Likewise.
70380         * sunrpc/svc_tcp.c: Likewise.
70381         * sunrpc/svc_udp.c: Likewise.
70382         * sunrpc/svc_unix.c: Likewise.
70383         * sunrpc/svcauth_des.c: Likewise.
70384         * sunrpc/xcrypt.c: Likewise.
70385         * sunrpc/xdr.c: Likewise.
70386         * sunrpc/xdr_array.c: Likewise.
70387         * sunrpc/xdr_float.c: Likewise.
70388         * sunrpc/xdr_mem.c: Likewise.
70389         * sunrpc/xdr_rec.c: Likewise.
70390         * sunrpc/xdr_ref.c: Likewise.
70391         * sunrpc/xdr_sizeof.c: Likewise.
70392         * sunrpc/xdr_stdio.c: Likewise.
70394         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70395         handling.
70397 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70399         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70401 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70403         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70404         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70405         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70406         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70407         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70408         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70409         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70410         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70411         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70412         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70413         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70414         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70415         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70416         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70418 2010-07-26  Anton Blanchard  <anton@samba.org>
70420         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70421         * malloc/arena.c (heap_trim): Likewise.
70423 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70425         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70426         here.  Not...
70427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70428         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70430 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70432         * sysdeps/i386/elf/Makefile: New file.
70434 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70436         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70437         from fanotify_init.
70438         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70441 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70443         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70444         of strncasecmp_l.
70445         * sysdeps/multiarch/strcmp.S: Likewise.
70447 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70449         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70450         strncase_l-nonascii.
70451         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70452         Add strncase_l-ssse3.
70453         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70454         * sysdeps/x86_64/strcmp.S: Likewise.
70455         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70456         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70457         * sysdeps/x86_64/strncase.S: New file.
70458         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70459         * sysdeps/x86_64/strncase_l.S: New file.
70460         * string/Makefile (strop-tests): Add strncasecmp.
70461         * string/test-strncasecmp.c: New file.
70463         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70464         warning.
70466         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70467         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70469 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70471         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70473 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70475         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70476         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70477         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70479 2010-05-01  Alan Modra  <amodra@gmail.com>
70481         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70482         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70483         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70484         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70485         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70486         tidying.  Don't tail-call __sigjmp_save for static lib.
70487         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70488         save location.
70489         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70490         (CALL_MCOUNT): Add eh info, and nop after bl.
70491         (TAIL_CALL_SYSCALL_ERROR): New macro.
70492         (PSEUDO_RET): Use it.
70493         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70494         Correct save location of integer regs and cr.
70495         (_dl_profile_resolve): Correct cr save location.  Delete nops
70496         after bl when SHARED.  Reduce cfi size a little by better
70497         placement of cfi directives.
70498         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70499         make a stack frame.  Instead use parm save area as a temp.
70500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70501         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
70503         Don't make a stack frame for parent, use parm save area.
70504         Increase child stack frame to 112 bytes.  Don't save unused reg,
70505         and adjust reg usage.  Set up cfi on error recovery and
70506         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
70507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
70508         (__makecontext): Add dummy nop after jump to exit.
70509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
70510         Use correct parm save area and cr save, reduce stack frame.
70511         Correct cfi for possible PSEUDO_RET frame setup.
70512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
70513         Branch to local label emitted by PSEUDO_RET rather than
70514         __syscall_error.
70516 2010-08-12  Andreas Schwab  <schwab@redhat.com>
70518         [BZ #11904]
70519         * locale/programs/locale.c (print_assignment): New function.
70520         (show_locale_vars): Use it.
70522 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
70524         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
70525         field.
70526         (struct statfs64): Likewise.
70527         (_STATFS_F_FLAGS): Define.
70528         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
70529         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70530         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
70531         (ST_VALID): Define locally.
70532         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
70533         __statvfs_getflags, use the provided value.
70534         * sysdeps/unix/sysv/linux/kernel-features.h: Define
70535         __ASSUME_STATFS_F_FLAGS.
70537         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
70539         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
70540         Add sys/fanotify.h.
70541         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
70542         fanotify_mask for GLIBC_2.13.
70543         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
70544         fanotify_init and fanotify_mark.
70545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70546         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
70548         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
70549         Add prlimit.
70550         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
70551         prlimit64 for GLIBC_2.13.
70552         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
70553         prlimit64.
70554         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
70555         syscall.
70556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
70557         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70558         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
70559         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
70560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
70561         add prlimit alias.
70562         * sysdeps/unix/sysv/linux/prlimit.c: New file.
70564         [BZ #11903]
70565         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
70566         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
70568         * nss/Makefile: Add rules to build and run tst-nss-test1.
70569         * shlib-versions: Add entry for libnss_test1.
70570         * nss/nss_test1.c: New file.
70571         * nss/tst-nss-test1.c: New file.
70573         * nss/nsswitch.c (__nss_database_custom): Define new variable.
70574         (__nss_configure_lookup): Set appropriate entry in
70575         __nss_configure_lookup to true.
70576         * nss/nsswitch.h: Define enum with indeces of databases in
70577         databases and __nss_database_custom arrays.  Declare
70578         __nss_database_custom.
70579         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
70580         to avoid using nscd when custom rules are installed.
70581         * nss/getXXbyYY_r.c: Likewise.
70582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
70584         * nss/nss_files/files-parse.c: Whitespace fixes.
70586 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
70588         [BZ #11883]
70589         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
70590         * posix/fnmatch_loop.c: Likewise.
70592 2010-07-17  Andi Kleen  <ak@linux.intel.com>
70594         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
70595         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
70596         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
70597         * Versions.def [GLIBC_2.13]: Add.
70599 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
70601         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70602         Also fail if tpwd after pwuid call is NULL.
70604 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70606         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
70607         when converting to ms.
70609 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70611         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
70612         EOPNOTSUPP errors with ENOTTY.
70613         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
70614         EOPNOTSUPP errors with ENOTTY.
70616 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
70618         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70619         Add strcasecmp_l-ssse3.
70620         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
70621         strcasecmp.
70622         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
70623         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
70624         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
70626 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
70628         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
70630         * string/Makefile (strop-tests): Add strcasecmp.
70631         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70632         strcasecmp_l-nonascii.
70633         (gen-as-const-headers): Add locale-defines.sym.
70634         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
70635         * sysdeps/x86_64/strcasecmp.S: New file.
70636         * sysdeps/x86_64/strcasecmp_l.S: New file.
70637         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
70638         * sysdeps/x86_64/locale-defines.sym: New file.
70639         * string/test-strcasecmp.c: New file.
70641         * string/test-strcasestr.c: Test both ends of the range of characters.
70642         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
70644 2010-07-29  Roland McGrath  <roland@redhat.com>
70646         [BZ #11856]
70647         * manual/locale.texi (Yes-or-No Questions): Fix example code.
70649 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
70651         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
70652         for ld.so.
70654 2010-07-27  Andreas Schwab  <schwab@redhat.com>
70656         * manual/memory.texi (Malloc Tunable Parameters): Document
70657         M_PERTURB.
70659 2010-07-26  Roland McGrath  <roland@redhat.com>
70661         [BZ #11840]
70662         * configure.in (-fgnu89-inline check): Set and substitute
70663         gnu89_inline, not libc_cv_gnu89_inline.
70664         * configure: Regenerated.
70665         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
70667 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
70669         * string/test-strnlen.c: New file.
70670         * string/Makefile (strop-tests): Add strnlen.
70671         * string/tester.c (test_strnlen): Add a few more test cases.
70672         * string/tst-strlen.c: Better error reporting.
70674         * sysdeps/x86_64/strnlen.S: New file.
70676 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
70678         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
70679         lower-latency instructions.
70681 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
70683         * string/test-strcasestr.c: New file.
70684         * string/test-strstr.c: New file.
70685         * string/Makefile (strop-tests): Add strstr and strcasestr.
70686         * string/str-two-way.h: Don't undefine MAX.
70687         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
70689 2010-07-21  Andreas Schwab  <schwab@redhat.com>
70691         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70692         strcasestr-nonascii.
70693         (CFLAGS-strcasestr-nonascii.c): Define.
70694         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
70695         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
70696         Remove unused attribute.
70698 2010-07-20  Roland McGrath  <roland@redhat.com>
70700         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
70701         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
70702         ld.so.cache was broken.  With it, there is no way to disable dsocaps
70703         like LD_HWCAP_MASK can disable hwcaps.
70705 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70707         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
70709 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
70711         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
70712         call in strcasestr.
70713         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
70714         __strcasestr_sse42_nonascii.
70715         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
70716         strcasestr-nonascii.c.
70717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
70719 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
70721         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
70722         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
70723         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
70724         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
70726 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
70728         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
70729         fcntl.
70731 2010-07-06  Andreas Schwab  <schwab@redhat.com>
70733         [BZ #11577]
70734         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
70735         dl_signal_cerror.
70737 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
70739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
70740         _PC_PIPE_BUF using F_GETPIPE_SZ.
70742 2010-07-05  Roland McGrath  <roland@redhat.com>
70744         * manual/arith.texi (Rounding Functions): Fix rint description
70745         implicit in round description.
70747 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
70749         * elf/Makefile: Fix linking for a few tests to make recent linker
70750         happy.
70752 2010-06-30  Andreas Schwab  <schwab@redhat.com>
70754         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
70755         $(common-objpfx)libc_nonshared.a.
70757 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
70759         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
70760         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
70761         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70762         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70763         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
70764         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
70765         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70766         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
70768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
70769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
70770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
70771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
70772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
70773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
70774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
70775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
70776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
70777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
70778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
70779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
70780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
70781         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
70782         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
70783         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
70784         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
70785         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
70786         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
70787         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
70788         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
70789         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
70790         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
70791         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
70792         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
70793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
70794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
70795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
70796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
70797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
70798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
70799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
70800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
70801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
70802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
70803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
70804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
70805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
70806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
70808 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
70810         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
70811         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
70812         * string/memmove.c (memmove): Renamed to ...
70813         (MEMMOVE): ...this.  Default to memmove.
70814         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
70815         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
70816         (END_CHK): Define.
70817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70818         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
70819         mempcpy-ssse3-back memmove-ssse3-back.
70820         * sysdeps/x86_64/multiarch/bcopy.S: New file .
70821         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
70822         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
70823         * sysdeps/x86_64/multiarch/memcpy.S: New file.
70824         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
70825         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
70826         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
70827         * sysdeps/x86_64/multiarch/memmove.c: New file.
70828         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
70829         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
70830         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
70831         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
70832         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
70833         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
70834         Define.
70835         (index_Fast_Copy_Backward): Define.
70836         (HAS_ARCH_FEATURE): Define.
70837         (HAS_FAST_REP_STRING): Define.
70838         (HAS_FAST_COPY_BACKWARD): Define.
70840 2010-06-21  Andreas Schwab  <schwab@redhat.com>
70842         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
70843         Restore proper fallback handling.
70845 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
70847         [BZ #11701]
70848         * posix/group_member.c (__group_member): Correct checking loop.
70850         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
70851         OOM in getpwuid_r correctly.  Return error number when the caller
70852         should return, otherwise -1.
70853         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
70854         call returning > 0 value.
70855         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
70857 2010-06-07  Andreas Schwab  <schwab@redhat.com>
70859         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
70860         libc_nonshared.a from targets in modules-names.
70862 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
70864         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
70865         requires it.
70867 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
70869         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
70870         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
70871         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
70872         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
70874 2010-06-02  Andreas Schwab  <schwab@redhat.com>
70876         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
70878 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
70880         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
70881         and F_GETPIPE_SZ.
70882         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70883         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70884         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70885         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70886         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70887         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
70889 2010-06-14  Roland McGrath  <roland@redhat.com>
70891         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
70893 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
70895         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
70896         __REDIRECT followed by __THROW.
70897         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
70898         * posix/getopt.h (getopt): Likewise.
70900 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
70902         * hurd/lookup-at.c (__file_name_lookup_at): Accept
70903         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
70904         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
70905         in AT_FLAGS.
70906         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
70907         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
70909 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
70911         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
70913 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
70915         [BZ #11640]
70916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70917         Properly check family and model.
70919 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
70921         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
70923 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
70925         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
70927 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
70929         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
70930         symbol reference.
70932 2010-05-19  Andreas Schwab  <schwab@redhat.com>
70934         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
70935         symbol reference.
70937 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70939         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70940         and internal_recvmmsg.
70941         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70942         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70943         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70944         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70946         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70947         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70948         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70950 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70952         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70954 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70956         POWER7 optimizations.
70957         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70958         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70960 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70962         * version.h: Update for 2.13 development version.
70964 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70966         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70967         exceptions.  Return 0.
70969 2010-05-07  Roland McGrath  <roland@redhat.com>
70971         * elf/ldconfig.c (main): Add a const.
70973 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70975         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70976         (args_options): Add no-idn option.
70977         (ahosts_keys_int): Add idn_flags to ai_flags.
70978         (parse_option): Handle 'i' option to clear idn_flags.
70980         * malloc/malloc.c (_int_free): Possible race in the most recently
70981         added check.  Only act on the data if no current modification
70982         happened.
70984 See ChangeLog.17 for earlier changes.